
Go concurrency review
Reviews Go code for goroutine leaks, data races, channel misuse and context handling
Go concurrency review is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 90
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Go concurrency review
This skill gives an AI coding agent a checklist and set of construction rules for concurrent Go code. It covers goroutine lifecycle, channel ownership and closing, mutexes and atomics, context propagation and avoiding mutable globals, and it is meant for writing new concurrent code as well as reviewing changes.
The agent works in one of three modes: implementation, a default diff review, or a leak and race hunt when a symptom such as a growing goroutine count or a race report is already observed. For full audits it runs separate passes over goroutine start points, shared state, channel topology and context use, and reports findings with file and line references. It ends by running the test suite under the Go race detector.
The skill relies on the Go toolchain, with race detection requiring cgo. Its allowed tools include reading, editing and searching files, plus go and gofmt commands. Detailed reference files cover channel sizing, mutex placement, panic recovery at goroutine boundaries and bounded fan-out.
When your agent uses it
Review and implement safe concurrency patterns in Go: goroutines, channels, sync primitives, context propagation, and goroutine lifecycle management. Use when writing concurrent code, reviewing async patterns, checking thread safety, debugging race conditions, or designing producer/consumer pipelines. Trigger examples: "check thread safety", "review goroutines", "race condition", "channel patterns", "sync.Mutex", "context cancellation", "goroutine leak". Not for: general style (go-coding-standards), HTTP handler patterns (go-api-design).
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Read, Edit, Write, Glob, Grep, Bash(go:*), Bash(gofmt:*)(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 4 files (18 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Download the skill folder from https://github.com/eduardo-sl/go-agent-skills and copy it into your agent's skills folder.
What it does
- Goroutine lifecycle checks
- Requires every goroutine to have a termination path through context, a closed channel or a WaitGroup.
- Channel ownership rules
- Explains who closes a channel, buffer sizing and signalling with empty struct channels.
- Mutex and atomic guidance
- Covers mutex placement, critical section scope, atomic counters and copy hazards.
- Context propagation review
- Checks that blocking operations select on context cancellation and that contexts are not stored in structs.
- Race detection workflow
- Directs the agent to run tests with the race detector and to localize leaks and deadlocks.
- Panic recovery at goroutine edges
- Describes recovering panics in background goroutines that run third-party or input-dependent code.
Good for
- Review my Go pull request for goroutine leaks
- Check this worker pool for data races
- Fix a deadlock between two channels
- Add context cancellation to a long-running Go worker
- Design a producer and consumer pipeline in Go
Go concurrency review FAQ
Does Go concurrency review need anything installed?
It requires the Go toolchain, and race detection requires cgo with CGO_ENABLED=1.
Which Go-specific tools does Go concurrency review use?
Its allowed tools include go and gofmt commands, and it finishes audits by running go test with the race flag.
Does Go concurrency review cover HTTP handlers?
No. HTTP handler patterns are handled by a separate go-api-design skill, and general style by go-coding-standards.
Does Go concurrency review run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Go concurrency review?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Go concurrency review?
The closest alternatives to Go concurrency review are Vibe concurrent test safety, Go code review, Axiom audit concurrency, Go troubleshooting and Go defensive coding.
Where this comes from
- Description: from the skill's own SKILL.md.
More from eduardo-sl/go-agent-skills

Guides Go agents in designing HTTP REST APIs, handlers, middleware and shutdown
- Open source
- 90 GitHub stars
- Developer tools

Reviews Go project structure, dependency direction and module boundaries
- Open source
- 90 GitHub stars
- Developer tools

Guides an AI agent to build Go command-line tools with clean flags, streams and exit codes
- Open source
- 90 GitHub stars
- Developer tools

Guides Go code toward constructor injection, explicit wiring and no global state
- Open source
- 90 GitHub stars
- Developer tools

Guides Go code toward idiomatic design patterns like functional options and factories
- Open source
- 90 GitHub stars
- Developer tools

Guides building Go GraphQL servers with gqlgen, covering N+1 batching and query limits
- Open source
- 90 GitHub stars
- Developer tools



