exec-go
Skill4 starsChanged 5 days agoMITView on GitHub
Go execution idioms to embed into Codex prompts when the target project is Go — error handling, concurrency discipline, and standard project conventions.
In this repository76 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accounting-bookkeepingSkill
- agent-context-persistenceSkill
- asoSkill
- brainstorm-argumentationSkill
- brainstorm-debateSkill
- brainstorm-lensesSkill
- causal-inferenceSkill
- context-disciplineSkill
- creative-briefSkill
- customer-support-opsSkill
- data-quality-checksSkill
- design-fundamentalsSkill
- ecommerce-operationsSkill
- event-taxonomySkill
- exec-coding-standardsSkill
- exec-cppSkill
- exec-csharpSkill
- exec-deliverableSkill
- exec-github-actionsSkill
- exec-jvmSkill
- exec-phpSkill
- exec-pythonSkill
- exec-rubySkill
- exec-rustSkill
- exec-self-testingSkill
- exec-swiftSkill
- exec-typescriptSkill
- executor-fallbackSkill
- exec-visualizationSkill
- fast-pathSkill
- final-reviewSkill
- financial-auditSkill
- hr-recruitingSkill
- influencer-strategySkill
- interview-ask-backSkill
- interview-elicitationSkill
- jev-assistSkill
- json-data-wranglingSkill
- legal-contract-basicsSkill
- localization-copySkill
- manufacturing-ops-planningSkill
- marketing-attributionSkill
- media-planningSkill
- okr-planningSkill
- pack-game-analyticsSkill
- parallel-executionSkill
- performance-marketingSkill
- personal-financeSkill
- plan-architectureSkill
- plan-backlogSkill
- plan-research-firstSkill
- preflightSkill
- profile-contentSkill
- profile-designSkill
- profile-pilotSkill
- profile-planSkill
- real-estate-analysisSkill
- review-conformanceSkill
- review-dualSkill
- The first 60 shown.
The file
Files
Go Idioms (embed when project is Go)
Go standards:
- Errors are values: check every err; wrap with context (`fmt.Errorf("doing x: %w", err)`);
no panic in library code — reserve it for truly unrecoverable programmer errors.
- Accept interfaces, return concrete types; keep interfaces small and defined where consumed.
- Concurrency: every goroutine has a clear owner and exit path (context cancellation, closed
channel, WaitGroup) — no fire-and-forget leaks; guard shared state with mutex or channels,
never both ad hoc; pass context.Context as the first parameter through call chains.
- Zero values matter: design structs whose zero value is usable, or provide a constructor.
- defer for cleanup immediately after acquiring the resource.
- Follow gofmt (non-negotiable), golangci-lint if configured, and standard layout the repo
already uses (cmd/, internal/, pkg/).
- Naming: short receiver names, MixedCaps not underscores, exported identifiers documented with
a leading-name comment.
- Tests: table-driven with subtests (t.Run), t.Helper() in helpers; use the repo's assertion
style (stdlib vs testify) — don't introduce a new one.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.

