/stepwise-core:implement-planfrom stepwise-core
Orchestrates implementation of approved technical plans by delegating to TDD, bug-finding, and mutation-testing skills per phase.
Ships in stepwise-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are tasked with implementing an approved technical plan from thoughts/shared/plans/. These plans contain phases with specific changes and success criteria.
When given a plan path:
Do NOT read source or test files mentioned in the plan. The delegated skills will read them. Your role is orchestrator: you understand the plan's structure and delegate execution. If you read the implementation files, you will be tempted to implement directly — that defeats the purpose of this skill.
If no plan path provided, ask for one.
Your job is to coordinate, not to implement on your own initiative:
/stepwise-core:tdd — let it decide what to write and when/stepwise-core:bugmagnet, /stepwise-core:mutation-testing and /stepwise-core:test-desiderataYou may edit files when a delegated skill instructs you to. What you must not do is decide on your own to write code, add tests, or modify source files.
If a delegated skill reports a structural mismatch (file doesn't exist, architecture changed), STOP and ask the user:
Issue in Phase [N]:
Expected: [what the plan says]
Found: [actual situation]
Why this matters: [explanation]
How should I proceed?
For each phase in the plan, follow this cycle in order:
Invoke /stepwise-core:tdd using the Skill tool. Pass it:
Example argument: "Implement Phase 2 from the plan: Add TodoUpdate model to models.py. Files: src/todo_api/models.py, tests/test_models.py. Success: make test passes."
TDD will read the files, write failing tests, implement, and refactor. Wait for it to complete before proceeding to Step 2.
Do not analyze bugs yourself. Invoke /stepwise-core:bugmagnet using the Skill tool on each file modified in this phase.
Then apply the findings you judge worthwhile, without asking the user. Keep the bugs it documents (skipped - BUG tests) for the final summary, then move on to Step 3.
Do not analyze mutants yourself. Invoke /stepwise-core:mutation-testing using the Skill tool with --changed and the production files modified in this phase (e.g. --changed src/todo_api/models.py). It mutates only the changed hunks and hands any gaps to tdd itself.
Keep its "Still alive" and "Bugs found" sections for the final summary, then move on to Step 4.
Do not analyze test quality yourself. Invoke /stepwise-core:test-desiderata using the Skill tool on the test files for this phase, including any tests added in Step 3.
Then apply the improvements you judge worthwhile, without asking the user, and move on to Step 5.
make check test covers everything)Do not pause for manual verification. Leave those items unchecked, continue to the next phase, and list them in the final summary.
When a delegated skill fails or reports issues:
Do not attempt to fix issues by reading source files and implementing directly — re-invoke the skill with adjusted instructions.
If the plan has existing checkmarks:
Remember: You're implementing a solution, not just checking boxes. Keep the end goal in mind and maintain forward momentum.
When all phases are complete:
Run final verification:
make check test # Or project-specific command
Review the whole change with a clean context:
/code-review medium and /security-review using the Skill tool. They review every change of the plan at once, which the per-phase steps cannot do./security-review fails because origin/HEAD does not exist, do not change the git configuration. Report the security review as not run, with the fix: git remote set-head origin -a./stepwise-core:tdd with the finding's file:line, or dismiss it with a short reason. Do not leave a finding without a decision.Update the plan file:
Inform the user:
Implementation complete for: [Plan Name]
All phases implemented and verified:
- [List key accomplishments]
Pending manual verification:
- [Manual verification items from the plan, if any]
Bugs found:
- [Bugs from bugmagnet and mutation-testing, with file:line and how each was handled (skipped `- BUG` test or fixed), or "None"]
Surviving mutants:
- [Mutants still alive after mutation-testing, with the reason, or "None"]
Review findings: [N from code-review, M from security-review]
- [Each finding with file:line, and "fixed" or "dismissed: reason", or "None"]
- [Mark any security finding that is not fixed as BLOCKING]
- [If the security review did not run, say so and why, with the fix]
Next steps in the workflow:
- Use `/stepwise-core:validate-plan thoughts/shared/plans/[filename].md` to verify completeness
- Use `/stepwise-git:ship-pr thoughts/shared/plans/[filename].md` to commit, open the PR and take it through its checks and review (or `/stepwise-git:commit` to only commit)
Tip: Use `/clear` to free up context before validation
What SKILL.md sets; muted values are Claude Code's defaults
inheritThree short reads, in order
npx claudepluginhub nikeyes/stepwise-dev --plugin stepwise-core15 skills in this plugin
/bugmagnetLightweight bug discovery and test coverage analysis for a code module. Use when the user asks to find bugs, analyze test coverage, write edge case tests, or do exploratory testing on a file. Triggers on "bugmagnet", "find bugs in", "test coverage gaps", "edge cases for", or "exploratory testing on <file>"./create-planCreate detailed implementation plans through interactive research and iteration/create-plan-liteCreate a short implementation plan (under 80 lines) from a ticket or a description, after researching the codebase. Experimental lighter alternative to create-plan/grill-meInterview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me"./hamburger-methodSlices features into vertical deliverable pieces using the Hamburger Method. Generates 4-5 implementation options per layer and composes minimal end-to-end slices. Use when slicing work, breaking down features into layers, or delivering incrementally./iterate-planUpdate an existing implementation plan in thoughts/shared/plans/ from feedback, checking the change against the code. Use when the user asks to change, extend or cut a plan.Other plugins' skills for the same job