code-simplification
Use after behavior is verified to simplify recently changed code for clarity and maintainability without changing product behavior, public contracts, or validated security/performance properties.
SKILL.md.agents/skills/code-simplification/SKILL.md
GitHubCode Simplification
- Operate only on recently changed scope unless explicitly asked broader.
- Preserve exact behavior and public contracts.
- Prefer explicit readable control flow over clever density.
- Remove accidental duplication and unnecessary abstraction; preserve abstractions that encode real boundaries.
- Avoid combining unrelated concerns or performing speculative refactors.
- Rerun the relevant fresh checks after simplification because prior evidence may be stale.