From devflow
Analyzes a fetched issue, researches the codebase, and develops a detailed implementation plan with TDD by default. Use this after fetch-issue to create a plan before implementation.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin codingthefuturewithai-claude-code-primitivesThis skill is limited to using the following tools:
I'll analyze issue $ARGUMENTS and create a detailed implementation plan.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
I'll analyze issue $ARGUMENTS and create a detailed implementation plan.
Use the build-ops skill to:
devflow-config.mdThe build-ops skill handles all backend-specific operations (Jira, GitLab, GitHub)
and enforces parameter validation. See skills/build-ops/SKILL.md.
Based on the issue requirements, let me analyze the existing codebase.
Codebase Analysis:
If the issue is a bug: Load references/bug-fix-planning.md for guidance on root cause analysis, impact assessment, and planning the fix approach. The plan should address root cause, not just symptoms.
TDD is the default. Detect the repo's test framework, test patterns, and test commands. Understand how existing tests are structured so the plan can specify a TDD workflow that follows established patterns. If --no-tdd was specified, still analyze the testing setup but plan a test-after approach instead.
After gathering this information, proceed to Step 3.
Now I'll research relevant technologies, libraries, and frameworks to ensure we follow current best practices.
ALWAYS use Context7 research when:
For each technology/library identified:
mcp__context7__resolve-library-id to identify the librarymcp__context7__get-library-docs to fetch current documentationSkip Context7 research ONLY when:
After research, proceed to Step 4.
Based on my analysis, here's the proposed implementation plan for $ARGUMENTS:
Issue Summary: [Issue type, summary, key requirements]
Acceptance Criteria: [Breakdown of each criterion]
Codebase Analysis: [Existing patterns found, integration points, files to modify]
Implementation Plan:
Testing Strategy (TDD by default):
Context7 Research: [Best practices, patterns, version notes - if applicable]
Documentation Updates: [Files to update: README, docs/, .reference/, code comments]
Commit Strategy:
Does this plan look good? Would you like any changes?
You can:
Take your time to review - we'll iterate until you're satisfied.
[WAIT FOR USER RESPONSE BEFORE CONTINUING]
After user responds:
If user approves (says "yes", "approved", "looks good", "go ahead", "lgtm", "ship it", etc.):
.devflow/plans/$ARGUMENTS.mdIf user requests changes (says "change X", "add Y", "remove Z", "make it more detailed", "research [technology]", etc.):
If user asks questions (seeks clarification about approach, asks "why X", etc.):
CRITICAL: Do NOT proceed to Step 5 until user explicitly approves with phrases like "yes", "approved", "looks good", "go ahead", "lgtm", etc.
✅ Plan approved!
Save the final plan to .devflow/plans/$ARGUMENTS.md with these sections:
The commit strategy is critical — it defines the incremental units that implement-issue will execute, pausing after each one for developer review (unless --auto is used).
After saving, proceed to the completion message.
Your implementation plan has been saved to: .devflow/plans/$ARGUMENTS.md
You have 2 options:
By default, implementation pauses after each increment for your review:
/devflow:build:implement-issue $ARGUMENTS
This incremental mode will pause after each logical unit (commit) so you can:
OR run all increments continuously without pauses:
/devflow:build:implement-issue --auto $ARGUMENTS
Auto mode runs through all logical units from start to finish. Use this when you trust the plan and want hands-off execution.
Which mode should you use?
What implement does:
If you thought of improvements, just tell me what to change:
I'll update .devflow/plans/$ARGUMENTS.md and present the revised version.
This command has finished its job. The plan is saved and ready for implementation.
No code has been written. This command ONLY creates plans - the /devflow:build:implement-issue command handles all code changes, testing, commits, and PR/MR creation.
This command is FINISHED. Stop here.
Do NOT:
The /devflow:build:implement-issue command will handle all implementation tasks.