with one click
code-quality
// Use when: writing, reviewing, refactoring, or designing code in any language, especially to evaluate simplicity, readability, naming, abstractions, error handling, maintainability, and code comments.
// Use when: writing, reviewing, refactoring, or designing code in any language, especially to evaluate simplicity, readability, naming, abstractions, error handling, maintainability, and code comments.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | code-quality |
| description | Use when: writing, reviewing, refactoring, or designing code in any language, especially to evaluate simplicity, readability, naming, abstractions, error handling, maintainability, and code comments. |
| user-invocable | false |
Correctness comes first. When efficiency differences are minor or theoretical, prefer readability and simplicity over clever or compressed code. When efficiency differences are large enough to matter in realistic usage, prioritize the more efficient approach while keeping the code as understandable as the constraints allow.
data, info, temp, result), excessive abbreviations (usr, mgr), verbose names that add noise, or names that don't match actual behavior. Names should convey purpose without reading the implementationComments explain WHY, not WHAT. If the code needs a comment to explain what it does, the code should be rewritten. Use the comments skill for detailed guidance on adding, removing, or updating comments and file headers.