Giverny

Principle Subtract Before You Add

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

by backnotprop★ 5,529Code review & quality

What Principle Subtract Before You Add does

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

How to install Principle Subtract Before You Add in Claude Code

Giverny gives you a ready prompt with the exact install command from backnotprop/pstack. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone backnotprop/pstack and copy the skills/principle-subtract-before-you-add folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Principle Subtract Before You Add on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the principle-subtract-before-you-add skill on my current project.”

More Claude skills for code review & quality