Principle Subtract Before You Add

Remove dead paths, duplicate checks, stale references, and speculative surface area before adding or reshaping behavior in a complex area.

njs14 Updated

File contents

Simplify before building

Treat the request text that activated this skill as the addition or refactor to simplify first.

Apply subtract before you add. Inventory dead or duplicated behavior, remove it in a separately verifiable unit, then design the new behavior against the smaller surface. Do not add options or validators without an observed requirement. Return the subtraction, its proof, and the smaller addition it enabled.

njs14/pkstack/tree/main/.kiro/skills/principle-subtract-before-you-add commit b43b13ac39

Frequently asked questions

npx skillmds@latest add njs14/principle-subtract-before-you-add