code-discipline
Installation
SKILL.md
Code Discipline
Rules for writing clean, minimal, production-grade code. These apply to every code change — no exceptions.
1. Change Only What's Asked
Touch only the code necessary to complete the request. Do not:
- Refactor surrounding code that "could be better"
- Add docstrings, type annotations, or comments to untouched code
- Rename variables you didn't introduce
- "Improve" imports, formatting, or style outside your change
If existing code has problems, mention them — don't fix them silently.
2. No Speculative Code
Write code for current requirements, not hypothetical futures. Do not:
- Add error handling for scenarios that cannot occur
Related skills