Execute an implementation plan, making changes and committing properly
Execute an implementation plan or review fixes, making code changes and committing according to guidelines.
/implement [target]
Specifies what to implement. Can be:
.ai/ (e.g., issue-59-add-no-verify-option).ai/ folder (e.g., .ai/my-feature).ai/my-feature/review.md)When given a directory (or auto-detecting):
review.md exists → implement fixes from the reviewplan.md exists → implement the plan/create-plan or first/code-review# Auto-detect from branch, prefer review.md over plan.md
/implement
# Use specific folder in .ai/
/implement issue-59-add-no-verify-option
# Use relative path
/implement .ai/my-feature
# Use specific file directly
/implement .ai/my-feature/plan.md
/implement .ai/my-feature/review.md
Parse Arguments and Find Source
If a file path was provided (ends with .md):
If a directory/folder was provided:
.ai/, use it directly.ai/review.md first, then plan.mdIf no argument provided:
feature/59-... → 59).ai/issue-<number>-* folderreview.md first, then plan.mdIf no source file found:
/create-plan for new work/code-review if code exists but needs reviewVerify Prerequisites
git status)go test ./...Load Guidelines
Execute Work
For each task in the plan:
Before Each Task:
Code Changes:
After Each Task:
go build ./...go test ./...git diffFor each issue found in the review:
Must fix:
Should fix:
Nit:
After Fixes:
go build ./...go test ./...git diffCommit Strategy
/commit skill for proper formattingCheckpoint Verification
At each checkpoint:
go build ./...go test ./...Track Progress
For plan mode - update plan.md checkboxes:
- [x] Completed task
- [ ] Pending task
For review mode - update review.md checkboxes:
- [x] Fixed: <issue description>
- [ ] Pending: <issue description>
Handle Issues
If problems arise:
For Plan Mode:
/code-review before PRFor Review Mode: