| name | feature-implement |
| description | Execute a feature implementation plan from a clean context. Use when starting implementation after planning, or when resuming work on an in-progress feature. Reads plan.md and executes implementation steps. |
| user-invocable | true |
Implement Feature
You are executing the IMPLEMENT FEATURE workflow — picking up a plan and executing it with a clean context.
Target Feature
$ARGUMENTS
Step 1: Load the Plan
- If a feature ID was provided above, read
docs/features/<id>/plan.md
- If no ID was provided, read
docs/features/DASHBOARD.md and show the In Progress features. Ask the user which one to implement.
- Also read
docs/features/<id>/idea.md for the original problem statement and context.
If the plan doesn't exist, suggest running /feature-workflow:feature-plan first.
State Guard
Read idea.md state: field. If state is paused, replaced, or abandoned, stop and tell the user the same way /feature-plan does. Do NOT continue with implementation steps.
Tracking-progress edits to plan.md are allowed for paused features — that's a deliberate exception so completed steps can be checked off when work resumes. The block is on starting new implementation work.
Step 2: Set Context
Set the statusline so the user can see which feature is active:
python3 ${CLAUDE_PLUGIN_ROOT}/skills/shared/lib/statusline.py set <feature-id>
Step 3: Review and Confirm
Present a brief summary:
- Feature name and ID
- Number of implementation steps
- Which steps are already checked off (if resuming)
- First uncompleted step
Ask the user: "Ready to start? Any changes to the plan before we begin?"
Step 4: Execute Implementation Steps
Work through the implementation steps from plan.md sequentially:
-
For each step:
- State what you're about to do
- Implement it
- Run relevant tests
- Mark the step complete in plan.md using
/feature-workflow:tracking-progress
-
After completing each step, briefly summarize what was done and what's next.
-
If you hit a blocker:
- Explain the issue clearly
- Suggest alternatives
- Ask the user how to proceed
- Consider if this is scope creep — use
/feature-workflow:guarding-scope if needed
Step 5: Completion
When all steps are done:
- Run the full test suite
- Summarize what was implemented
- Check if the plan was reviewed: look for a PR on
feature/<id> with plan review comments. If none exists, warn:
"Note: The plan hasn't been through external review yet. Consider running /feature-review-plan <id> before submitting the implementation."
- Suggest the next step:
/feature-review-impl <id> — this pushes the implementation to the feature branch and updates the draft PR for external code review by Gemini/Codex.
The full workflow is: /feature-capture → /feature-plan → /feature-review-plan → /feature-implement → /feature-review-impl → /feature-ship
Do not suggest /feature-ship directly — that's the final merge step, run after reviews are satisfactory.
Guidelines
- Stay focused on the plan — don't add unplanned features
- Test as you go — don't defer all testing to the end
- Update progress — keep plan.md checkboxes current
- Ask when uncertain — the plan may not cover every edge case