Extended reasoning with multiple perspectives for complex problems. Usage: /deep-think [problem] [context:.] [mode:debug]
Coordinates multi-perspective AI agents to analyze complex problems and recommend optimal solutions.
/plugin marketplace add ANcpLua/ancplua-claude-plugins/plugin install workflow-tools@ancplua-claude-pluginsExtended multi-perspective reasoning before action.
Problem: $1 Context: $2 (default: .) Mode: $3 (default: debug, options: debug|architecture|refactor|decision)
<CRITICAL_EXECUTION_REQUIREMENT> RUN ALL PHASES WITHOUT STOPPING.
YOUR NEXT MESSAGE: Launch 3 Task tool calls for Phase 1. NOTHING ELSE. </CRITICAL_EXECUTION_REQUIREMENT>
Launch ALL 3 agents in PARALLEL using a single message with multiple Task tool calls:
subagent_type: deep-debugger
model: opus
description: "Debugger perspective analysis"
prompt: |
PROBLEM: [insert $1 here]
CONTEXT: [insert $2 here, default .]
THINK AS A DEBUGGER:
1. What is the actual problem vs perceived problem?
2. What are ALL possible root causes? (list 5+)
3. What evidence would confirm/deny each?
4. What's the minimum viable investigation?
5. What assumptions am I making?
DO NOT PROPOSE SOLUTIONS.
Just understand completely.
Output: Problem analysis with confidence levels per hypothesis
subagent_type: metacognitive-guard:arch-reviewer
model: opus
description: "Architect perspective analysis"
prompt: |
PROBLEM: [insert $1 here]
CONTEXT: [insert $2 here, default .]
THINK AS AN ARCHITECT:
1. Where does this fit in the system?
2. What are the boundaries and interfaces?
3. What invariants might be violated?
4. What are the ripple effects of changes?
5. Is this a local issue or systemic?
Output: Architectural context and implications
subagent_type: feature-dev:code-explorer
description: "Code explorer analysis"
prompt: |
PROBLEM: [insert $1 here]
CONTEXT: [insert $2 here, default .]
EXPLORE THE CODEBASE:
1. Find all code related to this problem
2. How is this pattern used elsewhere?
3. What's the history of this code?
4. What tests exist for this area?
5. Similar problems solved before?
Output: Relevant code map with file:line references
→ IMMEDIATELY proceed to Phase 2 when agents complete. DO NOT STOP.
Launch BOTH agents in PARALLEL:
subagent_type: dotnet-mtp-advisor
model: opus
description: "Solution synthesis"
prompt: |
Given the 3 perspectives from Phase 1:
SYNTHESIZE SOLUTIONS:
For each potential solution:
1. What it addresses
2. Implementation approach
3. Complexity (1-10)
4. Confidence (%)
5. Reversibility
6. Time to implement
RANK: confidence × impact / (complexity × risk)
Output: Top 3 solutions with trade-offs
subagent_type: feature-dev:code-reviewer
description: "Devil's advocate review"
prompt: |
CHALLENGE each proposed solution:
For each:
1. What could go wrong?
2. Worst case scenario?
3. Hidden assumptions?
4. What would make this fail?
5. Is there a simpler approach?
Output: Risk analysis and blind spots
→ IMMEDIATELY proceed to Phase 3 when agents complete. DO NOT STOP.
Present the final consolidated output:
| Solution | Confidence | Risk | Complexity |
|---|---|---|---|
| Option A | X% | Low/Med/High | 1-10 |
| Option B | X% | Low/Med/High | 1-10 |
| Option C | X% | Low/Med/High | 1-10 |
Recommended: [Option X] Reasoning: [Why this is best given trade-offs] Next Steps: [Concrete actions to take]