.wai/resources/agent-config/skills/iterate-plan/SKILL.md
Update an existing implementation plan based on feedback, grounded in codebase reality. Makes surgical edits while preserving completed work.
npx skillsauth add charly-vibes/wai iterate-planInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Update an existing implementation plan based on feedback, grounded in codebase reality.
Three scenarios:
plans/)Listen carefully to what the user wants:
Ask clarifying questions if unclear:
Only if changes require new technical understanding:
Use parallel research when possible - run multiple searches/reads simultaneously.
Skip research if:
Before making changes, confirm with the user:
Based on your feedback, I understand you want to:
- [Change 1 with specific detail]
- [Change 2 with specific detail]
[If research was done:]
My research found:
- [Relevant code pattern or constraint]
- [Relevant existing implementation]
I plan to update the plan by:
1. [Specific modification to plan section X]
2. [Specific modification to plan section Y]
Does this align with your intent?
Wait for confirmation before proceeding.
Ensure consistency:
Use Edit tool for surgical changes:
I've updated the plan at `plans/[filename].md`
**Changes made:**
1. [Specific change 1 - section affected]
2. [Specific change 2 - section affected]
3. [Specific change 3 - section affected]
**Why these changes:**
[Brief rationale tying back to user's feedback]
**Impact:**
- [How this affects implementation effort, time, or approach]
- [Any new risks or dependencies]
Would you like any further adjustments?
If user has more feedback:
User feedback: "We also need to add API caching"
Process:
User feedback: "Let's use Redis instead of in-memory caching"
Process:
User feedback: "The authentication phase is too vague"
Process:
User feedback: "Let's skip the admin UI for now"
Process:
User feedback: "Phase 3 is too large, can we break it up?"
Process:
User feedback: "That approach won't work with our auth system"
Process:
If the plan needs >50% rewrite:
After reviewing your feedback and the codebase, I believe the current plan needs substantial restructuring rather than iteration.
Issues:
- [Fundamental issue 1]
- [Fundamental issue 2]
Recommendation: Create a new plan incorporating:
- [What to preserve]
- [What to change]
Would you like me to create a new plan, or should I attempt to salvage this one?
Your requested change [X] conflicts with existing Phase [N] which does [Y].
Options:
1. Modify Phase [N] to accommodate new change (impacts: ...)
2. Add new phase before/after [N] (impacts: ...)
3. Replace Phase [N] entirely (impacts: ...)
Which approach do you prefer?
After researching, I found that [requested change] is not feasible because [technical reason].
Evidence:
- [File/code showing constraint]
- [Documentation or pattern showing limitation]
Alternative approaches:
1. [Alternative 1 - achieves similar goal]
2. [Alternative 2 - different tradeoff]
Which direction should we take?
testing
Compare original and distilled prompts to verify the distillation is faithful and lossless. Checks completeness, accuracy, and appropriate conciseness.
development
Implement features following Test-Driven Development methodology. Red-Green-Refactor cycle with phased approach and verification at each step.
development
Orchestrate multi-agent code review with three waves - parallel analysis, cross-validation, and convergence check. Simulates specialist reviewers and synthesizes findings.
development
Apply Steve Yegge's Rule of 5 iterative review to any artifact - code, plans, research, issues, specs, or documents. Five stages from draft through excellence.