Install
$ agentstack add skill-mfmezger-ai-agent-dotfiles-go-engineering ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →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
- Identify the package boundary.
Library: optimize for small exports, concrete behavior, and compatibility. Application: optimize for operability, wiring clarity, and cancellation-aware execution.
- Model the package API before adding helpers.
Keep exported identifiers minimal and make zero values useful when practical.
- Choose concrete types first.
Introduce interfaces where consumers benefit, not as a reflex.
- Design error flow early.
Wrap with context, support errors.Is and errors.As, and keep sentinel errors narrow.
- Add concurrency only where it simplifies latency or throughput.
Cancellation, shutdown, ownership, and goroutine lifetime must be explicit.
- 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.Contextexplicitly 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.
- Author: mfmezger
- Source: mfmezger/aiagent_dotfiles
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.