simplify
Installation
SKILL.md
Simplify
Reduce complexity while preserving exact behavior. The goal is not fewer lines — it's code that is easier to read, understand, and modify. Every simplification must pass: "Would a new contributor understand this faster than the original?"
Do not simplify code you don't understand yet, code that is already clean, or code you're about to rewrite entirely.
Workflow
1. Understand before touching (Chesterton's Fence)
Before changing or removing anything, apply Chesterton's Fence from principles.
2. Identify opportunities
Each smell maps to one named move — name it in the commit subject to keep one transformation per commit. When two moves fit equally or none fits cleanly, extract function is the honest fallback; a move applied because it pattern-matches produces a worse diff than no move at all.