AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Go Engineering

skill-mfmezger-ai-agent-dotfiles-go-engineering · by mfmezger

Comprehensive Go engineering guidance for coding agents. Use when writing, reviewing, refactoring, or debugging Go code; designing packages and exported APIs; improving error handling, interfaces, concurrency, contexts, cancellation, tests, benchmarks, and module layout; or reviewing Go pull requests for idioms and maintainability. Trigger on Go, golang, go.mod, interfaces, goroutines, channels,…

No reviews yet
0 installs
23 views
0.0% view→install

Install

$ agentstack add skill-mfmezger-ai-agent-dotfiles-go-engineering

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-mfmezger-ai-agent-dotfiles-go-engineering)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Go Engineering? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Go Engineering

Produce Go that is small in surface area, explicit in behavior, and easy to read under review. Prefer straightforward package boundaries, concrete types first, small interfaces where they help callers, explicit error handling, and concurrency that can be reasoned about.

Workflow

  1. Identify the package boundary.

Library: optimize for small exports, concrete behavior, and compatibility. Application: optimize for operability, wiring clarity, and cancellation-aware execution.

  1. Model the package API before adding helpers.

Keep exported identifiers minimal and make zero values useful when practical.

  1. Choose concrete types first.

Introduce interfaces where consumers benefit, not as a reflex.

  1. Design error flow early.

Wrap with context, support errors.Is and errors.As, and keep sentinel errors narrow.

  1. Add concurrency only where it simplifies latency or throughput.

Cancellation, shutdown, ownership, and goroutine lifetime must be explicit.

  1. Verify before finalizing.

Run gofmt, go test ./..., and go vet ./... when appropriate. Add go test -race ./... for concurrency-sensitive code. Keep examples and benchmarks honest.

Load References By Need

| Need | Reference | |---|---| | Package layout, modules, exported API shape, CLI/app structure | references/workflow.md | | Errors, wrapping, sentinels, concrete types vs interfaces | references/api-and-errors.md | | Concurrency, channels, contexts, goroutines, shutdown | references/concurrency.md | | Testing, table tests, fuzzing, benchmarks, temp dirs | references/testing-and-quality.md | | Performance, allocations, slices, maps, common footguns | references/performance-and-footguns.md |

Default Standards

  • Keep packages focused and exports intentional.
  • Start with concrete types; accept interfaces when they improve the consuming code.
  • Pass context.Context explicitly for request-scoped or cancelable work.
  • Return errors, wrap them with context, and avoid panic for ordinary failures.
  • Prefer simple loops and data flow over abstraction-heavy “framework” patterns.
  • Keep goroutine ownership clear. Every goroutine should have a reason to exit.
  • Make the zero value useful when practical and not misleading.

Code Review Checklist

  • Is the package API smaller than the implementation internals?
  • Are interfaces consumer-driven rather than speculative?
  • Do wrapped errors retain useful identity and context?
  • Can every goroutine stop, and is cancellation propagated?
  • Are channels owned clearly, with close responsibility obvious?
  • Are tests covering error cases and boundary behavior, not only happy paths?
  • Is complexity coming from the problem, or from avoidable abstractions?

Sources and Influences

This skill synthesizes ideas from the following public Go skill work rather than copying any one source directly:

  • maragudk go: https://agent-skills.md/skills/maragudk/skills/go
  • ilude go-workflow: https://agent-skills.md/skills/ilude/claude-code-config/go-workflow
  • julianobarbosa writing-go: https://agent-skills.md/skills/julianobarbosa/claude-code-skills/writing-go
  • 0xbigboss go-best-practices: https://agent-skills.md/skills/0xbigboss/claude-code/go-best-practices
  • GitHub agent skills guidance: https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/create-skills

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.