golang
Skill4 starsChanged 11 days agoMITView on GitHub
Apply evidence-backed Go rules for bounds, APIs, errors, concurrency, Temporal, tests, rollout, and controllers. Use when changing Go services, handlers, workflows, or tests.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- speakeasy-api/gramtheir own version, first seen Nov 6, 2026
- its-ash/skillstheir own version, first seen Nov 1, 2026
- rogue-dev-studio/ai-agents-roguetheir own version, first seen Nov 1, 2026
- lrstanley/skillstheir own version, first seen Nov 1, 2026
- turkeryildirim/ai-skillstheir own version, first seen Nov 1, 2026
- bsene/skillstheir own version, first seen Oct 25, 2026
Used with
Projects with it also use clean-code.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
xenitV1Skillclean-code
Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- JanDeDobbeleer/oh-my-posh★ 24ksame name
- speakeasy-api/gram★ 277same name
- maroffo/claude-forge★ 17same name
- saisudhir14/claude-skills★ 8same name
- bsene/skills★ 7same name
- turkeryildirim/ai-skills★ 4same name
- KailasMahavarkar/agentic-skills★ 2same name
- rogue-dev-studio/ai-agents-rogue★ 2same name
- squall-chua/skills★ 2same name
- amirex128/backend_golang_skills★ 1same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository117 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibilitySkill
- agent-watchdogSkill
- aipSkill
- animateSkill
- animation-performanceSkill
- animation-vocabularySkill
- ask-benSkill
- ask-sonnerSkill
- bazelSkill
- bend-lawsSkill
- blast-radiusSkill
- brain-dumpSkill
- break-uiSkill
- ci-fixesSkill
- codebase-designSkill
- codex-compatSkill
- codexSkill
- commit-push-prSkill
- connect-querySkill
- create-verification-skillSkill
- demoSkill
- development-lifecycleSkill
- diagnosing-bugsSkill
- docsSkill
- dogfoodSkill
- domain-modelingSkill
- e2e-testingSkill
- effect-tsSkill
- effect-v3-to-v4Skill
- efficient-frontierSkill
- eli5Skill
- excalidraw-diagramSkill
- extend-harnessSkill
- frontend-invariantsSkill
- frontend-starter-kitSkill
- full-sendSkill
- gesturesSkill
- golang-reviewSkill
- goSkill
- grillingSkill
- handoffSkill
- hook-auditSkill
- implement-specSkill
- improve-animationsSkill
- improve-codebase-architectureSkill
- improveSkill
- launchdarklySkill
- lie-detectorSkill
- maintain-verification-skillSkill
- make-pr-easy-to-reviewSkill
- mobile-nativeSkill
- plan-arbiterSkill
- plow-aheadSkill
- postgresqlSkill
- primeSkill
- productSkill
- protobufSkill
- prototypeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Use optional only for semantic presence.
- Very specific: line 28
Prefer positive config booleans, except negative disabled when the zero value must fail closed.
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
This core routes to domain guidance; /golang-review owns the aggregate rule catalog. /aip owns resource design; this skill owns Go implementation.
Non-negotiables
- Bound tenant-controlled memory, cardinality, fan-out, concurrency, and response size.
- Traverse protos with generated getters:
a.GetB().GetC(). - Proto annotations own field contracts; do not duplicate handler validation.
- Use
optionalonly for semantic presence; update intent belongs in masks. - Collections are paginated, filterable
List;Getreturns one resource. - At API boundaries, log internal causes and return structured Connect/gRPC errors with stable reasons and public paths. Preserve upstream per-item granularity.
- Security fails closed; secrets are references, never plaintext input, storage, output, or logs.
- Bound retry/backoff inside the owning timeout.
- Reuse semantic config types, not strings or bool sets.
- Feature-flag risky mixed-version rollout and remove flags after convergence.
- Bootstrap files wire; packages own behavior.
- Integration tests cross real boundaries; tests assert stable behavior, not paths or incidental text.
Contextual tensions
- Prefer positive config booleans, except negative
disabledwhen the zero value must fail closed. - Exhaustive enum switches reject unknowns; intentional subsets document ignored values.
- gRPC keepalive depends on every intermediary.
- New AIP surfaces use bounded filter strings; preserve established typed filters for compatibility.
- Fakes suit unit tests, never claims of protocol, role, provider, or container compatibility.
Load by task
| Work | Read |
| Protos, handlers, Connect/gRPC, public errors | PROTO-API.md |
| Goroutines, caches, shutdown, shared state | CONCURRENCY.md |
| Errors, logging, metrics | ERRORS.md |
| Tests and CI | TESTING.md |
| Temporal | TEMPORAL.md |
| Tenant input, egress, authz, secrets, destructive ops | SECURITY.md |
| Flags, deprecation, schema removal | ROLLOUT.md |
| Packages, storage, interfaces | STRUCTURE.md |
| Operators and reconcilers | CONTROLLERS.md |
| Go 1.27 APIs and leak profiles | GO-1.27.md |
Hooks warn on unreserved shipped proto removals and floating test images. Review diffs with /golang-review.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

