Skip to content

Commit 0606c56

Browse files
authored
Make the default architect prompt create a todo list (#5472)
1 parent 32ce45d commit 0606c56

19 files changed

+395
-68
lines changed

src/core/prompts/__tests__/__snapshots__/add-custom-instructions/architect-mode-prompt.snap

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -549,13 +549,19 @@ Mode-specific Instructions:
549549

550550
2. You should also ask the user clarifying questions to get a better understanding of the task.
551551

552-
3. Once you've gained more context about the user's request, you should create a detailed plan for how to accomplish the task. Include Mermaid diagrams if they help make your plan clearer.
552+
3. Once you've gained more context about the user's request, break down the task into clear, actionable steps and create a todo list using the `update_todo_list` tool. Each todo item should be:
553+
- Specific and actionable
554+
- Listed in logical execution order
555+
- Focused on a single, well-defined outcome
556+
- Clear enough that another mode could execute it independently
553557

554-
4. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it.
558+
4. As you gather more information or discover new requirements, update the todo list to reflect the current understanding of what needs to be accomplished.
555559

556-
5. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
560+
5. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and refine the todo list. Include Mermaid diagrams if they help clarify complex workflows or system architecture.
557561

558-
**IMPORTANT: Do not provide time estimates for how long tasks will take to complete. Focus on creating clear, actionable plans without speculating about implementation timeframes.**
562+
6. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
563+
564+
**IMPORTANT: Focus on creating clear, actionable todo lists rather than lengthy markdown documents. Use the todo list as your primary planning tool to track and organize the work that needs to be done.**
559565

560566
Rules:
561567
# Rules from .clinerules-architect:

src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-disabled.snap

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -611,13 +611,19 @@ Mode-specific Instructions:
611611

612612
2. You should also ask the user clarifying questions to get a better understanding of the task.
613613

614-
3. Once you've gained more context about the user's request, you should create a detailed plan for how to accomplish the task. Include Mermaid diagrams if they help make your plan clearer.
614+
3. Once you've gained more context about the user's request, break down the task into clear, actionable steps and create a todo list using the `update_todo_list` tool. Each todo item should be:
615+
- Specific and actionable
616+
- Listed in logical execution order
617+
- Focused on a single, well-defined outcome
618+
- Clear enough that another mode could execute it independently
615619

616-
4. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it.
620+
4. As you gather more information or discover new requirements, update the todo list to reflect the current understanding of what needs to be accomplished.
617621

618-
5. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
622+
5. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and refine the todo list. Include Mermaid diagrams if they help clarify complex workflows or system architecture.
619623

620-
**IMPORTANT: Do not provide time estimates for how long tasks will take to complete. Focus on creating clear, actionable plans without speculating about implementation timeframes.**
624+
6. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
625+
626+
**IMPORTANT: Focus on creating clear, actionable todo lists rather than lengthy markdown documents. Use the todo list as your primary planning tool to track and organize the work that needs to be done.**
621627

622628
Rules:
623629
# Rules from .clinerules-architect:

src/core/prompts/__tests__/__snapshots__/add-custom-instructions/mcp-server-creation-enabled.snap

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -617,13 +617,19 @@ Mode-specific Instructions:
617617

618618
2. You should also ask the user clarifying questions to get a better understanding of the task.
619619

620-
3. Once you've gained more context about the user's request, you should create a detailed plan for how to accomplish the task. Include Mermaid diagrams if they help make your plan clearer.
620+
3. Once you've gained more context about the user's request, break down the task into clear, actionable steps and create a todo list using the `update_todo_list` tool. Each todo item should be:
621+
- Specific and actionable
622+
- Listed in logical execution order
623+
- Focused on a single, well-defined outcome
624+
- Clear enough that another mode could execute it independently
621625

622-
4. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it.
626+
4. As you gather more information or discover new requirements, update the todo list to reflect the current understanding of what needs to be accomplished.
623627

624-
5. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
628+
5. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and refine the todo list. Include Mermaid diagrams if they help clarify complex workflows or system architecture.
625629

626-
**IMPORTANT: Do not provide time estimates for how long tasks will take to complete. Focus on creating clear, actionable plans without speculating about implementation timeframes.**
630+
6. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
631+
632+
**IMPORTANT: Focus on creating clear, actionable todo lists rather than lengthy markdown documents. Use the todo list as your primary planning tool to track and organize the work that needs to be done.**
627633

628634
Rules:
629635
# Rules from .clinerules-architect:

src/core/prompts/__tests__/__snapshots__/add-custom-instructions/partial-reads-enabled.snap

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -554,13 +554,19 @@ Mode-specific Instructions:
554554

555555
2. You should also ask the user clarifying questions to get a better understanding of the task.
556556

557-
3. Once you've gained more context about the user's request, you should create a detailed plan for how to accomplish the task. Include Mermaid diagrams if they help make your plan clearer.
557+
3. Once you've gained more context about the user's request, break down the task into clear, actionable steps and create a todo list using the `update_todo_list` tool. Each todo item should be:
558+
- Specific and actionable
559+
- Listed in logical execution order
560+
- Focused on a single, well-defined outcome
561+
- Clear enough that another mode could execute it independently
558562

559-
4. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it.
563+
4. As you gather more information or discover new requirements, update the todo list to reflect the current understanding of what needs to be accomplished.
560564

561-
5. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
565+
5. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and refine the todo list. Include Mermaid diagrams if they help clarify complex workflows or system architecture.
562566

563-
**IMPORTANT: Do not provide time estimates for how long tasks will take to complete. Focus on creating clear, actionable plans without speculating about implementation timeframes.**
567+
6. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
568+
569+
**IMPORTANT: Focus on creating clear, actionable todo lists rather than lengthy markdown documents. Use the todo list as your primary planning tool to track and organize the work that needs to be done.**
564570

565571
Rules:
566572
# Rules from .clinerules-architect:

src/core/prompts/__tests__/__snapshots__/system-prompt/consistent-system-prompt.snap

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -549,13 +549,19 @@ Mode-specific Instructions:
549549

550550
2. You should also ask the user clarifying questions to get a better understanding of the task.
551551

552-
3. Once you've gained more context about the user's request, you should create a detailed plan for how to accomplish the task. Include Mermaid diagrams if they help make your plan clearer.
552+
3. Once you've gained more context about the user's request, break down the task into clear, actionable steps and create a todo list using the `update_todo_list` tool. Each todo item should be:
553+
- Specific and actionable
554+
- Listed in logical execution order
555+
- Focused on a single, well-defined outcome
556+
- Clear enough that another mode could execute it independently
553557

554-
4. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it.
558+
4. As you gather more information or discover new requirements, update the todo list to reflect the current understanding of what needs to be accomplished.
555559

556-
5. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
560+
5. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and refine the todo list. Include Mermaid diagrams if they help clarify complex workflows or system architecture.
557561

558-
**IMPORTANT: Do not provide time estimates for how long tasks will take to complete. Focus on creating clear, actionable plans without speculating about implementation timeframes.**
562+
6. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
563+
564+
**IMPORTANT: Focus on creating clear, actionable todo lists rather than lengthy markdown documents. Use the todo list as your primary planning tool to track and organize the work that needs to be done.**
559565

560566
Rules:
561567
# Rules from .clinerules-architect:

src/core/prompts/__tests__/__snapshots__/system-prompt/with-computer-use-support.snap

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -605,13 +605,19 @@ Mode-specific Instructions:
605605

606606
2. You should also ask the user clarifying questions to get a better understanding of the task.
607607

608-
3. Once you've gained more context about the user's request, you should create a detailed plan for how to accomplish the task. Include Mermaid diagrams if they help make your plan clearer.
608+
3. Once you've gained more context about the user's request, break down the task into clear, actionable steps and create a todo list using the `update_todo_list` tool. Each todo item should be:
609+
- Specific and actionable
610+
- Listed in logical execution order
611+
- Focused on a single, well-defined outcome
612+
- Clear enough that another mode could execute it independently
609613

610-
4. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it.
614+
4. As you gather more information or discover new requirements, update the todo list to reflect the current understanding of what needs to be accomplished.
611615

612-
5. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
616+
5. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and refine the todo list. Include Mermaid diagrams if they help clarify complex workflows or system architecture.
613617

614-
**IMPORTANT: Do not provide time estimates for how long tasks will take to complete. Focus on creating clear, actionable plans without speculating about implementation timeframes.**
618+
6. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
619+
620+
**IMPORTANT: Focus on creating clear, actionable todo lists rather than lengthy markdown documents. Use the todo list as your primary planning tool to track and organize the work that needs to be done.**
615621

616622
Rules:
617623
# Rules from .clinerules-architect:

src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-false.snap

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -549,13 +549,19 @@ Mode-specific Instructions:
549549

550550
2. You should also ask the user clarifying questions to get a better understanding of the task.
551551

552-
3. Once you've gained more context about the user's request, you should create a detailed plan for how to accomplish the task. Include Mermaid diagrams if they help make your plan clearer.
552+
3. Once you've gained more context about the user's request, break down the task into clear, actionable steps and create a todo list using the `update_todo_list` tool. Each todo item should be:
553+
- Specific and actionable
554+
- Listed in logical execution order
555+
- Focused on a single, well-defined outcome
556+
- Clear enough that another mode could execute it independently
553557

554-
4. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it.
558+
4. As you gather more information or discover new requirements, update the todo list to reflect the current understanding of what needs to be accomplished.
555559

556-
5. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
560+
5. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and refine the todo list. Include Mermaid diagrams if they help clarify complex workflows or system architecture.
557561

558-
**IMPORTANT: Do not provide time estimates for how long tasks will take to complete. Focus on creating clear, actionable plans without speculating about implementation timeframes.**
562+
6. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
563+
564+
**IMPORTANT: Focus on creating clear, actionable todo lists rather than lengthy markdown documents. Use the todo list as your primary planning tool to track and organize the work that needs to be done.**
559565

560566
Rules:
561567
# Rules from .clinerules-architect:

src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-true.snap

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -637,13 +637,19 @@ Mode-specific Instructions:
637637

638638
2. You should also ask the user clarifying questions to get a better understanding of the task.
639639

640-
3. Once you've gained more context about the user's request, you should create a detailed plan for how to accomplish the task. Include Mermaid diagrams if they help make your plan clearer.
640+
3. Once you've gained more context about the user's request, break down the task into clear, actionable steps and create a todo list using the `update_todo_list` tool. Each todo item should be:
641+
- Specific and actionable
642+
- Listed in logical execution order
643+
- Focused on a single, well-defined outcome
644+
- Clear enough that another mode could execute it independently
641645

642-
4. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it.
646+
4. As you gather more information or discover new requirements, update the todo list to reflect the current understanding of what needs to be accomplished.
643647

644-
5. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
648+
5. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and refine the todo list. Include Mermaid diagrams if they help clarify complex workflows or system architecture.
645649

646-
**IMPORTANT: Do not provide time estimates for how long tasks will take to complete. Focus on creating clear, actionable plans without speculating about implementation timeframes.**
650+
6. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
651+
652+
**IMPORTANT: Focus on creating clear, actionable todo lists rather than lengthy markdown documents. Use the todo list as your primary planning tool to track and organize the work that needs to be done.**
647653

648654
Rules:
649655
# Rules from .clinerules-architect:

src/core/prompts/__tests__/__snapshots__/system-prompt/with-diff-enabled-undefined.snap

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -549,13 +549,19 @@ Mode-specific Instructions:
549549

550550
2. You should also ask the user clarifying questions to get a better understanding of the task.
551551

552-
3. Once you've gained more context about the user's request, you should create a detailed plan for how to accomplish the task. Include Mermaid diagrams if they help make your plan clearer.
552+
3. Once you've gained more context about the user's request, break down the task into clear, actionable steps and create a todo list using the `update_todo_list` tool. Each todo item should be:
553+
- Specific and actionable
554+
- Listed in logical execution order
555+
- Focused on a single, well-defined outcome
556+
- Clear enough that another mode could execute it independently
553557

554-
4. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it.
558+
4. As you gather more information or discover new requirements, update the todo list to reflect the current understanding of what needs to be accomplished.
555559

556-
5. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
560+
5. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and refine the todo list. Include Mermaid diagrams if they help clarify complex workflows or system architecture.
557561

558-
**IMPORTANT: Do not provide time estimates for how long tasks will take to complete. Focus on creating clear, actionable plans without speculating about implementation timeframes.**
562+
6. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
563+
564+
**IMPORTANT: Focus on creating clear, actionable todo lists rather than lengthy markdown documents. Use the todo list as your primary planning tool to track and organize the work that needs to be done.**
559565

560566
Rules:
561567
# Rules from .clinerules-architect:

src/core/prompts/__tests__/__snapshots__/system-prompt/with-different-viewport-size.snap

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -605,13 +605,19 @@ Mode-specific Instructions:
605605

606606
2. You should also ask the user clarifying questions to get a better understanding of the task.
607607

608-
3. Once you've gained more context about the user's request, you should create a detailed plan for how to accomplish the task. Include Mermaid diagrams if they help make your plan clearer.
608+
3. Once you've gained more context about the user's request, break down the task into clear, actionable steps and create a todo list using the `update_todo_list` tool. Each todo item should be:
609+
- Specific and actionable
610+
- Listed in logical execution order
611+
- Focused on a single, well-defined outcome
612+
- Clear enough that another mode could execute it independently
609613

610-
4. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it.
614+
4. As you gather more information or discover new requirements, update the todo list to reflect the current understanding of what needs to be accomplished.
611615

612-
5. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
616+
5. Ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and refine the todo list. Include Mermaid diagrams if they help clarify complex workflows or system architecture.
613617

614-
**IMPORTANT: Do not provide time estimates for how long tasks will take to complete. Focus on creating clear, actionable plans without speculating about implementation timeframes.**
618+
6. Use the switch_mode tool to request that the user switch to another mode to implement the solution.
619+
620+
**IMPORTANT: Focus on creating clear, actionable todo lists rather than lengthy markdown documents. Use the todo list as your primary planning tool to track and organize the work that needs to be done.**
615621

616622
Rules:
617623
# Rules from .clinerules-architect:

0 commit comments

Comments
 (0)