Simplify
Use when a file or module has grown too complex — removes unnecessary abstractions, dead code, and over-engineering without changing behavior. Invoke after implementing a feature when the code feels over-engineered.From its SKILL.md
npx -y skills add latuconsinafr/claude-code-config --skill simplifyAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, 308 tokens by cl100k_base, as published. Nobody here has run it
Simplify
Simplify the code in $ARGUMENTS (file or module path).
If no argument — simplify the most recently edited file.
Guiding principle
The best code is code that doesn't exist. The second best is code that's obvious.
Spawn the refactoring agent
The refactoring agent handles the full simplification workflow: test baseline verification, blast radius checks, identifying complexity sources, proposing and applying changes one at a time, and re-running tests after each step.
Spawn it with the following task:
Target: <file or module path from $ARGUMENTS, or most recently edited file>
Goal: simplify — remove unnecessary abstractions, dead code, and over-engineering
without changing behavior
Constraint: behavior must be identical before and after each change
The agent will:
- Verify the test suite is green before starting
- Warn if on
main/masterbranch - Check blast radius for every symbol it considers removing
- Propose changes grouped by risk (safe / needs verification / out of scope)
- Ask for confirmation before applying
- Apply and re-run tests after each change, reverting on failure
After the agent completes
Review the agent's summary:
- All changes made and tests verified
- Any blocked changes (failed tests on attempt) — note these for a separate follow-up
- Deferred items (bugs or features noticed but not touched during refactor)
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.