About clean-code
A skill for everyday code-quality decisions involving naming, functions, control flow, responsibilities, comments, errors, and tests. It directs users to apply a concise rule set first and consult a fuller reference when needed.
Key features
- 01Guidance on naming and small functions
- 02Readable control flow and responsibilities
- 03Advice on comments and error handling
- 04Testing considerations
- 05Short rules with a deeper reference
Use cases
- 01Reviewing implementation quality during coding tasks
- 02Improving code clarity and function boundaries
- 03Choosing how to handle errors and tests
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ ciembor/ agent-rules-books --skill clean-codeAfter installing, type/clean-codein Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
clean-code.mdclean-code.mini.mdclean-code.nano.mdDetails
From the project READMEClean Code Skill
Use this skill when a task involves everyday implementation quality, naming, small functions, readable control flow, responsibilities, comments, errors, or tests.
Before making design or code decisions, read and apply clean-code.mini.md. Use clean-code.md only as a deeper reference when the mini rules are not enough for the current code-quality tradeoff.
Comments
Markdown supported