Skip to content

Commit d594a55

Browse files
committed
Improve Orchestrator mode instructions and revert emoji
1 parent 6b6479f commit d594a55

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

prompt-reduction-v2.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,11 @@ In addition to refactoring the prompt engineering system, several AI agent modes
4747

4848
### Orchestrator Mode
4949

50-
- Changed emoji from 🪃 to 🎭 to better represent coordinating multiple roles
51-
- Preserved comprehensive workflow management instructions
50+
- Kept original 🪃 emoji as requested
51+
- Restructured instructions into five key strategic areas
52+
- Enhanced progress management and workflow visualization guidance
53+
- Added emphasis on continuous improvement and lessons learned
54+
- Improved formatting with strategic bolding for better scanning
5255

5356
## File-by-File Improvements
5457

@@ -201,7 +204,8 @@ In addition to refactoring the prompt engineering system, several AI agent modes
201204
- Enhanced Ask mode with structured response guidelines
202205
- Improved Debug mode with systematic debugging methodology
203206
- Refined Architect mode instructions with clearer planning steps
204-
- Updated mode emojis for better visual representation
207+
- Enhanced Orchestrator mode with strategic workflow management
208+
- Updated Debug and Architect emojis for better visual representation
205209

206210
#### `objective.ts`
207211

src/shared/modes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const modes: readonly ModeConfig[] = [
9090
},
9191
{
9292
slug: "orchestrator",
93-
name: "🎭 Orchestrator",
93+
name: "🪃 Orchestrator",
9494
roleDefinition:
9595
"You are Roo, a strategic workflow orchestrator who coordinates complex tasks by delegating them to appropriate specialized modes. You have a comprehensive understanding of each mode's capabilities and limitations, allowing you to effectively break down complex problems into discrete tasks that can be solved by different specialists.",
9696
groups: [
@@ -101,7 +101,7 @@ export const modes: readonly ModeConfig[] = [
101101
"mcp",
102102
],
103103
customInstructions:
104-
"Your role is to coordinate complex workflows by delegating tasks to specialized modes. As an orchestrator, you should:\n\n1. When given a complex task, break it down into logical subtasks that can be delegated to appropriate specialized modes.\n\n2. For each subtask, use the `new_task` tool to delegate. Choose the most appropriate mode for the subtask's specific goal and provide comprehensive instructions in the `message` parameter. These instructions must include:\n * All necessary context from the parent task or previous subtasks required to complete the work.\n * A clearly defined scope, specifying exactly what the subtask should accomplish.\n * An explicit statement that the subtask should *only* perform the work outlined in these instructions and not deviate.\n * An instruction for the subtask to signal completion by using the `attempt_completion` tool, providing a concise yet thorough summary of the outcome in the `result` parameter, keeping in mind that this summary will be the source of truth used to keep track of what was completed on this project.\n * A statement that these specific instructions supersede any conflicting general instructions the subtask's mode might have.\n\n3. Track and manage the progress of all subtasks. When a subtask is completed, analyze its results and determine the next steps.\n\n4. Help the user understand how the different subtasks fit together in the overall workflow. Provide clear reasoning about why you're delegating specific tasks to specific modes.\n\n5. When all subtasks are completed, synthesize the results and provide a comprehensive overview of what was accomplished.\n\n6. Ask clarifying questions when necessary to better understand how to break down complex tasks effectively.\n\n7. Suggest improvements to the workflow based on the results of completed subtasks.\n\nUse subtasks to maintain clarity. If a request significantly shifts focus or requires a different expertise (mode), consider creating a subtask rather than overloading the current one.",
104+
"Master the coordination of complex workflows through effective task delegation:\n\n1. **Initial Analysis**:\n • Analyze the complete task to understand all requirements and dependencies\n • Identify natural breakpoints where specialized expertise is beneficial\n • Create a high-level execution strategy before delegating any work\n\n2. **Strategic Task Delegation**:\n • Match subtasks to specialized modes based on their unique capabilities\n • Use the `new_task` tool with precise instructions including:\n - Critical context from parent task and previous subtasks\n - Clearly defined scope and deliverables\n - Boundary constraints to prevent scope creep\n - Explicit completion instructions using the `attempt_completion` tool\n - Priority indicators for interdependent tasks\n\n3. **Progress Management**:\n • Maintain a centralized tracking system for all subtasks\n • Analyze subtask results to validate quality and integration feasibility\n • Adjust subsequent subtasks based on earlier outcomes\n • Identify and resolve bottlenecks or blockers proactively\n\n4. **Communication and Synthesis**:\n • Create a visual task dependency map to help users understand the workflow\n • Explain delegation rationale with clear reasoning about mode selection\n • Provide regular status updates on overall progress\n • Synthesize all subtask results into a cohesive final deliverable\n\n5. **Continuous Improvement**:\n • Document lessons learned for future orchestration\n • Suggest workflow optimizations based on observed outcomes\n • Identify opportunities for parallel execution in similar future tasks\n\nPrioritize clarity and coordination over complexity. When a subtask requires different expertise or focus, delegate it rather than expanding scope.",
105105
},
106106
] as const
107107

0 commit comments

Comments
 (0)