sambersamberCommunity·44 Agent Skills Included

cc-skills-golang

Production-ready Go coding, testing, security, and DevOps skills for AI agents

Gives AI coding agents expert-level Go guidance across 40+ skills covering code style, concurrency, error handling, security audits, testing, benchmarking, refactoring, CI/CD, and popular libraries like cobra, viper, gRPC, and sqlx. Eliminates common Go mistakes such as goroutine leaks, SQL injection, nil panics, and misconfigured linters by injecting vetted best practices directly into the agent's context. Works with Claude Code, Codex, Cursor, Gemini, Copilot, and OpenClaw so teams ship safer
npx skills add samber/cc-skills-golang --all -g -y
Available:

Tells the AI agent how every skill in this repository must be structured, triggered, and scoped — including frontmatter rules, allowed tools, description calibration, and a confirm-before-risky-action policy.

All Skills in This Repository (44)

Pure Emerald Level Indicators
📦 In Repo
sambersamber

golang-security

Audit Go projects for security vulnerabilities and best practices.

Community
Advanced
📦 In Repo
sambersamber

golang-lint

Configure and run golangci-lint to analyze Go projects and interpret results.

Community
Advanced
📦 In Repo
sambersamber

golang-project-layout

Identify and apply optimal Go project layouts for single-module and monorepo structures.

Community
Intermediate
📦 In Repo
sambersamber

golang-concurrency

Audit Go code for goroutine lifecycle, channel usage, and synchronization patterns.

Community
Advanced
📦 In Repo
sambersamber

golang-data-structures

Optimize Go data structure choices and memory layout for slices, maps, arrays, and pointers.

Community
Advanced
📦 In Repo
sambersamber

golang-database

Implement safe, observable Go database access with parameterized queries and context propagation.

Community
Advanced
📦 In Repo
sambersamber

golang-design-patterns

Design Go APIs with functional options and error handling patterns.

Community
Advanced
📦 In Repo
sambersamber

golang-troubleshooting

Diagnose and fix Go program bugs using Delve and pprof.

Community
Advanced
📦 In Repo
sambersamber

golang-samber-oops

Implement structured Go error handling with samber/oops builder patterns.

Community
Advanced
📦 In Repo
sambersamber

golang-context

Propagate context.Context cancellation and deadlines across Go HTTP handlers and data layers.

Community
Advanced
📦 In Repo
sambersamber

golang-samber-lo

Provide type-safe generic data transformations for Go using samber/lo.

Community
Advanced
📦 In Repo
sambersamber

golang-samber-slog

Configure Go logging pipelines with samber/slog libraries for structured output.

Community
Advanced

Frequently Asked Questions

FAQPage Schema
How to install cc-skills-golang?

Run `npx skills add samber/cc-skills-golang --all -g -y` in your terminal to install the full Go skill suite globally. To add a single skill, use `npx skills add samber/cc-skills-golang --skill golang-security -g -y`.

What Go problems do these AI skills solve?

They cover the full Go workflow: writing idiomatic code, handling errors, managing concurrency, securing against injection and crypto mistakes, writing tests, benchmarking, debugging with pprof and Delve, and setting up CI/CD pipelines.

Which AI coding assistants support these Go skills?

All skills follow the universal SKILL.md standard and work with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, and OpenClaw.

Do these skills cover Go libraries like cobra, viper, and gRPC?

Yes. The suite includes dedicated skills for cobra, viper, gRPC, GraphQL, Swagger, sqlx/pgx database access, dependency injection frameworks, and the samber/* library family.

Do I need Go expertise to use these skills?

No. Once installed, your AI agent automatically loads the right skill when you ask it to write, review, debug, or secure Go code — you just describe the task in plain English.

Related Repositories in Software Engineering

View All in Software Engineering