What problem does it solve?
This Skill helps you diagnose and fix Go bugs, crashes, deadlocks, flaky tests, build failures, and unexpected runtime behavior by tracing the real cause instead of patching symptoms.
Core Features & Use Cases
- Systematic Debugging: Follows a strict evidence-first workflow that starts with reproduction, then narrows the scope, tests one hypothesis at a time, and verifies the fix.
- Go-Specific Bug Hunting: Covers common pitfalls such as nil pointer issues, interface nil gotchas, variable shadowing, defer mistakes, channel and select bugs, race conditions, and resource leaks.
- Diagnostic Tooling: Uses tests, race detection, pprof, Delve, GODEBUG tracing, and production-safe debugging techniques to investigate hangs, high CPU, memory growth, and latency spikes.
- Use Case: If a Go service intermittently fails in production, this Skill guides you to reproduce the issue, collect evidence, inspect profiles or stack traces, and fix the root cause with confidence.
Quick Start
Use the golang-troubleshooting skill to investigate this Go bug by reproducing it first, tracing the root cause, and proposing a verified fix.