What problem does it solve?
This Skill removes mechanical clutter from a branch diff after the work is already functionally complete, helping a codebase stay smaller, clearer, and easier to review.
Core Features & Use Cases
- Mechanical cleanup: Deletes dead code, duplicated logic, over-abstraction, commented-out code, and placeholder stubs.
- Structure-aware review: Applies a code-structure pass to catch mixed abstraction levels, orchestration leakage, and oversized files.
- Safe verification loop: Re-runs the configured test command, records the verdict, and either continues with the branch or reverts changes when tests fail.
- Use case: After a feature branch passes tests, use this Skill to simplify the diff without changing public APIs or adding new behavior.
Quick Start
Use the simplify skill to clean the current branch diff, re-run the project tests, and report whether the cleanup passed or had to be reverted.