mirror of
https://github.com/wshobson/agents.git
synced 2026-03-18 17:47:16 +00:00
Repository Restructure: - Move all 83 agent .md files to agents/ subdirectory - Add 15 workflow orchestrators from commands repo to workflows/ - Add 42 development tools from commands repo to tools/ - Update README for unified repository structure The commands repository functionality is now fully integrated, providing complete workflow orchestration and development tooling alongside agents. Directory Structure: - agents/ - 83 specialized AI agents - workflows/ - 15 multi-agent orchestration commands - tools/ - 42 focused development utilities No breaking changes to agent functionality - all agents remain accessible with same names and behavior. Adds workflow and tool commands for enhanced multi-agent coordination capabilities.
2.1 KiB
2.1 KiB
model
| model |
|---|
| claude-sonnet-4-0 |
Debug complex issues using specialized debugging agents:
[Extended thinking: This tool command leverages the debugger agent with additional support from performance-engineer when performance issues are involved. It provides deep debugging capabilities with root cause analysis.]
Debugging Approach
1. Primary Debug Analysis
Use Task tool with subagent_type="debugger" to:
- Analyze error messages and stack traces
- Identify code paths leading to the issue
- Reproduce the problem systematically
- Isolate the root cause
- Suggest multiple fix approaches
Prompt: "Debug issue: $ARGUMENTS. Provide detailed analysis including:
- Error reproduction steps
- Root cause identification
- Code flow analysis leading to the error
- Multiple solution approaches with trade-offs
- Recommended fix with implementation details"
2. Performance Debugging (if performance-related)
If the issue involves performance problems, also use Task tool with subagent_type="performance-engineer" to:
- Profile code execution
- Identify bottlenecks
- Analyze resource usage
- Suggest optimization strategies
Prompt: "Profile and debug performance issue: $ARGUMENTS. Include:
- Performance metrics and profiling data
- Bottleneck identification
- Resource usage analysis
- Optimization recommendations
- Before/after performance projections"
Debug Output Structure
Root Cause Analysis
- Precise identification of the bug source
- Explanation of why the issue occurs
- Impact analysis on other components
Reproduction Guide
- Step-by-step reproduction instructions
- Required environment setup
- Test data or conditions needed
Solution Options
-
Quick Fix - Minimal change to resolve issue
- Implementation details
- Risk assessment
-
Proper Fix - Best long-term solution
- Refactoring requirements
- Testing needs
-
Preventive Measures - Avoid similar issues
- Code patterns to adopt
- Tests to add
Implementation Guide
- Specific code changes needed
- Order of operations for the fix
- Validation steps
Issue to debug: $ARGUMENTS