go-development

go-development is a skill for Claude Code from ProjAnvil/MindForge. It costs 84 tokens per session (2,018 once invoked), scanned A, original, MIT.

A guide for developing software in Go, a compiled programming language often used for servers and command-line tools. It focuses on Fiber web services, Cobra command-line programs, GORM database access, clean architecture, and concurrent code.

In plain words
What is it for?
Use it to build REST APIs, command-line tools, database-backed services, and Go programs using goroutines and channels.
Why use it?
It helps organize Go applications and handle web requests, databases, errors, tests, and concurrent work consistently.

Skill for Claude Code

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

Part of the mindforge-en plugin — 19 skills, 9 agents shipped together

Good fit Use it to build REST APIs, command-line tools, database-backed services, and Go programs using goroutines and channels.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/projanvil/mindforge/go-development
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 ProjAnvil/MindForge --skill go-development
Clone the repo
git clone --depth 1 https://github.com/ProjAnvil/MindForge

Made for: Claude Code.

Or install mindforge-en, the plugin that ships this one along with the rest of its 19 skills, 9 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/projanvil/mindforge/go-development"><img src="https://agentmods.dev/badge/skills/projanvil/mindforge/go-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,018 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.00084 $0.02018
Opus 5.5 $0.00034 $0.00807
Sonnet 5.5 $0.00017 $0.00404
Haiku 4.5 $0.00008 $0.00202

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

Security

Grade A, and why

go-development 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 16d 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/mindforge-en/skills/go-development/SKILL.md · 111 lines

How it starts

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

Go Development Skill

Language-first guidance: Go syntax, concurrency, and idioms. Framework-specific code lives in references/ and is linked below; keep language answers framework-neutral.

Gotchas

Each trap is written as Symptom -> Why -> Fix. Scan these before writing any concurrent code.

1. Data races and the Go memory model (DRF-SC)

  • Symptom: go test -race prints a DATA RACE report; results change between runs.
  • Why: Without a happens-before edge (channel send/receive, sync.Mutex, sync/atomic), a concurrent read/write is a data race. go.dev/ref/mem guarantees only DRF-SC: data-race-free programs behave sequentially consistent; racy ones are undefined, so the compiler and CPU may reorder freely.
  • Fix: Guard shared state with sync.Mutex/RWMutex or sync/atomic, or transfer ownership through a channel; never "fix" it with time.Sleep. Confirm with go test -race (go.dev/blog/race-detector).

2. context.Context cancellation and deadlines ignored

  • Symptom: a request times out but work keeps running; "context deadline exceeded" surfaces too late; resources pile up.
  • Why: context is a cancellation-signal tree, not a value bag; ignoring ctx.Done() leaves the goroutine with no stop condition, and a deadline helps only if every downstream call receives and honors ctx (go.dev/blog/context).
  • Fix: Take ctx as the first parameter, select on <-ctx.Done(), derive with context.WithCancel/WithTimeout/WithDeadline, call cancel() via defer, and propagate ctx to every blocking call.

3. Goroutine leaks

  • Symptom: goroutine count grows without bound in pprof; memory climbs; a worker never exits after its parent returns.
  • Why: A goroutine blocked on a channel send/receive with no future partner, or an infinite loop with no ctx.Done(), has no exit path; the runtime never garbage-collects blocked goroutines (go.dev/blog/pipelines).
  • Fix: Give every goroutine a stop condition (ctx.Done() in select), close channels to broadcast completion, and let the owner wait via sync.WaitGroup / errgroup so leaks become visible.

Read the full file on GitHub · 111 lines

Files

What ships with it

2 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. 16d ago Changed · -192 lines · +24 tokens per session be59ea705776
  2. 1mo ago Changed · +8 lines 8c7c76f89f7e
  3. 3mo ago First seen · 295 lines · 60 tokens per session scan A bd667339fa11

Subscribe to this mod's changes

go-development is a skill published in the GitHub repository ProjAnvil/MindForge (3 stars, last pushed 9d ago), licensed MIT. It adds 84 tokens to every session and 2,018 once invoked, about $0.0003 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-development compared with skills from other repositories

go-development next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
go-developmentProjAnvil/MindForgeSkill39d agoMITA84Claude Code
chiclaude-dev-suite/claude-dev-suiteSkill51todayMITA119Claude Code
echoclaude-dev-suite/claude-dev-suiteSkill51todayMITA112Claude Code
ginclaude-dev-suite/claude-dev-suiteSkill51todayMITA114Claude Code
fiberclaude-dev-suite/claude-dev-suiteSkill51todayMITA120Claude Code
go-backend-microservicesMindrally/skillsSkill3231mo agoApache-2.0A26Claude Code
agent-go-experttravisjneuman/.claudeSkill1152d agoMITA75Claude Code