Principle Subtract Before You Add skill: what it does and how to install it
Removes unnecessary complexity before additions or refactors, trimming dead code, redundant checks and empty references before building on a simpler base.
Summary generated from the skill's documentation.
Install
$ npx skills add backnotprop/pstack --skill principle-subtract-before-you-addRun it in a terminal. If your agent is already running, start a new session so it picks the skill up.
About this skill
What it does. Sequences system changes by removing dead code, redundant validators, stub references and other unnecessary complexity before adding or polishing anything. It favours observed usage over speculative edge cases, simplifies prompts, and deletes references with no novel content rather than preserving empty stubs.
When to use it. Apply when planning an addition, refactor or rewrite, especially when deciding whether validation, guards, templates or references are still needed. It keeps the resulting design at the same or smaller surface area.
History
Repo stars
2.8k
Tracking since . A chart appears once there are 7 days of data.
Stars are counted for the whole repository, which holds 20 skills.
Installs
5.3k
Tracking since . A chart appears once there are 7 days of data.
Installs via skills.sh
Similar skills
- Migrate Radix to Base UIMigrates React projects and components from Radix UI to Base UI, including shadcn projects.
- Code SimplificationRefactors working code so it is easier to read, maintain and extend, without changing its behaviour.
- Source-Driven DevelopmentChecks every implementation decision against official documentation, so the code cites its sources and avoids outdated patterns.