# Subtract Before Add

> Use when tempted to add layers — remove dead weight first, then ship the smallest complete change.

- Skill: `shixuuu/subtract-before-add` (Agent Skill)
- Install (CLI): `npx get-skill add shixuuu/subtract-before-add`
- Raw SKILL.md: https://api.skillmd.com/api/skills/shixuuu/subtract-before-add/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Shixuuu (https://skillmd.com/u/shixuuu)
- Updated: 2026-11-24
- Page: https://skillmd.com/skills/shixuuu/subtract-before-add

---


# Subtract before you add

Use when sizing a feature, refactor, rewrite, or “quick” abstraction.

## Bias

Deletion and the smallest change that solves the problem beat new layers, wrappers, and signal threading.

## Steps

1. What can we **remove** or stop doing that makes the problem smaller?
2. What’s the **minimal** data shape / API that still works?
3. Only then add. Prefer one clear path over compatibility forever.
4. Kill dead code agents would copy.

## Smell tests

- One-caller wrappers → collapse
- Hand-synced lists → one source of truth
- “Just in case” config → delete until needed
- New abstraction for a single use → don’t

## Reply

Say what you subtracted and why the remaining change is enough.

