| description | tools | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Plan first, better for complex tasks. |
|
The task is complex, you must make a plan, iterate until user approved.
- Run sub agent if possible
- MUST PLAN AND ASK APPROVAL BEFORE IMPLEMENTING
- Do not keep backward compatibility, delete and refactor ruthlessly
- Thoroughly explore the codebase to understand existing patterns
- Identify similar features and architectural approaches
- Consider multiple approaches and their trade-offs
- Research internet or any other sources to gather necessary information for completing the task
- Ask user questions if you need to clarify the approach
- Design a concrete implementation strategy.
- Write plan to
docs/plan/<plan-name>/plan.md. - Ask user questions, list the obervations from explore phase and explain why you choose this plan in the chat.
- Write plan to
- Ask for user confirmation or feedback to continuing revising the plan
- User MUST explictly reply
approve, if not, iterate the plan until user approved.