17 lines
866 B
Markdown
17 lines
866 B
Markdown
|
|
[analyze-mode]
|
||
|
|
ANALYSIS MODE. Gather context before diving deep:
|
||
|
|
|
||
|
|
CONTEXT GATHERING (parallel):
|
||
|
|
- 1-2 explore agents (codebase patterns, implementations)
|
||
|
|
- 1-2 librarian agents (if external library involved)
|
||
|
|
- Direct tools: Grep, AST-grep, LSP for targeted searches
|
||
|
|
|
||
|
|
IF COMPLEX - DO NOT STRUGGLE ALONE. Consult specialists:
|
||
|
|
- **Oracle**: Conventional problems (architecture, debugging, complex logic)
|
||
|
|
- **Artistry**: Non-conventional problems (different approach needed)
|
||
|
|
|
||
|
|
SYNTHESIZE findings before proceeding.
|
||
|
|
---
|
||
|
|
MANDATORY delegate_task params: ALWAYS include load_skills and run_in_background when calling delegate_task. Evaluate available skills before dispatch - pass task-appropriate skills when relevant, pass [] ONLY when no skill matches the task domain.
|
||
|
|
Example: delegate_task(subagent_type="explore", prompt="...", run_in_background=true, load_skills=[])
|