Use when facing complex, multi-layered debugging issues that require coordinated investigation across different domains (frontend, backend, database, network, etc). Spawns specialized debug expert agents to handle specific aspects of the investigation.
74
68%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./plugins/product-design/skills/debug-orchestrator/SKILL.mdCoordinate complex debugging investigations by spawning and managing specialized debug expert agents. Use this when a debugging issue spans multiple domains or requires deep expertise in specific areas.
Invoke this skill when:
First, analyze the debugging request to understand:
Based on the analysis, spawn appropriate specialist agents:
| Agent Type | When to Use | Example Issues |
|---|---|---|
product-design:web-debugger | Browser-based issues, DOM manipulation, JavaScript errors | React component not rendering, event handlers failing, XHR errors |
product-design:console-debugging | JavaScript runtime errors, console warnings, client-side logs | Uncaught exceptions, deprecation warnings, third-party library errors |
product-design:network-inspection | API calls, HTTP requests, network failures | 404 errors, CORS issues, slow API responses, failed requests |
python-experts:django-expert | Django-specific backend issues | ORM queries, middleware errors, view logic, template rendering |
python-experts:fastapi-expert | FastAPI async issues, request validation | Async handler errors, Pydantic validation, dependency injection |
devops-data:cto-architect | System design issues, architecture decisions | Distributed system failures, scaling issues, design flaws |
security-compliance:mcp-security-expert | Security-related bugs, authentication issues | Auth failures, permission errors, input validation bypasses |
For each spawned agent:
After agents complete their investigations:
# Debugging Investigation: [Issue Title]
## Issue Summary
[Brief description of the problem]
## Evidence
- Error messages: [paste errors]
- Logs: [relevant log excerpts]
- Screenshots: [paths to screenshots]
- Reproduction steps: [how to trigger the issue]
## Investigation Plan
1. [Domain 1]: Spawn [agent-type] to investigate [specific aspect]
2. [Domain 2]: Spawn [agent-type] to investigate [specific aspect]
3. [Domain 3]: Spawn [agent-type] to investigate [specific aspect]
## Agent Assignments
- Agent 1 (web-debugger): Investigate browser console errors and DOM state
- Agent 2 (network-inspection): Analyze failed API calls and response codes
- Agent 3 (django-expert): Check backend logs and ORM query performance
## Expected Outputs
- Root cause analysis from each domain
- Specific code locations causing the issue
- Recommended fixes with code examplesFor independent investigations, spawn agents in parallel:
# Launch multiple debug agents concurrently
Task tool with multiple invocations:
1. web-debugger agent → investigate client-side errors
2. network-inspection agent → analyze API failures
3. django-expert agent → check backend logsFor dependent investigations, proceed sequentially:
Step 1: Network inspection to identify failing endpoint
→ Result: POST /api/users/create returns 500
Step 2: Backend investigation (django-expert) on that specific endpoint
→ Result: Database constraint violation
Step 3: Database schema review to understand constraint
→ Result: Missing foreign key validationSee examples/ directory for complete debugging scenarios:
examples/frontend-api-failure.md - UI component breaks due to API changesexamples/performance-degradation.md - Multi-layer performance investigationexamples/auth-flow-failure.md - Authentication issue spanning frontend and backendAfter investigation, provide:
# Debugging Results: [Issue Title]
## Root Cause
[Clear explanation of what's causing the issue]
## Contributing Factors
1. [Factor 1 from Agent A findings]
2. [Factor 2 from Agent B findings]
3. [Factor 3 from Agent C findings]
## Recommended Fix
[Step-by-step fix with code examples]
## Verification Steps
1. [How to verify the fix works]
2. [How to prevent regression]
## Prevention
[How to avoid this issue in the future]❌ Spawning too many agents at once: Limit to 3-4 parallel agents to avoid overwhelming coordination ❌ Vague agent instructions: Always provide specific investigation scope ❌ Ignoring obvious causes: Check simple explanations before orchestrating complex investigation ❌ Not sharing agent findings: Ensure all agents have access to collective knowledge ❌ Over-engineering simple bugs: Use direct debugging for straightforward issues
This skill complements existing debugging tools:
/product-design:console-debugging for immediate console analysis/product-design:network-inspection for quick network checksUser: "The checkout flow is broken - payment processing fails intermittently"
Orchestrator Analysis:
- Symptom: Intermittent payment failures
- Affected layers: Frontend (React), API (FastAPI), Payment Gateway (Stripe), Database
- Evidence needed: Console logs, network traces, backend logs, payment gateway logs
Investigation Plan:
1. Spawn web-debugger: Check for JavaScript errors during checkout
2. Spawn network-inspection: Analyze payment API calls and response codes
3. Spawn fastapi-expert: Review payment endpoint implementation and error handling
4. Spawn security-compliance: Verify API key handling and secure communication
Parallel Execution:
→ Launch all 4 agents with specific scopes
→ Wait for completion
→ Synthesize findings
Synthesis:
- Web-debugger: Found uncaught promise rejection in payment handler
- Network-inspection: Saw 429 rate limit errors from Stripe API
- FastAPI-expert: Confirmed missing retry logic for rate-limited requests
- Security: Verified API keys are properly secured
Root Cause: Missing retry logic + no error handling for rate limits
Fix: Implement exponential backoff retry logic with proper error handling0ebe7ae
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.