29 lines
1.0 KiB
Markdown
29 lines
1.0 KiB
Markdown
---
|
|
argument-hint: [plan-id] [approach-id]
|
|
description: Implement a plan for a feature
|
|
---
|
|
|
|
Implement the plan that can be found in .claude/plans/[$1].md, if you can't find the plan, ask the user to provide the plan.
|
|
|
|
Inside of the plan there might be more than one approach, implement the one with id $2, if you can't find the approach, ask the user to provide the approach.
|
|
|
|
**[IMPORTANT] Git Worktree**
|
|
- Create a new worktree before starting to make changes.
|
|
- Use command `git worktree add .tree/[$1]-[$2]-claude-implementation -b claude/[$1]-[$2]`.
|
|
- ONLY USE THE WORKTREE FOR THE IMPLEMENTATION.
|
|
|
|
**Process**
|
|
1- Ask the user if he wants to add details or changes to the plan.
|
|
2- Generate the todo list for the plan.
|
|
3- Implement the fisrt item of the todo list.
|
|
4- Ask the user for feedback.
|
|
5- Commit the changes (DON'T PUSH THEM).
|
|
6- Repeat the process until the plan is implemented.
|
|
|
|
**IMPORTANT**
|
|
- Stick to the plan and the approach, don't start free styling.
|
|
- NEVER PUSH THE CHANGES.
|
|
- Don't test.
|
|
- Don't lint.
|
|
- Don't tscheck the code.
|