Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .factory-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@
"description": "Pull request lifecycle skills: create PRs with consistent conventions and follow up on them until merge-ready",
"source": "./plugins/code-review",
"category": "productivity"
},
{
"name": "subtract-before-you-add",
"description": "Simplification guardrail: sequence removal before construction when evolving a system",
"source": "./plugins/subtract-before-you-add",
"category": "quality"
}
]
}
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ Skills for continuous learning and improvement.

Autonomous experiment loop for optimization research. Try an idea, measure it, keep what works, discard what doesn't, repeat. Works standalone or as a mission worker.

### subtract-before-you-add

Simplification guardrail: when evolving a system, remove complexity first, then build.

**Skills:**

- `subtract-before-you-add` - Remove dead code, redundant validators, and stub references first, then build on the simpler base

## Plugin Structure

Each plugin follows the Factory plugin format:
Expand Down
8 changes: 8 additions & 0 deletions plugins/subtract-before-you-add/.factory-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "subtract-before-you-add",
"description": "Simplification guardrail: sequence removal before construction when evolving a system",
"author": {
"name": "yifu zuo",
"email": "yzuo.2019@gmail.com"
}
}
9 changes: 9 additions & 0 deletions plugins/subtract-before-you-add/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# subtract-before-you-add

Simplification guardrail: when evolving a system, remove complexity first, then build.

**Skills:**

- `subtract-before-you-add` - Remove dead code, redundant validators, and stub references first, then build on the simpler base

Adapted from the pstack skills by Lauren Tan ([cursor/plugins](https://github.com/cursor/plugins), MIT License), with Cursor-specific tooling removed and Droid conventions applied.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: 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."
---

# Subtract Before You Add

When evolving a system, remove complexity first, then build. 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.

- 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
1 change: 1 addition & 0 deletions skills/subtract-before-you-add