Skip to content
Back to skills

Principle Subtract Before You Add

ASecurity

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

  • 25 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
ai-agentsrailssecurity

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add watt-mind/factory --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/watt-mind-principle-subtract-before-you-add/badge)](https://www.skillsdirectory.com/skills/watt-mind-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 weight, redundant validators, and stub references first, then build on the simpler base."
disable-model-invocation: true
---

# Subtract Before You Add

Remove dead code, unused flags, duplicate helpers, and obsolete stubs before adding new behavior, so the new logic sits on a clean base.

## Guardrails

- Do not remove security/auth guards, boundary validators, or fail-closed preflight checks under the guise of simplification.
- Do not delete incomplete data records or required schema fields that represent honest gaps.

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 ai-agents →

Comments

Loading comments…

Newsletter

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