Skip to content

feat(subtract-before-you-add): add subtract-before-you-add skill plugin - #71

Open
yifu001 wants to merge 1 commit into
Factory-AI:masterfrom
yifu001:feat/subtract-before-you-add
Open

yifu001 wants to merge 1 commit into
Factory-AI:masterfrom
yifu001:feat/subtract-before-you-add

Conversation

@yifu001

@yifu001 yifu001 commented Oct 29, 2026

Copy link
Copy Markdown

Part of a 10-PR series contributing the agent-guardrail skill stack (prove-it-works, blast-radius, fix-root-causes, subtract-before-you-add, correct, interrogate, show-me-your-work, create-verification-skill, maintain-verification-skill, property-based-testing). Each PR is independent, adds exactly one single-skill plugin, and can be reviewed and merged in any order; adjacent additions to marketplace.json / README.md may show trivial conflicts with sibling PRs.

What

Adds the subtract-before-you-add plugin: a simplification guardrail that sequences removal before construction when evolving a system — remove dead code, redundant validators, and stub references first, then build on the simpler base.

Why

The marketplace ships code-review, security, and runtime-verification guardrails (droid-control's /verify), but nothing covering behavioral verification discipline for the agent itself. This stack was built and battle-tested in a hackathon repo's quality gates; we are contributing it back.

Provenance and license

Adapted from the pstack skills by Lauren Tan (cursor/plugins, MIT License, commit c742dd6), with Cursor-specific machinery removed and Droid conventions applied. Made model-invocable so Droid applies it proactively.

Checklist

  • Plugin under plugins/subtract-before-you-add/ with .factory-plugin/plugin.json
  • Skill directory symlinked into skills/ (per the check-skills CI)
  • .factory-plugin/marketplace.json entry added
  • README "Available Plugins" section added
  • No name collision with existing marketplace skills or Droid built-in skills

Simplification guardrail: sequence removal before construction when
evolving a system; build on the simpler base.

Adapted from the pstack skills (MIT, (c) Lauren Tan,
https://github.com/cursor/plugins), Cursor-specific tooling removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant