Principle Subtract Before You Add
Remove dead code and unnecessary complexity before adding or rewriting new features. Focus on simplification and leaving the system slightly more capable with the same or smaller API.
Editor's Note
Before applying this principle, ensure that the system's current state is fully understood, and that any removals do not impact existing functionality. Start by identifying and removing unused or redundant code.
When to Use It
- Refactoring legacy codebases to remove dead code
- Simplifying complex APIs before adding new endpoints
- Reducing redundant instructions in prompts or templates
- Streamlining software architecture by eliminating unused components
SKILL.md
SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use
---
name: principle-subtract-before-you-add
description: Before adding or rewriting, remove dead code first.
disable-model-invocation: true
---
# Subtract Before You Add
When evolving a system, remove complexity first, then build. Default to subtraction.
Make simplification a continual investment. Leave the design slightly simpler and more capable behind the same or smaller API than you found it.
- Sequence removal before construction
- Cut before you polish (get to the minimum before investing in quality)
- Design for observed usage, not speculative edge cases
- No speculative validators, parsers, or guards beyond what the spec demands
- Simplify prompts (remove redundant instructions, excessive templates)
- When a reference has no novel content, delete it rather than leaving a stub
Community Reviews & Field Notes
Tried this skill on your own project? Share the model you used and the results you got.