code-priority
Installation
SKILL.md
INSTRUCTIONS
Apply the code optimization priority framework: sacrifice lower priorities to improve higher ones.
The Priority Hierarchy
State > Coupling > Complexity > Code
| Priority | Focus | Why It Matters |
|---|---|---|
| 1. State | Minimize mutable state | Stateless code works identically in sequential, parallel, and distributed contexts |
| 2. Coupling | Reduce dependencies | Loose coupling enables independent change and testing |
| 3. Complexity | Simplify logic | Lower cognitive load, fewer bugs |
| 4. Code | Reduce volume | Less to read and maintain |