code-cleaning
Installation
SKILL.md
Clean Code is a reader's gift — refactor for the next developer, not the compiler.
Boy Scout Rule: Leave the code cleaner than you found it. Every change is an opportunity to improve.
Modes
| Mode | Scope | When |
|---|---|---|
| Staged (default) | git diff --cached |
Pre-commit cleanup |
| Full-file | Any file (no staging required) | Deeper refactoring session |
Announce mode: "Cleaning in [mode]. Override?"
Pre-flight Checks
Before any transformation: