go-skills
AGENTS.md1 starsChanged 5 months agoMITView on GitHub
This repository is a focused Agent Skills collection for production Go engineering. It uses a hybrid architecture: one skill per meaningful engineering concern, with deeper material stored in references and loaded only when relevant. The collection is standard-library-first. Do not add vendor-, framework-, or library-specific skills. Do not prescribe Cobra, Viper, Testify, Wire, dependency-injection containers, or similar packages. Existing project dependencies may be respected when a user explicitly places them in scope, but they must not become defaults in this…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,691 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository14 other files it gives its agents.
- golang-architectureSkill
- golang-code-qualitySkill
- golang-concurrencySkill
- golang-databaseSkill
- golang-dependenciesSkill
- golang-goplsSkill
- golang-observabilitySkill
- golang-performanceSkill
- golang-projectSkill
- golang-refactoringSkill
- golang-securitySkill
- golang-testingSkill
- golang-toolingSkill
- golang-troubleshootingSkill
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Do not recreate removed micro-skills or optional API/framework skills.
- Very specific: line 45
Every SKILL.md must define:
- Very specific: line 57
Use https://github.com/jkeddari/go-skills as the skill homepage.
- Very specific: line 63
Keep SKILL.md short and operational, preferably under 150 lines and comfortably below 2,500 tokens.
- Very specific: line 70
Put command catalogs, long examples, edge cases, and reusable checklists in references/.
- Distinctive: line 82
Prefer Go's standard library and official Go tools.
- Distinctive: line 88
Before considering a change complete:
- Distinctive: line 94
Search for deleted skill names, stale owner/repository references, and banned library defaults.
- Distinctive: line 95
Run Markdown linting when available.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Project
This repository is a focused Agent Skills collection for production Go engineering. It uses a hybrid architecture: one skill per meaningful engineering concern, with deeper material stored in references and loaded only when relevant.
The collection is standard-library-first. Do not add vendor-, framework-, or library-specific skills. Do not prescribe Cobra, Viper, Testify, Wire, dependency-injection containers, or similar packages. Existing project dependencies may be respected when a user explicitly places them in scope, but they must not become defaults in this collection.
Current skills
golang-architecture: boundaries, layout, configuration, and manual dependency injectiongolang-code-quality: style, naming, errors, interfaces, data structures, and safetygolang-concurrency: goroutines, channels, synchronization, pipelines, and contextgolang-database:database/sql, transactions, migrations, performance, and testsgolang-dependencies: modules, upgrades, auditing, workspaces, and conflictsgolang-gopls: language-server workflowsgolang-observability: logs, metrics, traces, profiling exposure, and alertsgolang-performance: benchmarks, profiling, optimization, and regression detectiongolang-project: repository bootstrap, documentation, CI, and releasesgolang-refactoring: behavior-preserving structural changesgolang-security: secure implementation, review, and auditinggolang-testing: standard-library testing workflowsgolang-tooling: formatting, linting, static analysis, and modernizationgolang-troubleshooting: evidence-driven debugging and root-cause analysis
Do not recreate removed micro-skills or optional API/framework skills. Extend the appropriate owner through a reference when the concern belongs to the catalog above.
Repository structure
skills/<skill-name>/
├── SKILL.md
├── agents/openai.yaml
├── references/ # optional Markdown, one link level from SKILL.md
├── scripts/ # optional deterministic helpers
└── assets/ # optional templates and configurationPlugin manifests live in .claude-plugin/, .cursor-plugin/, and gemini-extension.json.
Skill design
Frontmatter
Every SKILL.md must define:
name: lowercase letters, digits, and hyphens; it must match the directory name;description: 1–1024 characters, containing “Golang”, the covered concern, and concrete trigger situations;license:MIT;compatibility: actual runtime or tool requirements;metadata.author:jkeddari;metadata.version: semantic version string;metadata.openclaw.emoji,homepage,requires.bins, andinstall;user-invocable: boolean;allowed-tools: the smallest useful set.
Use https://github.com/jkeddari/go-skills as the skill homepage.
Descriptions are the trigger surface. Keep them specific enough to avoid loading unrelated skills and explicit enough to match real tasks. Add a boundary sentence when two neighboring skills could plausibly trigger.
Body
Keep SKILL.md short and operational, preferably under 150 lines and comfortably below 2,500 tokens. It should define:
- the mental model or posture;
- a repeatable workflow;
- decision boundaries and validation;
- links to only the references needed for deeper cases.
Put command catalogs, long examples, edge cases, and reusable checklists in references/. Put non-Markdown templates and configuration in assets/. Explain when to read each linked file; do not make the agent load every reference unconditionally.
Recommendations must explain why they matter. When a hypothesis can be tested, name a diagnostic that confirms or rejects it before proposing a change.
Ownership and cross-references
Each concept has one owner. Neighboring skills should point to the owner by local skill name, for example golang-performance, rather than duplicate its content. Keep performance measurement in golang-performance, production signals in golang-observability, debugging in golang-troubleshooting, and test design in golang-testing.
Cross-references must not depend on a previous repository owner or URL.
Dependencies
Prefer Go's standard library and official Go tools. A skill may document an external tool only when it is intrinsic to the concern, optional, and declared in compatibility and allowed tools. Do not create library catalogs or recommend dependencies merely for convenience.
Tests must use testing and handwritten fakes by default. Do not introduce Testify or mock frameworks. Architecture guidance uses explicit constructors and composition roots rather than dependency-injection libraries.
Validation
Before considering a change complete:
- Confirm that every skill directory contains a valid
SKILL.md. - Confirm that frontmatter names match directory names and all required fields exist.
- Confirm that descriptions contain “Golang” and stay below 1,024 characters.
- Resolve every relative Markdown link from the file that declares it.
- Search for deleted skill names, stale owner/repository references, and banned library defaults.
- Run Markdown linting when available.
- Review
git diffto ensure moved references were not duplicated or orphaned.
The initial release of this collection is 0.1.0. Modifying a published skill or plugin requires a deliberate semantic-version increment before release; do not bump versions incidentally during content edits.
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.

