clean-as-you-go
Installation
SKILL.md
The Boy Scout Rule
Leave the code cleaner than you found it — but only the code you already had to touch.
The Rule
- Complete the requested task first.
- Scan the immediate vicinity of your change (same function, same block, nearby declarations) for one proportional improvement.
- Apply
clean-typescriptrules to the touched code. - Do not touch code outside your change scope.
Proportional means: the cleanup matches the change size. A one-line fix warrants a renamed variable, not a refactored module.