go-expert

go-expert is a skill for Claude Code from Aarvion-AI/stackwise-skills. It costs 117 tokens per session (2,267 once invoked), scanned A, original, MIT.

A specialist guide for building and reviewing Go backend services, which are server programs written in the Go programming language.

In plain words
What is it for?
Use it to build HTTP APIs, fix error or cancellation bugs, design safe goroutine workflows, work with PostgreSQL through pgx and sqlc, and write tests.
Why use it?
It provides consistent ways to handle web requests, errors, cancellation, concurrent work, databases, and tests while matching the existing project structure.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the stackwise plugin — 15 skills shipped together

Good fit Use it to build HTTP APIs, fix error or cancellation bugs, design safe goroutine workflows, work with PostgreSQL through pgx and sqlc, and write tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aarvion-ai/stackwise-skills/go-expert
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.

Any agent
npx skills add Aarvion-AI/stackwise-skills --skill go-expert
Clone the repo
git clone --depth 1 https://github.com/Aarvion-AI/stackwise-skills

Made for: Claude Code.

Or install stackwise, the plugin that ships this one along with the rest of its 15 skills.

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 go-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/aarvion-ai/stackwise-skills/go-expert/github.svg)](https://agentmods.dev/skills/aarvion-ai/stackwise-skills/go-expert)
Your own site
<a href="https://agentmods.dev/skills/aarvion-ai/stackwise-skills/go-expert"><img src="https://agentmods.dev/badge/skills/aarvion-ai/stackwise-skills/go-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for go-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/aarvion-ai/stackwise-skills/go-expert"><img src="https://agentmods.dev/badge/skills/aarvion-ai/stackwise-skills/go-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,267 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00117 $0.02267
Opus 5 $0.00059 $0.01133
Sonnet 5 $0.00023 $0.00453
Haiku 4.5 $0.00012 $0.00227

Measured 9d ago against content hash 49c684aed9fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

go-expert scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

5. **Prove it works** - Build and run the actual entrypoint (`go run ./cmd/<service>` or the repo's make target) and exercise the changed behavior: `curl` the new endpoint, run the migration, or trigger the job. For serv
skills/go-expert/SKILL.md · 123 lines

How it starts

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

Go Expert

Senior Go backend engineer for Go 1.23+ services: stdlib-first HTTP, disciplined error and context handling, leak-free concurrency, and pgx/sqlc data access.

When to Use This Skill

  • Build or extend an HTTP API/service in Go (handlers, routing, middleware, graceful shutdown)
  • Fix error handling: wrapping with %w, errors.Is/errors.As, sentinel vs typed errors
  • Debug or design concurrency: goroutine leaks, errgroup, channels, worker pools, cancellation
  • Add or refactor database access with pgx v5 and sqlc (transactions, pooling, migrations)
  • Write table-driven tests, integration tests with testcontainers, or fix -race failures
  • Review Go code for idiom violations, over-abstraction, or misuse of generics/interfaces
  • Lay out a new Go service (cmd/, internal/, module structure)

Core Workflow

  1. Analyze - Read go.mod for the Go version and existing dependencies before adding any. Check for an existing router, logger, and DB layer and match them - do not introduce chi/zap/GORM into a stdlib/slog/pgx codebase. Look for internal/ structure and follow the established package boundaries.
  2. Implement - Write the change following the patterns below and in the loaded references. Stdlib first: net/http ServeMux, log/slog, database/sql semantics via pgx. Accept interfaces, return concrete types. Every function that does I/O takes ctx context.Context as its first parameter.
  3. Verify (vet + lint) - Run go vet ./..., then golangci-lint run ./... if the repo has a .golangci.yml (or golangci-lint is installed). If either reports problems, fix all reported issues and re-run until clean before proceeding. Do not suppress findings with //nolint unless there is a documented false positive.
  4. Test - Write or update table-driven tests for the change, then run go test -race ./.... If any test fails or the race detector reports a data race, fix all reported issues and re-run until clean. Never delete or skip a failing test to get green; fix the code or the test's expectations deliberately.
  5. Prove it works - Build and run the actual entrypoint (go run ./cmd/<service> or the repo's make target) and exercise the changed behavior: curl the new endpoint, run the migration, or trigger the job. For services, confirm graceful shutdown works (Ctrl-C returns promptly, no goroutines hang). If the run fails, fix and re-run until the observed behavior matches the requirement.

Read the full file on GitHub · 123 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 123 lines · 117 tokens per session scan A 49c684aed9fc

Subscribe to this mod's changes

go-expert is a skill published in the GitHub repository Aarvion-AI/stackwise-skills (5 stars, last pushed 6d ago), licensed MIT. It adds 117 tokens to every session and 2,267 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

go-expert

Expert-level Go development with Go 1.22+ features, concurrency, standard library, and production-grade best practices. Use when the user mentions concurrency, microservices, or backend, or when the task involves idiomatic Go, goroutines and channels, context-based cancellation, or writing an HTTP server.

personamanagmentlayer/pcl · 65 tokens

chi

Chi lightweight Go HTTP router. Covers routing, middleware, context, and patterns. Use for idiomatic, stdlib-compatible Go APIs. USE WHEN: user mentions "chi", "go-chi", "lightweight go router", "stdlib go router", asks about "chi middleware", "chi router", "chi context", "idiomatic go api", "net/http compatible…

claude-dev-suite/claude-dev-suite · 119 tokens

echo

Echo Go web framework. Covers routing, middleware, binding, context, and WebSocket. Use for high-performance, minimalist Go APIs. USE WHEN: user mentions "echo", "labstack echo", "go echo framework", asks about "echo middleware", "echo context", "echo binding", "echo websocket", "high performance go api", "echo…

claude-dev-suite/claude-dev-suite · 112 tokens

gin

Gin Go web framework. Covers routing, middleware, binding, validation, and rendering. Use for fast, minimalist Go APIs. USE WHEN: user mentions "gin", "gin-gonic", "go web framework", "go rest api", asks about "gin middleware", "gin binding", "gin validation", "gin router", "fast go api", "gin context" DO NOT USE FOR…

claude-dev-suite/claude-dev-suite · 114 tokens

functions-development

Build serverless Go or Python functions for Falcon Foundry apps. TRIGGER when user asks to "create a function", "write a serverless function", "build backend logic", runs foundry functions create, or needs help with FDK handler patterns, function testing, or collection integration from functions. Also TRIGGER when…

CrowdStrike/foundry-skills · 195 tokens

fiber

Fiber Go web framework inspired by Express. Covers routing, middleware, context, WebSocket, and prefork. Use for Express-like Go development. USE WHEN: user mentions "fiber", "gofiber", "express-like go", "fasthttp go", asks about "fiber middleware", "fiber context", "fiber prefork", "fiber websocket", "go express"…

claude-dev-suite/claude-dev-suite · 120 tokens