clean-code
About clean-code
Write readable, maintainable code through disciplined naming, focused functions, and clean error handling. Use when the user mentions “code review”, “naming conventions”, “function too long”, “code smells”, “readable code”, “boy scout rule”, “single responsibility”, or “unit test quality”. Also trigger when reviewing pull requests for readability, refactoring messy functions, debating comment styles, or improving error handling patterns. Covers SRP, comment discipline, formatting, and unit testing. For refactoring techniques, see refactoring-patterns. For architecture, see clean-architecture
Install
Copy the command and run it in a terminal.
npx skills add https:/ / jd-solanki/ ai --skill clean-codeAfter installing, type/clean-codein Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/code-smells.mdcomments-formatting.mderror-handling.mdfunctions-and-methods.mdnaming-conventions.mdtesting-principles.md