Index of every page on this site: llms.txt
All skills
meza avatar

/clean-code

@982e21e
by mezameza/skills2 stars
Run it yourself

Use when designing, writing, refactoring, reviewing, or explaining code, tests, APIs, modules, or architecture. Provides a progressive catalog of clean-code qualities covering comprehension, domain modeling, state and failure behavior, boundaries, evolvability, operability, safety, and test design.

Use this Skill: https://skilld.dev/gh/meza/skills/clean-code

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencestest-placement-and-isolationsmoke-tests-are-broad-shallow-and-release-gating.md

≈406 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Smoke tests are broad, shallow, and release-gating

Smoke tests quickly determine whether a build, deployment, or environment is healthy enough for deeper testing or use.

Smoke tests are not regression suites. They should answer whether the application starts, is reachable, is configured well enough to perform its core role, and has not obviously broken its most critical path. Strong signs include fast checks after deployment, basic reachability, real readiness rather than superficial liveness, core dependency connectivity, safe idempotent behavior, and failure that stops more expensive pipeline stages. Weak signs include smoke suites that take so long they become miniature regression suites, checks that only prove a process is alive while the product is unusable, tests that mutate shared state unsafely, and smoke results that are ignored by delivery. This symptom matters because smoke tests are the pipeline's early warning system. Review should ask whether the smoke suite is small enough to trust and meaningful enough to block waste.

Examples

Bad

deploy checkout-api to staging
run the four-hour checkout regression suite
test every coupon boundary and payment retry sequence
record smoke failures but continue the pipeline
promote the staging release to production

Good

deploy checkout-api to staging
assert readiness reports database and payment gateway ready
assert a shopper can sign in
assert a shopper can place one idempotent test order
assert the order can be read back
if any assertion fails, stop the release
promote the staging release to production

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts28d3 checks · Risk SAFE
  • Gen Agent Trust Hub28d

    The skill 'clean-code' is a comprehensive educational catalog of software engineering principles and clean-code qualities. It provides structured guidance and pseudocode examples to help AI agents reason about code quality, security, and maintainability. No malicious code, hidden instructions, or security risks were identified during the analysis.

  • Socket28d

    No alerts

  • Snyk28d

    Risk: LOW · No issues

Signed by skilld at 982e21e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated 3 months ago

README badge

README badge for meza/skills/clean-code