go-standards

go-standards is a skill for Claude Code, Codex from leefowlercu/agent-kit. It costs 89 tokens per session (1,039 once invoked), scanned A, original, MIT.

A set of engineering rules for writing, reviewing, refactoring, and testing Go code, the programming language created at Google.

In plain words
What is it for?
Use it when changing Go packages, command-line tools, libraries, parsers, configuration, errors, documentation, concurrency code, or tests.
Why use it?
It gives Go work a consistent approach focused on readable code, standard-library patterns, compatibility, and tests.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the go-standards plugin — 1 skill shipped together

Good fit Use it when changing Go packages, command-line tools, libraries, parsers, configuration, errors, documentation, concurrency code, or tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leefowlercu/agent-kit/go-standards
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 leefowlercu/agent-kit --skill go-standards
Clone the repo
git clone --depth 1 https://github.com/leefowlercu/agent-kit

Made for: Claude Code, Codex.

Or install go-standards, the plugin that ships this one along with the rest of its 1 skill.

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-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/leefowlercu/agent-kit/go-standards/github.svg)](https://agentmods.dev/skills/leefowlercu/agent-kit/go-standards)
Your own site
<a href="https://agentmods.dev/skills/leefowlercu/agent-kit/go-standards"><img src="https://agentmods.dev/badge/skills/leefowlercu/agent-kit/go-standards/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-standards

Your own site · 80×15
<a href="https://agentmods.dev/skills/leefowlercu/agent-kit/go-standards"><img src="https://agentmods.dev/badge/skills/leefowlercu/agent-kit/go-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,039 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00089 $0.01039
Opus 5.5 $0.00036 $0.00416
Sonnet 5.5 $0.00018 $0.00208
Haiku 4.5 $0.00009 $0.00104

Measured 1mo ago against content hash f3bcf5f70f08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

go-standards 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 1mo 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.

plugins/go-standards/skills/go-standards/SKILL.md · 66 lines

How it starts

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

Go Standards

Operating Mode

Use this skill to make Go code boring, explicit, well-tested, and compatible. Prefer the Go standard library's ordinary public-package style over clever runtime/compiler/internal tricks.

Precedence

This skill holds the user's personal Go defaults. It fills gaps; it does not override the project.

When guidance conflicts, follow the first source that addresses it:

  1. The user's instructions in the current conversation.
  2. The project's written standards: the nearest AGENTS.md or CLAUDE.md, CONTRIBUTING.md, and style or architecture docs.
  3. The project's enforced tooling: .golangci.yml, pre-commit hooks, and the checks CI runs.
  4. The conventions in the surrounding code: package layout, naming, error wording, and test libraries and structure. If the repository is inconsistent, match the nearest code (the same package or module).
  5. This skill, including its references.
  • Do not restructure, rename, or reformat existing code to match this skill unless the user asks.
  • Apply this skill's layout and style rules only where the project has no rule or pattern of its own.
  • In reviews, judge code against the project's conventions, not this skill's.
  • When following the project means departing from this skill in a way the user might not expect, say so in one line.

Core Workflow

  1. Classify the task as implementation, bug fix, API design, refactor, review, or diagnosis.
  2. Before proposing code, check Precedence sources 2-4: instruction files, lint and CI configuration, go.mod, and the target package and its tests.
  3. Write or update tests first when behavior changes; use the standard testing package unless the project uses another test library.
  4. Implement the smallest API and implementation that satisfies the tests and the project's conventions.
  5. Run gofmt, or the project's configured formatter, on changed Go files, then run the narrowest meaningful go test command. Broaden to go test ./... when shared behavior or package boundaries changed.
  6. Report exact commands run and any unverified risk.

Read the full file on GitHub · 66 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. 1mo ago Changed · +14 lines · +12 tokens per session f3bcf5f70f08
  2. 2mo ago Changed · +1 lines f384f5eee3de
  3. 3mo ago First seen · 51 lines · 77 tokens per session scan A 73eb7945a574

Subscribe to this mod's changes

go-standards is a skill published in the GitHub repository leefowlercu/agent-kit (9 stars, last pushed 29d ago), licensed MIT. It adds 89 tokens to every session and 1,039 once invoked, about $0.0004 per session on Opus 5.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-31.

Related

go-standards compared with skills from other repositories

go-standards next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
go-standardsleefowlercu/agent-kitSkill929d agoMITA89Claude Code, Codex
golang-testingaffaan-m/ECCSkill314kyesterdayMITA37Claude Code, Kiro
golang-patternsaffaan-m/ECCSkill314kyesterdayMITA45Claude Code, Kiro
ax-go-agent-optimizeax-llm/axSkill3.0ktodayApache-2.0A51Claude Code, Codex
golang-testingsamber/cc-skills-golangSkill4.0k22d agoMITA115Claude Code
golang-samber-oopssamber/cc-skills-golangSkill4.0k22d agoMITA74Claude Code
golang-uber-fxsamber/cc-skills-golangSkill4.0k22d agoMITA122Claude Code