
golang-troubleshooting
Troubleshoot Golang programs systematically - find and fix the root cause
by samberFree
Description
golang-troubleshooting is an agent skill from the samber cc-skills-golang collection for finding and fixing the root cause of bugs in Go programs, including crashes, deadlocks, data races and unexpected behaviour. Its persona is a Go systems debugger who follows evidence rather than intuition. Its central rule is that no fix is made before the root cause has been investigated, because symptom fixes tend to create new bugs, and the skill stresses that this matters most under time pressure. In single-issue mode, the default, the agent works sequentially: it reads the error, reproduces the problem, and tests one hypothesis at a time, without launching sub-agents. A codebase bug-hunt mode is for an explicit broad sweep and runs up to five parallel sub-agents, one for each bug category: nil and interface problems, resource handling, error handling, races, and context, slice and map misuse. The skill refers to dlv, the Delve debugger, which is installed with go install github.com/go-delve/delve/cmd/dlv@latest. It is useful for developers who have a specific failure they cannot yet explain, and it keeps the agent from jumping to a plausible-looking change before the evidence supports it. It is listed on skills.sh, where the page shows install counts and GitHub stars for the collection. Its security audits all pass, including Gen Agent Trust Hub, Socket and Snyk. Install it with npx skills add https://github.com/samber/cc-skills-golang --skill golang-troubleshooting.…
Highlights
- Root-cause investigation first
- Reproduce, then one hypothesis at a time
- Codebase bug hunt mode
- Crashes, deadlocks and races
- Delve debugger support
- Installs from skills.sh
Ratings & Reviews
No ratings yet
Be the first to rate golang-troubleshooting.
People also visit
golang-troubleshooting FAQ
What does this skill do?
It helps an agent find and fix the root cause of bugs, crashes, deadlocks and races in Go programs.
Does it allow quick fixes?
No. The skill's rule is that no fix is made before the root cause is investigated.
What is the bug-hunt mode?
A broad sweep of a codebase, with up to five sub-agents for nil and interface problems, resources, error handling, races, and context, slice and map misuse.
What debugger does it use?
Delve, installed with go install github.com/go-delve/delve/cmd/dlv@latest.
What are the security audit results?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
How popular is it?
The page shows about 38.2K installs, and the cc-skills-golang repository has 3.5K GitHub stars.
What are the best golang-troubleshooting alternatives?
Popular alternatives to golang-troubleshooting include golang-error-handling, golang-performance and go-performance. See all golang-troubleshooting alternatives






