Skip to content
Back to skills

Principle Subtract Before You Add

ASecurity

Remove dead code and redundant structure before adding behavior.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 1, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 1, 2026

npx -y skills add williamwue/oh-my-stack --skill principle-subtract-before-you-add --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Principle Subtract Before You Add?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Principle Subtract Before You Add
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/williamwue-principle-subtract-before-you-add/badge)](https://www.skillsdirectory.com/skills/williamwue-principle-subtract-before-you-add)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: principle-subtract-before-you-add
description: "Remove dead code and redundant structure before adding behavior."
---

# 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

Files in this skill

  • SKILL.md972 B
  • agents/openai.yaml269 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…