go-idiomatic

go-idiomatic is a skill for Claude Code, Codex from Dankosik/go-service-template-rest. It costs 34 tokens per session (297 once invoked), scanned A, original, MIT.

A review method for Go code that tracks who owns errors, cancellation, mutable data, resources, and allowed zero values. Go is a programming language.

In plain words
What is it for?
Use it when changing Go APIs or code involving errors, contexts, pointers, shared data, resource lifetimes, interfaces, or zero-value behavior.
Why use it?
It helps preserve what callers can observe when changes affect error wrapping, context, nil values, aliases, method sets, or resource cleanup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when changing Go APIs or code involving errors, contexts, pointers, shared data, resource lifetimes, interfaces, or zero-value behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dankosik/go-service-template-rest/go-idiomatic
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 Dankosik/go-service-template-rest --skill go-idiomatic
Clone the repo
git clone --depth 1 https://github.com/Dankosik/go-service-template-rest

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-idiomatic/github.svg)](https://agentmods.dev/skills/dankosik/go-service-template-rest/go-idiomatic)
Your own site
<a href="https://agentmods.dev/skills/dankosik/go-service-template-rest/go-idiomatic"><img src="https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-idiomatic/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-idiomatic

Your own site · 80×15
<a href="https://agentmods.dev/skills/dankosik/go-service-template-rest/go-idiomatic"><img src="https://agentmods.dev/badge/skills/dankosik/go-service-template-rest/go-idiomatic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 297 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.00034 $0.00297
Opus 5.5 $0.00014 $0.00119
Sonnet 5.5 $0.00007 $0.00059
Haiku 4.5 $0.00003 $0.00030

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

Security

Grade A, and why

go-idiomatic 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 2mo 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/skills/go-idiomatic/SKILL.md · 32 lines

What it actually says

Go Idiomatic

Go correctness follows semantic ownership: who owns error identity, work lifetime, mutable backing storage, release, and the admissible zero state.

For a delegated Decision or Review, or when the active artifact requires its result interface, load the shared specialist contract. For every changed boundary, build one ownership story from producer through caller-visible observation. Name who may inspect the error, cancel the work, mutate aliased state, release the resource, construct a non-zero value, and reach each method through the stored type.

Configured linters prove mechanical shape, not that %w exposes the right cause, Close occurs in the owning scope, a clone has sufficient depth, or a typed nil is absent to its caller. A Decision assigns each obligation to one owner and observable contract. A Review tries the plausible wrong default at the actual caller boundary.

Complete when every changed semantic boundary has one owner, preserved caller-visible behavior, and focused proof or a named gap. Load the reference selector only when its stated pressure is observable in changed symbols or callers.

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. 2mo ago Changed · -2 tokens per session 174a1fa3dc5c
  2. 2mo ago Changed · +2 lines 4953ef03d386
  3. 3mo ago First seen · 30 lines · 36 tokens per session scan A f8292d33a187

Subscribe to this mod's changes

go-idiomatic is a skill published in the GitHub repository Dankosik/go-service-template-rest (8 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 297 once invoked, about $0.0001 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-idiomatic compared with skills from other repositories

go-idiomatic next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
go-idiomaticDankosik/go-service-template-restSkill82d agoMITA34Claude Code, Codex
design-reviewdimetron/pi-goSkill232todayMITA30Claude Code, Codex
agents-mddimetron/pi-goSkill232todayMITA138Claude Code, Codex
gemtrackerspaquet/gemtrackerSkill22yesterdayMITA49Claude Code, Codex
code-review-gosoulcodex/agenticSkill1011d agoMITA61Claude Code, Codex
go-code-reviewbeel-collab/presets.devSkill38d agoMITA43Claude Code, Codex
go-code-reviewcxuu/golang-skillsSkill1975mo agoApache-2.0A56Claude Code