Principle Subtract Before You Add

by cursorccb5507cec15No license10K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

Apply when sequencing an addition, refactor, or rewrite. Remove dead code, redundant validators, and stub references first, then build on the simpler base.

Instructions onlySoftware Development
AI-generated overview

Guides sequencing of additions, refactors, and rewrites by removing dead code and redundant elements first.

What it does
This instruction-only skill describes a subtraction-first pattern for evolving systems. It advises removing dead code, redundant validators, parsers, guards, and stub references before building, and treating simplification as a continual investment. It produces guidance rather than files or code.
When to use it
Use it when sequencing an addition, refactor, or rewrite, or when a system has accumulated complexity that should be reduced before new work. It fits decisions about what to delete or simplify before investing in quality.
Requirements
No tools, packages, runtimes, credentials, or network access; it is instructions only and ships no scripts.

Subtract Before You Add

When evolving a system, remove complexity first, then build.

Why: Adding to a complex system compounds complexity. Removing first leaves less code, reveals the essential structure, and usually makes the next design obvious. Default to subtraction.

Make simplification a continual investment. Leave the design slightly simpler and more capable behind the same or smaller surface than you found it.

The pattern:

  • 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

Source and attribution

Source:cursor/pluginsinpstack/skills/principle-subtract-before-you-addat commitccb5507

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal