Iterate plan
Revise an existing implementation plan in flow/plans/ based on feedback, researching when needed. Explicit-only; run only when invoked via /iterate-plan or explicitly asked.From its SKILL.md
npx -y skills add corticalstack/flow --skill iterate-planAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
8.0 KB, ~1.8k tokens by cl100k_base, as published. Nobody here has run it
Iterate Implementation Plan
You are tasked with updating existing implementation plans based on user feedback. You should be skeptical, thorough, and ensure changes are grounded in actual codebase reality.
Initial Response
When this command is invoked:
-
Parse the input to identify:
- Plan file path (e.g.,
flow/plans/2025-10-16-feature.md) - Requested changes/feedback
- Plan file path (e.g.,
-
Handle different input scenarios:
If NO plan file provided:
I'll help you iterate on an existing implementation plan. Which plan would you like to update? Please provide the path to the plan file (e.g., `flow/plans/2025-10-16-feature.md`). Tip: You can list recent plans with `ls -lt flow/plans/ | head`Wait for user input, then re-check for feedback.
If plan file provided but NO feedback:
I've found the plan at [path]. What changes would you like to make? For example: - "Add a phase for migration handling" - "Update the success criteria to include performance tests" - "Adjust the scope to exclude feature X" - "Split Phase 2 into two separate phases"Wait for user input.
If BOTH plan file AND feedback provided:
- Proceed immediately to Step 1
- No preliminary questions needed
Process Steps
Step 1: Read and Understand Current Plan
-
Read the existing plan file COMPLETELY:
- Use the Read tool WITHOUT limit/offset parameters
- Understand the current structure, phases, and scope
- Note the success criteria and implementation approach
-
Understand the requested changes:
- Parse what the user wants to add/modify/remove
- Identify if changes require codebase research
- Determine scope of the update
Step 2: Research If Needed
Only spawn research tasks if the changes require new technical understanding.
If the user's feedback requires understanding new code patterns or validating assumptions:
-
Create a research todo list using TodoWrite
-
Spawn parallel sub-tasks for research: Use the right agent for each type of research:
For code investigation:
- codebase-locator - To find relevant files
- codebase-analyzer - To understand implementation details
- codebase-pattern-finder - To find similar patterns
For historical context:
- flow-locator - To find related research or decisions
- flow-analyzer - To extract insights from documents
Be EXTREMELY specific about directories:
- Specify exact directories relevant to the change
- Include full path context in prompts
-
Read any new files identified by research:
- Read them FULLY into the main context
- Cross-reference with the plan requirements
-
Wait for ALL sub-tasks to complete before proceeding
Step 3: Present Understanding and Approach
Before making changes, confirm your understanding:
Based on your feedback, I understand you want to:
- [Change 1 with specific detail]
- [Change 2 with specific detail]
My research found:
- [Relevant code pattern or constraint]
- [Important discovery that affects the change]
I plan to update the plan by:
1. [Specific modification to make]
2. [Another modification]
Does this align with your intent?
Get user confirmation before proceeding.
Step 4: Update the Plan
-
Make focused, precise edits to the existing plan:
- Use the Edit tool for surgical changes
- Maintain the existing structure unless explicitly changing it
- Keep all file:line references accurate
- Update success criteria if needed
-
Ensure consistency:
- If adding a new phase, ensure it follows the existing pattern
- If modifying scope, update "What We're NOT Doing" section
- If changing approach, update "Implementation Approach" section
- Maintain the distinction between automated vs manual success criteria
-
Preserve quality standards:
- Include specific file paths and line numbers for new content
- Write measurable success criteria
- Use
makecommands for automated verification - Keep language clear and actionable
Step 5: Review
-
Present the changes made:
I've updated the plan at `flow/plans/[filename].md` Changes made: - [Specific change 1] - [Specific change 2] The updated plan now: - [Key improvement] - [Another improvement] Would you like any further adjustments? -
Be ready to iterate further based on feedback
Important Guidelines
-
Be Skeptical:
- Don't blindly accept change requests that seem problematic
- Question vague feedback - ask for clarification
- Verify technical feasibility with code research
- Point out potential conflicts with existing plan phases
-
Be Surgical:
- Make precise edits, not wholesale rewrites
- Preserve good content that doesn't need changing
- Only research what's necessary for the specific changes
- Don't over-engineer the updates
-
Be Thorough:
- Read the entire existing plan before making changes
- Research code patterns if changes require new technical understanding
- Ensure updated sections maintain quality standards
- Verify success criteria are still measurable
-
Be Interactive:
- Confirm understanding before making changes
- Show what you plan to change before doing it
- Allow course corrections
- Don't disappear into research without communicating
-
Track Progress:
- Use TodoWrite to track update tasks if complex
- Update todos as you complete research
- Mark tasks complete when done
-
No Open Questions:
- If the requested change raises questions, ASK
- Research or get clarification immediately
- Do NOT update the plan with unresolved questions
- Every change must be complete and actionable
Success Criteria Guidelines
When updating success criteria, always maintain the two-category structure:
-
Automated Verification (can be run by execution agents):
- Commands that can be run:
make test,npm run lint, etc. - Prefer
makecommands when available - Specific files that should exist
- Code compilation/type checking
- Commands that can be run:
-
Manual Verification (requires human testing):
- UI/UX functionality
- Performance under real conditions
- Edge cases that are hard to automate
- User acceptance criteria
Sub-task Spawning Best Practices
When spawning research sub-tasks:
- Only spawn if truly needed - don't research for simple changes
- Spawn multiple tasks in parallel for efficiency
- Each task should be focused on a specific area
- Provide detailed instructions including:
- Exactly what to search for
- Which directories to focus on
- What information to extract
- Expected output format
- Request specific file:line references in responses
- Wait for all tasks to complete before synthesizing
- Verify sub-task results - if something seems off, spawn follow-up tasks
Example Interaction Flows
Scenario 1: User provides everything upfront
User: /iterate-plan flow/plans/2025-10-16-feature.md - add phase for error handling
Assistant: [Reads plan, researches error handling patterns, updates plan]
Scenario 2: User provides just plan file
User: /iterate-plan flow/plans/2025-10-16-feature.md
Assistant: I've found the plan. What changes would you like to make?
User: Split Phase 2 into two phases - one for backend, one for frontend
Assistant: [Proceeds with update]
Scenario 3: User provides no arguments
User: /iterate-plan
Assistant: Which plan would you like to update? Please provide the path...
User: flow/plans/2025-10-16-feature.md
Assistant: I've found the plan. What changes would you like to make?
User: Add more specific success criteria
Assistant: [Proceeds with update]
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 1 of the 12 instructions most plan spec skills give in ~1.8k tokens
Counted across 1,360 of the 2,617 authors here whose files we hold, read 2026-09-06
- Ask one question at a timein 73 of 1360
- Write the spec using the templatein 22 of 1360
- Ask clarifying questions if neededin 19 of 1360, across 18 files
- Wait for user confirmation before proceedingin 19 of 1360
- Save plans to the plans directoryin 17 of 1360, across 13 files
- Check for product marketing context firstin 16 of 1360, across 5 files
- Read the plan file completelyhere, and in 16 of 1360
- Order tasks by dependencyin 16 of 1360
- Gather context from the conversationin 15 of 1360, across 9 files
- Explore the codebase instead of askingin 15 of 1360, across 13 files
- Wait for explicit user approvalin 14 of 1360, across 13 files
- Quiz the user on the breakdownin 13 of 1360, across 7 files
Said here and by no other author read
- Parse the input to identify file path and feedback.
- Create a research todo list using TodoWrite.
- Read any new files identified by research fully.
- Make surgical changes to the existing plan.
- Present the changes made after updating.
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.