
Cc Skills Golang
Go agent skills for production-ready projects
Replaces —

Who it's for
Install the full general-purpose tier to give your assistant idiomatic Go knowledge covering naming, error handling, concurrency, testing, and safety, loaded on demand so it does not permanently fill the context window.
Use the overridable skills -- code-style, naming, error-handling, database -- as a baseline, then layer company-specific conventions on top to standardize how the assistant generates and reviews code across the team.
Your team already has a complete, well-enforced Go style guide that your AI assistant follows reliably.
Install the samber-lo, samber-mo, samber-oops, samber-slog, or other library skills to get the assistant familiar with idiomatic usage patterns for those specific packages, each with its own measured error rate reduction.
You are not using any samber/* libraries in your project.
Use golang-project-layout, golang-popular-libraries, golang-dependency-management, and golang-continuous-integration together when starting a new service to get opinionated project structure and tooling recommendations from the start.
The problem
AI coding assistants lack Go-specific domain knowledge by default, producing code that violates idiomatic Go conventions, misuses concurrency primitives, or ignores production concerns like structured logging and proper error wrapping. Loading all relevant knowledge permanently bloats the context window, while loading nothing leaves the assistant unguided on language-specific patterns.
How it works
Covers the entire Go development lifecycle from project layout through production observability, organized into Code Quality, Architecture and Design, QA and Performance, Project Setup, and framework-specific tiers for tools like gRPC, GraphQL, cobra, and viper.
Each skill has a small description field (44 to 245 tokens) always loaded for trigger detection, while the full SKILL.md (1,200 to 4,300 tokens) loads only when the skill fires. Context stays lean until the relevant expertise is actually needed.
Skills reference each other precisely to avoid duplication and conflict. Error-handling rules that affect logging live in golang-error-handling rather than golang-observability, so conventions stay consistent across the set.
Every skill ships with a benchmark derived from 3,439 test cases. golang-safety cuts errors by 58%, golang-continuous-integration by 59%, golang-samber-do by 81%, giving concrete evidence of impact rather than qualitative claims.
Dedicated skills for the author's own widely used libraries: samber/lo, samber/mo, samber/ro, samber/do, samber/hot, samber/slog, and samber/oops, covering idiomatic usage patterns for each.
Works with Claude Code, Gemini CLI, Cursor, GitHub Copilot, OpenCode, Codex, and Antigravity via the universal `npx skills add` CLI or client-specific install paths documented in the README.
Features
- 46 Go-specific skills across the full stack
- On-demand context loading
- Atomic, cross-referencing design
- Measured error rate reductions per skill
- samber/* library depth
- Multi-client compatibility
How to install
npx skills add samber/cc-skills-golang --all
Recommended for this setup
Strengths
- Human-reviewed, not AI-generated: The README states skills were bootstrapped from real Go project commits then edited, tested, reviewed, and reworked by hand. The author explicitly notes that AI-made skills are useless, distinguishing this collection from auto-generated alternatives.
- Comprehensive coverage with measurable impact: 46 skills covering the full Go stack, with per-skill error rate benchmarks from 3,439 test cases. The overall result is 97% accuracy with the full skill set versus 57% without, a +40 percentage point improvement.
- Overridable by company conventions: Many skills -- including code-style, error-handling, naming, concurrency, database, and structs-interfaces -- are flagged as overridable, so teams can layer their own conventions on top of the baseline guidance.
- Deep framework-specific coverage: Separate skills for gRPC, GraphQL, Swagger, cobra, viper, wire, dig, fx, and multiple samber/* libraries rather than bundling everything into a single generic Go skill, keeping each unit focused and actionable.
Trade-offs
- Partial installs give inconsistent guidance: The README warns that installing only a subset of skills produces a partial and potentially inconsistent view of the guidelines, because skills are cross-referencing. For best results, all general-purpose skills should be installed together.
- No workflow or git skills included: The collection covers Go-specific concerns only. Git conventions, CI/CD workflow, and PR review skills are explicitly out of scope and require a separate plugin such as the author's cc-skills repository.
- golang-temporal skill not yet available: One planned skill for Temporal workflow development is listed as a to-do with no content. Projects using Temporal will not get specialized guidance from this collection.
Tech stack
FAQ
No. Each skill has a description field (44 to 245 tokens) that is always loaded for trigger detection, while the full SKILL.md (1,200 to 4,300 tokens) loads only when the skill is triggered. The on-demand design keeps the active context lean.
Yes, but the README recommends installing all general-purpose skills together. Skills are atomic and cross-referencing, so a partial install may produce a partial or inconsistent view of the guidelines.
Claude Code, Gemini CLI, Cursor, GitHub Copilot, OpenCode, Codex, and Antigravity. Install via the universal skills CLI with `npx skills add samber/cc-skills-golang --all`, or follow the client-specific instructions in the README.
The README states the skills were bootstrapped from the author's own Go project commits using Claude Code, then edited, tested, reviewed, and reworked by hand. The author explicitly states that AI-made skills are useless.
No. This repository covers Go-specific language and library skills only. For dev workflow skills such as git conventions, CI/CD pipelines, and PR reviews, the author points to the separate cc-skills repository.