clean-code
Installation
SKILL.md
Clean Code Principles
Use these when you write, review, or refactor code.
Treat these as directional principles. Where a repo's established precedent or a language's own idioms conflict with a rule here, follow the local convention and match the surrounding code.
1. Naming & Readability
1.1 Avoid Disinformation
Never use variable names that create false expectations, contain misleading technical terms, or use visually confusing characters.
Do:
- Use names that honestly reflect the data structure (
accountsMap,accountsGroup). - Use distinct names for classes/variables so autocomplete doesn't trick you.