go-agent-skills
Copilot instructions72 starsChanged 3 months agoMITView on GitHub
This repository contains curated AI agent skills for Go development. Skills follow the Agent Skills specification (SKILL.md with YAML frontmatter). Or manually: copy skills/*/*/ into .github/skills/. All skills are in skills/(category)/skill-name/SKILL.md. - go-binary-size — Linker flags, CGO, build tags, dependency weight, container image size - go-skills-router — Task-to-skill routing, overlap boundaries, multi-concern task recipes
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/go-skills.mdcCursor rule
- go-api-designSkill
- go-architecture-reviewSkill
- go-cliSkill
- go-dependency-injectionSkill
- go-design-patternsSkill
- go-graphqlSkill
- go-grpcSkill
- go-interface-designSkill
- go-openapiSkill
- go-project-layoutSkill
- go-code-reviewSkill
- go-coding-standardsSkill
- go-contextSkill
- go-data-structuresSkill
- go-documentationSkill
- go-error-handlingSkill
- go-modernizeSkill
- go-databaseSkill
- go-concurrency-reviewSkill
- go-defensive-codingSkill
- go-observabilitySkill
- go-performance-reviewSkill
- go-security-auditSkill
- go-troubleshootingSkill
- go-test-qualitySkill
- go-test-table-drivenSkill
- git-commitSkill
- go-binary-sizeSkill
- go-ciSkill
- go-dependency-auditSkill
- go-refactoringSkill
- go-semantic-toolsSkill
- go-skills-routerSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 59
All skills are in skills/(category)/skill-name/SKILL.md.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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
Go Agent Skills
This repository contains curated AI agent skills for Go development. Skills follow the Agent Skills specification (SKILL.md with YAML frontmatter).
Installation
npx skills add eduardo-sl/go-agent-skills -a copilotOr manually: copy skills/*/*/ into .github/skills/.
Skills Catalog
Code Quality
- go-coding-standards — Style conventions, naming, imports
- go-code-review — Structured review with BLOCKER/WARNING/SUGGESTION severity
- go-error-handling — Error wrapping, sentinel errors, custom types
- go-context — Context propagation, cancellation, timeouts, values
- go-modernize — Generics, slog, errors.Join, slices/maps, iterators
- go-data-structures — Slices, maps, sets, aliasing, preallocation
- go-documentation — Godoc conventions, examples, deprecation
Architecture & Design
- go-architecture-review — Package layout, dependency direction, layering
- go-project-layout — Scaffolding new projects, cmd/internal, thin main
- go-interface-design — Consumer-side interfaces, composition, compliance checks
- go-api-design — REST/gRPC handlers, middleware, graceful shutdown
- go-grpc — Proto design, status codes, interceptors, streaming
- go-design-patterns — Functional options, factory, strategy, decorator
- go-dependency-injection — Constructor injection, composition root, wire/fx
- go-cli — Flags, subcommands, exit codes, signals, Cobra
- go-openapi — Spec-first REST, oapi-codegen, request validation, breaking-change detection
- go-graphql — gqlgen resolvers, dataloaders, N+1, complexity limits, field-level auth
Data
- go-database — Connection pools, transactions, sqlc, migrations
Safety & Performance
- go-concurrency-review — Goroutine lifecycle, channels, mutexes, race detection
- go-security-audit — OWASP, SQL injection, auth, secrets management
- go-performance-review — Allocations, benchmarking, pprof
- go-observability — Structured logging, tracing, metrics, OpenTelemetry
- go-troubleshooting — Panics, deadlocks, leaks, pprof diffing, delve
- go-defensive-coding — Typed-nil interfaces, slice aliasing, numeric overflow, defensive copying
Testing
- go-test-quality — Subtests, httptest, golden files, fuzz, testcontainers
- go-test-table-driven — Table-driven test patterns, struct design
Workflow
- go-dependency-audit — govulncheck, go.mod hygiene, dep evaluation
- go-ci — GitHub Actions, golangci-lint, coverage gates, Makefile
- go-refactoring — Behavior-preserving changes, extract package, migrations
- go-semantic-tools — gopls navigation, go list graphs, semantic rename
- git-commit — Conventional Commits, atomic commits
All skills are in skills/(category)/skill-name/SKILL.md.
- go-binary-size — Linker flags, CGO, build tags, dependency weight, container image size
- go-skills-router — Task-to-skill routing, overlap boundaries, multi-concern task recipes
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.

