À propos
Cette compétence agit comme une table de routage pour orienter les tâches liées à Go vers les compétences spécialisées appropriées lorsque le choix correct n'est pas clair. Elle résout les chevauchements entre les compétences, recommande des compétences secondaires pour les tâches à préoccupations multiples et fournit un index des capacités Go disponibles. Utilisez-la pour les requêtes ambiguës, les frontières de compétences qui se chevauchent, ou lorsque vous demandez "quelles compétences Go sont disponibles" plutôt que de charger une seule compétence directement.
Installation rapide
Claude Code
Recommandénpx skills add eduardo-sl/go-agent-skills -a claude-code/plugin add https://github.com/eduardo-sl/go-agent-skillsgit clone https://github.com/eduardo-sl/go-agent-skills.git ~/.claude/skills/go-skills-routerCopiez et collez cette commande dans Claude Code pour installer cette compétence
Documentation
Go Skills Router
This repository publishes 33 Go skills. Their triggers necessarily overlap — "this is slow" could be performance, concurrency, database, or a leak. Use the tables below to pick the owner, then load the secondary skills in the same pass rather than discovering them one at a time.
This is an index. Every skill it names stands alone and can be read without this one.
Routing Table
| Task | Primary | Also load |
|---|---|---|
| Format, name, or lay out code | go-coding-standards | go-documentation |
| Review a diff or a PR | go-code-review | the skill owning the domain under review |
| Return, wrap, or inspect errors | go-error-handling | go-defensive-coding for nil-heavy code |
| Pass deadlines, cancel work | go-context | go-concurrency-review if goroutines are involved |
| Adopt newer Go features | go-modernize | go-ci to raise the toolchain in CI |
| Slices, maps, sets, preallocation | go-data-structures | go-performance-review |
| Write godoc, examples, deprecations | go-documentation | go-coding-standards |
| Guard against panics and silent corruption | go-defensive-coding | go-error-handling |
| Review package layout and dependency direction | go-architecture-review | go-interface-design |
| Start a new project or service | go-project-layout | go-dependency-injection, go-ci |
| Design an interface or a type | go-interface-design | go-design-patterns |
| Apply a known pattern | go-design-patterns | go-interface-design |
| Wire dependencies, remove globals | go-dependency-injection | go-project-layout |
| Build an HTTP API | go-api-design | go-openapi, go-observability |
| Work from an OpenAPI spec | go-openapi | go-api-design, go-test-quality |
| Build a GraphQL API | go-graphql | go-database, go-api-design |
| Build a gRPC service | go-grpc | go-api-design, go-observability |
| Build a CLI | go-cli | go-project-layout, go-binary-size |
| Query a database, manage transactions | go-database | go-error-handling, go-security-audit |
| Write goroutines, channels, sync | go-concurrency-review | go-context, go-test-quality |
| Audit for vulnerabilities | go-security-audit | go-dependency-audit, go-defensive-coding |
| Reduce allocations, optimise a hot path | go-performance-review | go-data-structures |
| Shrink a binary or image | go-binary-size | go-ci |
| Add logs, metrics, traces | go-observability | go-context |
| Debug a panic, leak, or deadlock | go-troubleshooting | go-concurrency-review, go-performance-review |
| Write or improve tests | go-test-quality | go-test-table-driven |
| Structure a test matrix | go-test-table-driven | go-test-quality |
| Audit go.mod, check CVEs | go-dependency-audit | go-security-audit |
| Set up CI, linting, coverage gates | go-ci | go-dependency-audit |
| Restructure existing code safely | go-refactoring | go-semantic-tools, plus the skill owning the target shape |
| Find callers, implementers, rename | go-semantic-tools | go-refactoring |
| Write a commit message | git-commit | — |
Boundaries Between Overlapping Skills
Load the one that owns the question being asked, not the one that matches a keyword in the code.
"It is slow."
go-performance-review— the code allocates or copies too much. Owns benchmarks, pprof, and optimisation patterns.go-concurrency-review— the code contends on a lock or serialises work that could run in parallel.go-database— the query is the problem: missing index, N+1, pool exhaustion.go-troubleshooting— you do not yet know which of the three it is. Start here to find out, then hand off.
"It crashed."
go-troubleshooting— a panic, deadlock, or leak already happened. Diagnosis, profiles, delve.go-defensive-coding— prevention. Nil traps, aliasing, overflow, the constructs that make the next crash impossible.go-concurrency-review— a data race or a goroutine lifecycle bug.
"Is this secure?"
go-security-audit— external threats: injection, auth, secrets, TLS.go-dependency-audit— known CVEs in modules you import.go-defensive-coding— internal correctness bugs that are not attacks.
"How should this be structured?"
go-architecture-review— the shape of an existing codebase.go-project-layout— the shape of a new one.go-interface-design— the shape of one type or contract.go-refactoring— the process of getting from the current shape to the target shape. Load it alongside whichever skill above owns that target.
"How do I expose this?"
go-api-design— HTTP handlers, middleware, shutdown. Protocol-agnostic server concerns.go-openapi— the contract is a spec and code is generated from it.go-graphql— the client picks the shape of the response.go-grpc— protobuf contract, interceptors, streaming.
"Tests."
go-test-quality— what to test, how to isolate it, what to mock, synctest, goleak, benchmarks.go-test-table-driven— the table pattern specifically: when it helps, how to shape the case struct, when to stop using it.
"Style."
go-coding-standards— the rules the code should follow.go-code-review— applying rules to someone else's change, with severity.go-modernize— rules that changed because the language moved.go-ci— making a machine enforce them.
Multi-Concern Tasks
A real task usually crosses three skills. Load them together at the start rather than sequentially.
| Request | Load |
|---|---|
| "Build a gRPC service with tests" | go-grpc + go-test-quality + go-error-handling |
| "This endpoint is slow under load" | go-troubleshooting + go-performance-review + go-database |
| "Harden this service before launch" | go-security-audit + go-dependency-audit + go-defensive-coding + go-ci |
| "Split this monolith" | go-architecture-review + go-refactoring + go-semantic-tools |
| "Scaffold a new CLI" | go-project-layout + go-cli + go-ci + go-binary-size |
| "Migrate this to the current Go release" | go-modernize + go-test-quality + go-ci |
Full Catalogue
| Category | Skills |
|---|---|
| Code Quality | go-coding-standards go-code-review go-error-handling go-context go-modernize go-data-structures go-documentation |
| Architecture | go-architecture-review go-project-layout go-interface-design go-api-design go-openapi go-graphql go-grpc go-design-patterns go-dependency-injection go-cli |
| Data | go-database |
| Safety & Performance | go-concurrency-review go-security-audit go-defensive-coding go-performance-review go-observability go-troubleshooting |
| Testing | go-test-quality go-test-table-driven |
| Workflow | go-dependency-audit go-ci go-refactoring go-semantic-tools go-binary-size git-commit go-skills-router |
Verification Checklist
- The primary skill matches the question being asked, not a keyword in the code
- Secondary skills were loaded in the same pass, not discovered one at a time
- For a diagnosis task,
go-troubleshootingran before an optimisation skill - For a restructuring task,
go-refactoringwas paired with the skill owning the target shape - If exactly one skill applies, it was loaded directly without routing
Dépôt GitHub
Questions fréquentes
Qu’est-ce que le Skill go-skills-router ?
go-skills-router est un Skill Claude créé par eduardo-sl. Un Skill regroupe des instructions et des ressources que Claude charge à la demande pour effectuer des tâches liées à go-skills-router sans consigne supplémentaire.
Comment installer go-skills-router ?
Utilisez les commandes d’installation de cette page : ajoutez go-skills-router à Claude Code comme plugin ou clonez son dépôt dans votre dossier skills, puis redémarrez Claude pour charger le Skill.
À quelle catégorie appartient go-skills-router ?
go-skills-router appartient à la catégorie Méta.
go-skills-router est-il gratuit ?
Oui. go-skills-router est référencé sur AIMCP et son installation est gratuite.
Compétences associées
Cette compétence propose une configuration éprouvée en production pour Content Collections, un outil axé sur TypeScript qui transforme des fichiers Markdown/MDX en collections de données typées de manière sûre avec une validation Zod. Utilisez-la lors de la création de blogs, de sites de documentation ou d'applications Vite + React riches en contenu pour garantir la sécurité de typage et la validation automatique du contenu. Elle couvre tout, de la configuration du plugin Vite et de la compilation MDX à l'optimisation des déploiements et la validation des schémas.
Cette compétence permet aux développeurs de créer des applications avec la plateforme de marchés prédictifs Polymarket, incluant l'intégration d'API pour le trading et les données de marché. Elle fournit également une diffusion de données en temps réel via WebSocket pour surveiller les transactions en direct et l'activité du marché. Utilisez-la pour mettre en œuvre des stratégies de trading ou pour créer des outils traitant les mises à jour de marché en direct.
Cette compétence aide les développeurs à créer des plugins OpenCode qui s'interconnectent avec plus de 25 types d'événements tels que les commandes, les fichiers et les opérations LSP. Elle fournit la structure du plugin, les spécifications de l'API événementielle et les modèles d'implémentation pour les modules JavaScript/TypeScript. Utilisez-la lorsque vous avez besoin d'intercepter, de surveiller ou d'étendre le cycle de vie de l'assistant IA OpenCode avec une logique personnalisée pilotée par les événements.
SGLang est un framework de service LLM haute performance spécialisé dans la génération rapide et structurée pour les workflows JSON, regex et agentiques grâce à son cache de préfixe RadixAttention. Il offre une inférence nettement plus rapide, particulièrement pour les tâches avec des préfixes répétés, ce qui le rend idéal pour les sorties complexes et structurées ainsi que les conversations multi-tours. Choisissez SGLang plutôt que des alternatives comme vLLM lorsque vous avez besoin d'un décodage contraint ou que vous construisez des applications avec un partage étendu de préfixes.
