
principle-subtract-before-you-add
Apply when sequencing an addition, refactor, or rewrite
by cursorFree
Description
principle-subtract-before-you-add is an agent skill from Cursor's plugins collection that applies a working principle when a system is being evolved: remove complexity first, then build. It defaults to subtraction and asks that simplification be a continual investment, so that the design is left slightly simpler and more capable behind the same or a smaller public surface than it was found. Before adding a feature, refactor or rewrite, the agent should remove dead code, redundant validators and stub references, and then build on the simpler base. The guidance is to cut before polishing, so the minimum is reached before quality work is invested. It also says to design for observed usage rather than speculative edge cases, to avoid validators, parsers or guards that the specification does not demand, and to simplify prompts by removing redundant instructions and excessive templates. When a reference document has no novel content, the principle says to delete it rather than leave a stub behind. The principle is useful for teams whose codebase has grown by accretion and where each new change adds more code around older code. It is listed on skills.sh, where the page shows install counts and GitHub stars for the Cursor plugins repository, and its Gen Agent Trust Hub, Socket and Snyk audits pass. Install it with npx skills add https://github.com/cursor/plugins --skill principle-subtract-before-you-add.…
Highlights
- Remove complexity before building
- Continual simplification
- Delete dead code and stub references
- Design for observed usage
- No speculative validators
- Installs from skills.sh
Ratings & Reviews
No ratings yet
Be the first to rate principle-subtract-before-you-add.
People also visit

code-refactoring-refactor-clean
You are a code refactoring expert specializing in clean code principles
principle-subtract-before-you-add FAQ
What does the principle ask first?
To remove dead code, redundant validators and stub references before adding anything.
Should I delete an empty reference?
Yes. When a reference has no novel content, the skill says to delete it rather than leave a stub.
What about speculative guards?
The skill advises against validators, parsers or guards beyond what the specification demands.
How do I install it?
Run npx skills add https://github.com/cursor/plugins --skill principle-subtract-before-you-add.
What are the security audit results?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
How popular is it?
The page shows about 3.6K installs, and the cursor/plugins repository has 11.4K GitHub stars.
What are the best principle-subtract-before-you-add alternatives?
Popular alternatives to principle-subtract-before-you-add include ce-simplify-code, code-refactoring-refactor-clean and code-simplify. See all principle-subtract-before-you-add alternatives















