# 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.

- Skill: `njs14/principle-subtract-before-you-add` (Agent Skill)
- Install (CLI): `npx skillmds@latest add njs14/principle-subtract-before-you-add`
- Raw SKILL.md: https://api.skillmd.com/api/skills/njs14/principle-subtract-before-you-add/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: njs14 (https://skillmd.com/u/njs14)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/njs14/principle-subtract-before-you-add

---


# Simplify before building

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

Apply [subtract before you add](../pkstack-principles/references/catalog.md#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.

