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.

referencesoperability-and-production-behaviordelivery-mechanics-and-quality-support-the-intended-architecture.md

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

Delivery mechanics and quality support the intended architecture

Build and delivery behavior is reproducible, quality gates check meaningful risks, and tooling reinforces the architectural shape instead of undermining it.

Code quality does not end at source files. The surrounding delivery mechanics and tooling either reinforce maintainable design or quietly erode it. Reproducible build and delivery, meaningful quality gates, and tooling that supports the intended architecture belong together because they determine whether the wider development system protects the same qualities the code review is trying to preserve.

Strong signs include builds that do not depend on hidden machine-local state, automated checks that catch failures the team actually cares about, and tooling or templates that make the preferred architectural path easier than the harmful one. Weak signs include fragile build steps that only work in one shell, gates that optimize for cosmetic compliance over real risk, and tooling that nudges contributors into bypassing boundaries, copying patterns blindly, or fighting the intended module structure.

This symptom matters because maintainability is shaped by repeated daily pressure. If the toolchain rewards the wrong behavior, the architecture will drift no matter how good individual reviews are. Review this lens by asking whether the change improves or degrades the surrounding mechanics that keep code healthy, reproducible, and aligned with the system's intended design.

Examples

Bad

developer builds checkout with workstation dependencies
developer skips failing architecture and behavior checks
developer copies the locally built payment service to production
production runs an unverified artifact with a new boundary violation

Good

pipeline restores locked dependencies in an isolated environment
pipeline builds the payment service from the reviewed commit
pipeline requires behavior, security, and architecture checks to pass
pipeline records the immutable artifact digest
pipeline promotes that exact artifact 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