01
It starts by itself
PR changes Go files. Runs in GitHub Actions or Claude Code routine.
- ↻ PR changes Go files
pull_request paths: **/*.go
Go changes that pass every gate.
Install the Golang Pro skill and make it a habit: follow https://gethabit.dev/skills/jeffallan/golang-pro.md
19K installs12K starsMIT licenceSource on GitHub ↗

Golang Pro
by Jeffallan · 19K installs
The skill
The golang pro skill helps agents write idiomatic Go: concurrency with goroutines and channels, gRPC or REST microservices, generics, error handling, pprof profiling and table-driven tests.
Only when you ask.
The habit
Go changes that pass every gate.
↻ Runs by itselfPR changes Go files
When does it start? How does it check its work? What does it remember?
Stops after one pull request and at most 2 fix retries.
The agent reads which issues came up in earlier runs.
It checks module structure, small interfaces and goroutine lifecycles with the matching reference file.
It checks context on blocking calls, explicit error handling with %w and docs on exported names.
It runs go vet ./... and golangci-lint run and fixes every issue.
It runs table-driven tests with -race and checks coverage.
It records fixes and open points in the run log.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Golang Pro skill helps.
Go 1.21 or newer.
No. Profiling with pprof and benchmarks fit performance work, not every pull request.
Copy the prompt at the top into your agent. It installs the skill from Jeffallan/claude-skills and sets up the habit. Or run npx skills add Jeffallan/claude-skills --skill golang-pro.
Yes. It is published under MIT. Habit is free too.
Install the Golang Pro skill and make it a habit: follow https://gethabit.dev/skills/jeffallan/golang-pro.md
All Jeffallan skills →More code skills →
Works in
Made by Jeffallan, published under MIT. Habit links to the original and never changes it. Is this your skill?