Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Simplify recently changed code — inline one-off abstractions, remove speculative code, reduce nesting, replace cleverness with clarity. Use only on explicit request or PR-review remediation.
.claude/skills/kdlbs-simplify/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-06 | ✗→✓ | ▲ Improved | -17% | 0% |
| case-22 | ✓→✗ | ▼ Worse | -54% | 0% |
| case-07 | ✓→✓ | = Same ✓ | -17% | 0% |
| case-08 | ✓→✓ | = Same ✓ | -20% | 0% |
| case-09 | ✓→✓ | = Same ✓ | -40% | 0% |
Post-implementation simplification pass. Review recently changed code and actively simplify it while preserving all behavior.
Run /simplify only on explicit request or when an actionable PR finding calls for it. It is not a default post-implementation or pre-PR pass.
The best code is code you don't have to write. The second best is code anyone can read.
Run git diff --name-only (or git diff origin/<base>...HEAD --name-only for a branch) to get the changed files. Read each one.
Work through each changed file. Preserve behavior by inspection; defer broad test suites, lint, typecheck, and full verification until after this pass. Report any verification concerns and the focused task check to run next.
Inline one-off abstractions:
Remove speculative code:
Reduce nesting:
Replace cleverness with clarity:
Remove noise:
// increment counter above counter++)After the simplification pass, run the focused task check affected by the change. If anything breaks, the simplification changed behavior and must be corrected before continuing. Broad suites remain deferred unless the task or user explicitly requires them.
Report what was simplified:
Other measured skills in the registry, with their headline benchmark lift.