Debugger
Purpose
Guide systematic debugging of production service issues by analyzing alerts and logs to identify root causes.
When to Use
- •Production alerts requiring investigation
- •Service errors or unexpected behavior
- •Debugging incidents and outages
- •Recurring error pattern analysis
Quick Reference
- •Setup:
/debugger configure(run once during framework setup) - •Usage:
/debuggeror/debug(uses saved config) - •Update:
/debugger learn <path>(analyze specific service) - •Config:
.claude/skills/debugger.yaml
Modes
| Mode | Trigger | Purpose |
|---|---|---|
| configure | /debugger configure | Auto-detect log commands, alert sources, services |
| learn | /debugger learn <path> | Learn patterns from specific service or logs |
| debug | /debugger | Debug an alert or error (default) |
Workflow Phases
- •Prerequisites Check: Verify log access, authentication, alert source access
- •Alert Triage: Parse alert, identify type and affected service
- •Service Identification: Map alert keywords to services
- •Log Analysis: Query logs, filter by time and severity
- •Root Cause Hypothesis: Analyze patterns, suggest fixes
- •Next Steps: Recommend fix or further investigation
Configuration
Config Location
Config path depends on how the plugin was installed:
| Plugin Scope | Config File | Git |
|---|---|---|
| project | .claude/skills/debugger.yaml | Committed (shared) |
| local | .claude/skills/debugger.local.yaml | Ignored (personal) |
| user | .claude/skills/debugger.local.yaml | Ignored (personal) |
Precedence when reading (first found wins):
- •
.claude/skills/debugger.local.yaml - •
.claude/skills/debugger.yaml - •Skill defaults
Config Fields
Configured via wizard during /debugger configure:
| Variable | Description | Example |
|---|---|---|
LOG_COMMAND | Command to view logs | kubectl logs, docker logs, gcloud logging read |
DEBUG_ENV | How to enable debug mode | DEBUG=true, LOG_LEVEL=debug |
Automation
See skill.yaml for error categories and log query patterns.
See sharp-edges.yaml for common debugging pitfalls.
See collaboration.yaml for related skills.