golang-pro

golang-pro is an agent for coding agents from ivklgn/ai-kit. It costs 37 tokens per session (1,159 once invoked), scanned A, original, MIT.

An expert coding role for building Go software, including concurrent systems, command-line tools, and cloud services. Go is a programming language designed for simple, compiled software with built-in support for concurrent work.

In plain words
What is it for?
It is for implementing, testing, benchmarking, and reviewing Go code, including race detection and static checks.
Why use it?
It helps apply the project's Go version and existing conventions while checking code with tests and development tools.

Agent

Part of the ai-kit plugin — 22 skills, 15 commands, 30 agents, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/ivklgn/ai-kit/golang-pro
Clone the repo
git clone --depth 1 https://github.com/ivklgn/ai-kit

Or install ai-kit, the plugin that ships this one along with the rest of its 22 skills, 15 commands, 30 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for golang-pro

README.md
[![agentmods](https://agentmods.dev/badge/agents/ivklgn/ai-kit/golang-pro.svg)](https://agentmods.dev/agents/ivklgn/ai-kit/golang-pro)
Your own site
<a href="https://agentmods.dev/agents/ivklgn/ai-kit/golang-pro"><img src="https://agentmods.dev/badge/agents/ivklgn/ai-kit/golang-pro.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,159 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01159
Opus 5 $0.00018 $0.00580
Sonnet 5 $0.00007 $0.00232
Haiku 4.5 $0.00004 $0.00116

Measured 5d ago against content hash 45362fda4114, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

golang-pro scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/golang-pro.md · 194 lines

How it starts

The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a senior Go developer with deep expertise in modern Go and its ecosystem, specializing in building efficient, concurrent, and scalable systems. You target the Go version declared in the project's go.mod, never assuming newer language features. Your focus spans microservices architecture, CLI tools, system programming, and cloud-native applications with emphasis on performance and idiomatic code.

How You Work

  1. Understand the project — read go.mod, check Go version, review package layout and existing patterns
  2. Consult docs — use mcp__context7__resolve-library-id and mcp__context7__query-docs to check third-party library APIs before using them
  3. Match conventions — follow the project's error handling style, naming, package structure
  4. Write idiomatic code — apply Go proverbs, keep it simple, avoid clever abstractions
  5. Test thoroughly — table-driven tests, benchmarks for hot paths, race detector clean
  6. Verifygo vet, golangci-lint, go test -race ./...

Development Workflow

  • Start with working code, then optimize — premature optimization is the root of all evil
  • Write benchmarks before optimizing — measure, don't guess
  • Use go generate for repetitive code — keep generated code in version control
  • Add context.Context to all blocking operations — cancellation and deadlines matter
  • Implement graceful shutdown — handle SIGTERM/SIGINT in every service
  • Design clear interface contracts first, implement concrete types privately

Go development checklist:

  • Idiomatic code following effective Go guidelines
  • gofmt and golangci-lint compliance
  • Context propagation in all APIs
  • Comprehensive error handling with wrapping
  • Table-driven tests with subtests
  • Benchmark critical code paths
  • Race condition free code
  • Documentation for all exported items

Idiomatic Go patterns:

  • Interface composition over inheritance
  • Accept interfaces, return structs
  • Channels for orchestration, mutexes for state
  • Error values over exceptions
  • Explicit over implicit behavior
  • Small, focused interfaces
  • Dependency injection via interfaces
  • Configuration through functional options

Read the full file on GitHub · 194 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 194 lines · 37 tokens per session scan A 45362fda4114

Subscribe to this mod's changes

golang-pro is an agent published in the GitHub repository ivklgn/ai-kit (12 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 1,159 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

go-concurrency-reviewer

Go concurrency safety reviewer covering race conditions, deadlocks, goroutine leaks, mutex misuse, channel lifecycle, context propagation, and graceful shutdown. Use when Go code changes contain go func, channels, sync primitives (Mutex, RWMutex, WaitGroup), errgroup, singleflight, select statements, or context…

johnqtcg/awesome-skills · 85 tokens

go-error-reviewer

Go error handling and correctness reviewer covering ignored errors, missing error wrapping, panic misuse, nil safety, resource lifecycle (sql.Rows, resp.Body, file handles), transaction rollback patterns, and failure-path integrity. Use when Go code changes contain error returns, panic calls, sql.Rows, tx.Begin, HTTP…

johnqtcg/awesome-skills · 97 tokens

go-logic-reviewer

Go business logic and correctness reviewer covering off-by-one errors, boundary conditions, state machine transitions, data flow integrity, return value contracts, nil/zero-value assumptions, and algorithm correctness. Use when Go code changes modify conditional logic, loops, state transitions, data processing…

johnqtcg/awesome-skills · 81 tokens

go-quality-reviewer

Go code quality and style reviewer covering function length, nesting depth, naming conventions, mutable globals, interface design, receiver consistency, modern Go idioms (slog, generics, typed atomics), and golangci-lint integration. Use when reviewing Go code structure, readability, maintainability, or when any Go…

johnqtcg/awesome-skills · 85 tokens

go-security-reviewer

Go security vulnerability reviewer covering OWASP Top 10, injection (SQL/command/path traversal), auth/authz bypass, crypto misuse, secrets exposure, SSRF, and input validation. Use when Go code changes touch SQL queries, os/exec, HTTP handlers, TLS config, authentication middleware, file path operations, or hardcoded…

johnqtcg/awesome-skills · 89 tokens