golang-pro · qdhenry — Claude Code subagent: setup
golang-pro — a Go-focused subagent for architecture, implementation, refactoring, concurrency, APIs, testing, and performance work in Claude Code.
no license ★ 1,357 updated 2026-03-01
.claude/agents/golang-pro.mdWhat golang-pro does
golang-pro works on Go applications from system design through code changes. It can shape microservice and distributed-system boundaries, review gRPC or REST APIs, refine interfaces, and improve error handling. Its concurrency focus includes goroutines, channels, worker pools, fan-in/fan-out, cancellation with context, and race detection.
The agent can read and edit files, search a repository, run shell commands, and use WebFetch, WebSearch, context7, and sequential-thinking. Its workflow covers table-driven tests, benchmarks, pprof, module files such as go.mod and go.sum, and formatting with goimports. The configured model is sonnet, which is part of the agent setup.
Place the agent file at .claude/agents/golang-pro.md to use it in Claude Code.
What it helps with
- design Go microservice boundaries
- trace races in concurrent code
- review wrapped error handling
- profile CPU and memory with
pprof - build table-driven tests and benchmarks
Example prompts for the agent
- Design a Go service API with clear boundaries between its components.
- Review this concurrent code for races, goroutine leaks, and cancellation problems.
- Refactor the error flow and add table-driven tests with a benchmark.
How to install golang-pro
Manually: put the files in place
.claude/agents/golang-pro.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/golang-pro.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/golang-pro.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about golang-pro
How do I install golang-pro in Claude Code?
Place the agent file at .claude/agents/golang-pro.md.
What does golang-pro do?
It designs, writes, and refactors Go applications, including services, concurrent code, APIs, error handling, and tests. It also explains its design choices and examines performance issues.
Which tools does golang-pro use?
Its configuration includes file reading and editing, repository search, shell execution, WebFetch, WebSearch, plus the MCP tools context7 and sequential-thinking.
Similar subagents
All subagents for Programming languages →golang-pro by other authors comes first.