golang-troubleshooting

Installation
SKILL.md

Adapted from samber/cc-skills-golang@golang-troubleshooting. Pair with golang-common-practice for shared verification guidance.

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

Modes:

  • Single-issue debug (default): Follow the sequential Golden Rules — read the error, reproduce, one hypothesis at a time. Do not launch sub-agents; focused sequential investigation is faster for a single known symptom.
  • Codebase bug hunt (explicit audit of a large codebase): sweep every applicable bug category (nil/interface, resources, error handling, races, context/slice/map). Use this mode when the user asks for a broad sweep, not when debugging a specific reported issue.

Dependencies:

  • dlv: go install github.com/go-delve/delve/cmd/dlv@latest

Go Troubleshooting Guide

NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST. Symptom fixes create new bugs and waste time. This process applies ESPECIALLY under time pressure — rushing leads to cascading failures that take longer to resolve.

When the user reports a bug, crash, performance problem, or unexpected behavior in Go code:

Installs
10
Repository
bateau84/skills
First Seen
13 days ago