Loading...
Loading...
Systematic debugging playbook for application errors and incidents: crashes, regressions, intermittent failures, production-only bugs, performance issues, stack traces, log/trace analysis, profiling, and distributed systems root cause analysis.
npx skill4agent add vasilyu1983/ai-agents-public qa-debugginggit bisect| Symptom | First Action | Common Pitfall |
|---|---|---|
| Crash/exception | Start at the first stack frame in your code; capture request/trace ID | Fixing the last error, not the first cause |
| Wrong output | Create a “known good vs bad” diff; isolate the first divergent state | Debugging from UI backward without narrowing inputs |
| Intermittent/flaky | Re-run with tracing enabled; correlate by IDs; classify flake type | Adding sleeps without proving a race |
| Slow/timeout | Identify the bottleneck (CPU/memory/DB/network); profile before changing code | “Optimizing” without a baseline measurement |
| Production-only | Compare configs/data volume/feature flags; use safe observability | Debugging interactively in prod without a plan |
| Distributed issue | Use end-to-end trace; follow a single request across services | Searching logs without correlation IDs |
| Need | Read/Use | Location |
|---|---|---|
| Step-by-step RCA workflow | Operational patterns | |
| Debugging approaches | Methodologies | |
| What/when to log | Logging guide | |
| Safe prod debugging | Production patterns | |
| Copy-paste checklist | Debugging checklist | |
| One-page triage | Debugging worksheet | |
| Incident response | Incident template | |
| Logging setup examples | Logging template | |
| Curated external links | Sources list | |
../qa-observability/SKILL.md../qa-refactoring/SKILL.md../qa-testing-strategy/SKILL.md../data-sql-optimization/SKILL.md../ops-devops-platform/SKILL.md../dev-api-design/SKILL.md