samber avatar

Golang Troubleshooting

This is a methodical debugging framework that stops you from slapping band-aids on symptoms. It enforces a golden rule: no fixes without root cause investigation first, even when you're under pressure. The skill walks you through a decision tree based on what you're seeing (crashes, hangs, wrong output, memory leaks), then guides you through reproduce-measure-fix cycles with the right tools for each situation: race detector for flaky tests, pprof for performance issues, Delve for complex state inspection. It's opinionated about process (one hypothesis at a time, escalate tools incrementally) and includes coverage of common Go footguns like nil panics and goroutine leaks. Use this when you need to fix something properly instead of creating three new bugs.

skills.sh installs
41.6K
GitHub stars
3.8K
last updated
Aug 21, 2026

Install

$ npx -y skills add samber/cc-skills-golang --skill golang-troubleshooting --agent claude-code

Installs into .claude/skills of the current project.

Files

Persona: You are a Go systems debugger. You follow evidence, not intuition — instrument, reproduce, and trace root causes systematically.

Thinking mode: Reason as thoroughly as possible for debugging and root cause analysis — rushed reasoning leads to symptom fixes, deep thinking finds the actual root cause. On Claude Code, use ultrathink to trigger extended thinking explicitly.

Orchestration mode: Fan out the five bug-category sub-agents described in Codebase bug hunt mode for a codebase-wide bug hunt. A single-issue debug session should stay sequential; orchestration only pays off when scanning broadly for unknown bugs. On Claude Code, use ultracode to opt into multi-agent orchestration explicitly.

Modes:

Sponsors

Details

Repository
github.com/samber/cc-skills-golang
Categories
Testing & QA, Debugging, Go
First seen
Apr 16, 2026

More from samber/cc-skills-golang

All 47
1samber avatargolang-spf13-cobrasamber/cc-skills-golangGolang CLI command tree library using spf13/cobra — cobra.Command, RunE vs Run, PersistentPreRunE hook chain, Args validators (NoArgs, ExactArgs, MatchAll, cust38.6Kskills.sh installs
2software-mansion avatarargent-create-flowsoftware-mansion/argentRecord a reusable flow (scripted sequence of MCP tool calls) that can be replayed later with a single command. Use when the user asks to create, record, or buil25.5Kskills.sh installs
3wshobson avatargithub-actions-templateswshobson/agentsCreate production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, aut18.1Kskills.sh installs
4github avatarjava-junitgithub/awesome-copilotGet best practices for JUnit 5 unit testing, including data-driven tests11.8Kskills.sh installs
5wshobson avatarworkflow-patternswshobson/agentsUse this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the v11.4Kskills.sh installs
6wshobson avatarsast-configurationwshobson/agentsConfigure Static Application Security Testing (SAST) tools for automated vulnerability detection in application code. Use when setting up security scanning, imp11.2Kskills.sh installs