Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 09:04:48 +08:00
commit bb91270797
6 changed files with 131 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
---
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.