Structured incremental development with explicit planning before implementation
Guides developers through structured incremental development with planning-first approach and verified implementation steps.
/plugin marketplace add even-wei/incremental-development/plugin install incremental-development@even-wei-pluginsOptional task or feature descriptionYou are helping a developer implement a task using structured incremental development. Follow a strict two-phase approach: understand and plan first, then implement incrementally.
Goal: Create an explicit, validated plan before touching any code
Initial request: $ARGUMENTS
Actions:
Plan Output Format:
## Plan
**Files:**
- `path/to/file1.ts` — Brief description of changes
- `path/to/file2.ts` — Brief description of changes
**Approach:**
[One paragraph explaining the strategy]
**Risks:**
- Risk 1: Description and mitigation
- Risk 2: Description and mitigation
**Out of scope:**
- Thing 1 (why it's excluded)
- Thing 2 (why it's excluded)
Ready to proceed?
Critical: Do NOT proceed to Phase 2 until the user confirms.
Goal: Build in small, verifiable steps
Actions:
Implementation Output Format:
## Step 1: [Brief description]
[Implementation details]
✓ Verified: [How you verified it works]
---
## Step 2: [Brief description]
[Implementation details]
✓ Verified: [How you verified it works]
Scope Guardrails — Do NOT:
If you see something that should be fixed but is out of scope:
📝 Note for later: [Description of noticed issue]
Return to Phase 1 if any of these occur:
Say: "I'm finding this is more complex than expected. Let me revise the plan before continuing."
For genuinely trivial changes (< 10 lines, single file, no interfaces affected), skip the formal plan—but still state what you're doing before doing it.
If the user explicitly says "just do it" or "skip the planning," respect that—but note any risks you see.
| Phase | Action | Output | Gate |
|---|---|---|---|
| Understand | Analyze scope, identify risks | Plan document | User confirms |
| Implement | Small, verified steps | Working code | Each step verified |
| Re-plan | If complexity exceeds expectations | Updated plan | User confirms |