samber/cc-skills-golang
DirSkills catalogs 25 skills from this repository, across 4 categories: AI Engineering, DevOps, Quality, Writing.
📏
2w ago
Go Code Style
Go Code Style defines conventions for line breaking, variable declarations, control flow, and comments to keep Go code clear and reviewable. Use it when writing or reviewing Go code, answering style questions, or establishing project standards.
Quality
3K193
⚙️
2w ago
Go Continuous Integration
Go Continuous Integration configures CI/CD pipelines for Go projects using GitHub Actions, including testing, linting, SAST, security scanning, code coverage, Dependabot, Renovate, GoReleaser, code review automation, and release pipelines.
DevOps
3K193
📦
2w ago
Go Dependency Management
Go Dependency Management covers go.mod management, installing/upgrading packages, vulnerability scanning, outdated dependency tracking, conflict resolution, go.work workspaces, and Dependabot/Renovate setup for adding, removing, or upgrading Go dependencies.
DevOps
3K193
📝
2w ago
Go Documentation
Go Documentation guides writing and reviewing doc comments, README, CONTRIBUTING, CHANGELOG, Go Playground demos, Example tests, and llms.txt for Go projects. Use it when documenting libraries, applications, or CLIs, or auditing documentation completeness and style.
Writing
3K193
📡
2w ago
Go GraphQL
Go GraphQL guides implementation of GraphQL APIs in Go using gqlgen or graphql-go, covering schema design, resolvers, DataLoaders, subscriptions, and authentication. Use when building GraphQL servers or integrating with existing Go HTTP services.
DevOps
3K193
🏷️
2w ago
Go Naming Conventions
Go Naming Conventions provides rules for naming packages, functions, variables, interfaces, errors, and other Go identifiers. Use it when writing new Go code, reviewing or refactoring, or deciding between naming alternatives to follow Go standards.
Quality
3K193
📈
2w ago
Go Observability
Go Observability adds structured logging, Prometheus metrics, OpenTelemetry tracing, profiling, and RUM instrumentation to Go services. Use it when instrumenting Go services for production monitoring, setting up metrics or alerting, adding tracing, correlating logs with traces, or migrating legacy loggers to slog.
DevOps
3K193
🔍
2w ago
Go Package Docs
Go Package Docs queries the pkg.go.dev API to read package documentation, API signatures, usage examples, available versions, importers, licenses, and known vulnerabilities for any Go module without authentication.
AI Engineering
3K193
📚
2w ago
Go Popular Libraries
Go Popular Libraries recommends production-ready Golang libraries and frameworks for choosing a library, comparing alternatives, or adding a new dependency.
Quality
3K193
🔌
2w ago
Go gRPC
Go gRPC provides gRPC usage guidelines, protobuf organization, and production-ready patterns for Golang microservices. Use when implementing, reviewing, or debugging gRPC servers and clients, writing proto files, setting up interceptors, handling status codes, configuring TLS/mTLS, testing with bufconn, or working with streaming RPCs.
DevOps
3K193
⏱️
2w ago
Golang Benchmark
Golang Benchmark measures and compares Go benchmark results with benchstat, profiles CPU and memory data with pprof, and sets up CI regression detection. Use it when writing, running, or analyzing Go benchmarks, or investigating production performance with Prometheus runtime metrics.
Quality
3K193
🛠️
2w ago
Golang CLI
Golang CLI provides patterns and best practices for building, modifying, and reviewing Go command-line applications. Use it when working with Cobra/Viper, flags, config layering, version embedding, exit codes, I/O, signals, completion, and CLI testing.
DevOps
3K193
🧵
2w ago
Golang Concurrency
Golang Concurrency provides patterns and review/audit guidance for writing safe concurrent Go code using goroutines and channels. Use it when writing, reviewing, or auditing concurrent code to avoid goroutine leaks, race conditions, and channel ownership issues.
Quality
3K193
🧵
2w ago
Golang Context
Golang Context provides idiomatic patterns for context.Context in Go, covering propagation through API boundaries, cancellation, timeouts, deadlines, and request-scoped values. Use when designing context propagation across layers, debugging leaked or unexpired contexts, or choosing between context.Background, TODO, and WithoutCancel.
Quality
3K193
🧱
2w ago
Golang Data Structures
Golang Data Structures covers slices, maps, arrays, container/list, heap, ring, strings.Builder vs bytes.Buffer, generic collections, unsafe/weak pointers, and copy semantics. Use it when choosing or optimizing Go data structures, implementing generic containers, using container packages, or questioning slice/map internals.
Quality
3K193
🗄️
2w ago
Golang Database
Golang Database provides best practices for safe Go database access using database/sql, sqlx, and pgx. Use when writing, reviewing, or debugging Golang code that interacts with PostgreSQL, MariaDB, MySQL, or SQLite.
Quality
3K193
🔌
2w ago
Golang Dependency Injection
Golang Dependency Injection explains when and how to apply DI in Go, covering manual constructor injection and libraries like google/wire, uber-go/dig, uber-go/fx, and samber/do. Use it when designing service architecture, refactoring coupled code, or selecting a DI library.
Quality
3K193
🧩
2w ago
Golang Design Patterns
Golang Design Patterns provides idiomatic Go patterns for functional options, constructors, error flow, resource lifecycle, graceful shutdown, resilience, and streaming. Use it when choosing architectural patterns, designing APIs, or applying idiomatic Go practices.
Quality
3K193
🚨
2w ago
Golang Error Handling
Golang Error Handling provides guidance for creating, wrapping, inspecting, and logging errors in Go, covering sentinel errors, custom types, errors.Is/As, errors.Join, panic/recover, and structured logging. Use it when writing, reviewing, or auditing Go error handling code to avoid swallowed errors and duplicate logs.
Quality
3K193
🔍
2w ago
Golang Gopls
Golang Gopls provides semantic code intelligence for Go via the official gopls language server, including go-to-definition, find references, call hierarchies, workspace symbol search, diagnostics, safe rename, refactoring, and formatting. Use it when navigating, understanding, or refactoring Go code in the local resolved build.
Quality
3K193
🧭
2w ago
Golang How-To
Golang How-To orchestrates the relevant Go skills for any coding, review, debug, or setup task, loading primary and secondary skills together and disambiguating overlaps. It also configures project files to trigger skills automatically.
AI Engineering
3K193
🧹
2w ago
Golang Lint
Golang Lint configures golangci-lint for Go projects, covering linter selection, .golangci.yml setup, nolint directives, and lint output interpretation. Use it when setting up code quality tooling, fixing lint warnings, or cleaning up a legacy codebase.
Quality
3K193
🔄
2w ago
Golang Modernize
Golang Modernize scans Go codebases and suggests modern replacements for outdated patterns, language features, and standard library APIs. Use it during code review, Go version upgrades, or CI to bring code up to current idioms while preserving safety.
Quality
3K193
⚡
2w ago
Golang Performance Optimization
Golang Performance Optimization applies Go-specific optimization patterns—allocation reduction, CPU efficiency, memory layout, GC tuning, pooling, caching, and hot-path tuning—when profiling or benchmarks have identified a bottleneck. Use it for performance code review or to suggest benchmark-driven improvements.
Quality
3K193
⚙️
2w ago
Google Wire
Google Wire provides compile-time dependency injection for Go using code generation, resolving the dependency graph at build time and emitting plain constructor calls. Use it when wiring an application graph with google/wire to catch missing dependencies at compile time rather than runtime.
DevOps
3K193