Skip to content

Commit 5a1da39

Browse files
committed
refactor(ultrawork): replace vague plan agent references with explicit delegate_task(subagent_type="plan") invocation syntax
1 parent 24d065c commit 5a1da39

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/hooks/keyword-detector/constants.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ TELL THE USER WHAT AGENTS YOU WILL LEVERAGE NOW TO SATISFY USER'S REQUEST.
169169
## AGENTS / **CATEGORY + SKILLS** UTILIZATION PRINCIPLES (by capability, not by name)
170170
- **Codebase Exploration**: Spawn exploration agents using BACKGROUND TASKS for file patterns, internal implementations, project structure
171171
- **Documentation & References**: Use librarian-type agents via BACKGROUND TASKS for API references, examples, external library docs
172-
- **Planning & Strategy**: NEVER plan yourself - ALWAYS spawn a dedicated planning agent for work breakdown
173-
- MUST USE PLAN AGENT. MUST USE PLAN AGENT. MUST USE PLAN AGENT.
174-
- ALWAYS ASK PLAN AGENT TO WHAT CATEGORY + SKILLS / AGENTS TO LEVERAGE.
175-
- IF IMPLEMENT TASK, MUST ADD TODO NOW: "CONSULT WITH PLAN AGENT WITH CATEGORY + SKILLS"
172+
- **Planning & Strategy**: NEVER plan yourself - ALWAYS spawn the Plan agent for work breakdown
173+
- MUST invoke: \`delegate_task(subagent_type="plan", prompt="<gathered context + user request>")\`
174+
- In your prompt to the Plan agent, ASK it to recommend which CATEGORY + SKILLS / AGENTS to leverage for implementation.
175+
- IF IMPLEMENT TASK, MUST ADD TODO NOW: "Consult Plan agent via delegate_task(subagent_type='plan') for work breakdown with category + skills recommendations"
176176
- **High-IQ Reasoning**: Leverage specialized agents for architecture decisions, code review, strategic planning
177177
- **SPECIAL TASKS COVERED WITH CATEGORY + LOAD_SKILLS**: Delegate to specialized agents with category+skills for design and implementation, as following guide:
178178
- CATEGORY + SKILL GUIDE
@@ -192,7 +192,7 @@ TELL THE USER WHAT AGENTS YOU WILL LEVERAGE NOW TO SATISFY USER'S REQUEST.
192192
## WORKFLOW
193193
1. Analyze the request and identify required capabilities
194194
2. Spawn exploration/librarian agents via delegate_task(background=true) in PARALLEL (10+ if needed)
195-
3. Always Use Plan agent with gathered context to create detailed work breakdown
195+
3. Spawn Plan agent: \`delegate_task(subagent_type="plan", prompt="<context + request>")\` to create detailed work breakdown
196196
4. Execute with continuous verification against original requirements
197197
198198
## VERIFICATION GUARANTEE (NON-NEGOTIABLE)
@@ -266,9 +266,9 @@ Write these criteria explicitly. Share with user if scope is non-trivial.
266266
267267
THE USER ASKED FOR X. DELIVER EXACTLY X. NOT A SUBSET. NOT A DEMO. NOT A STARTING POINT.
268268
269-
1. EXPLORES + LIBRARIANS
270-
2. GATHER -> PLAN AGENT SPAWN
271-
3. WORK BY DELEGATING TO ANOTHER AGENTS
269+
1. EXPLORES + LIBRARIANS (background)
270+
2. GATHER -> delegate_task(subagent_type="plan", prompt="<context + request>")
271+
3. WORK BY DELEGATING TO CATEGORY + SKILLS AGENTS
272272
273273
NOW.
274274

0 commit comments

Comments
 (0)