Skip to content
Back to skills

Principle Subtract Before You Add

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 27, 2026
code-quality

Works with

  • cursor

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add raulduk3/raspy-dev-public --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/raulduk3-principle-subtract-before-you-add/badge)](https://www.skillsdirectory.com/skills/raulduk3-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: "Apply when sequencing an addition, refactor, or rewrite. Remove dead code, redundant validators, and stub references first, then build on the simpler base."
disable-model-invocation: true
---

> **On this platform.** This is pstack's `principle-subtract-before-you-add` skill (MIT, Lauren Tan; the unmodified source is in `vendor/pstack`). Read [the platform map](../../docs/pstack-platform.md) (installed: `/opt/dev-platform/current/docs/pstack-platform.md`) once per session: it says what the Cursor tools named here are on this machine, and which steps the guard hook leaves to the owner.

# 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

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.

View all in code-quality →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.