Measure Go performance by writing benchmarks, examining CPU and memory profiles, and comparing repeated runs with benchstat. Use the results to assess code changes, detect slowdowns in CI, and investigate production performance.
- Compare performance before and after a code change
- Investigate CPU usage and memory allocations
- Detect performance regressions in CI
samber/cc-skills-golang☆ 3.6KUpdated Oct 23, 2026
Build, extend, or review Go command-line tools with clear commands, flags, and configuration priorities. It guides output formats, exit codes, shell completion, cancellation, and tests so tools behave predictably in scripts and terminals.
- Build a Go command-line tool with subcommands
- Combine flags, environment variables, and configuration files
- Review output and exit codes for use in scripts
samber/cc-skills-golang☆ 3.6KUpdated Oct 23, 2026
Make Go code easier to read by reviewing line breaks, variable declarations, branching, function parameters, and file organization. Provides concrete style guidance for implementation, code reviews, and project standards where formatting tools alone cannot judge clarity.
- Reviewing Go code for readability
- Simplifying nested branches and complex conditions
- Improving long function signatures and calls
samber/cc-skills-golang☆ 3.6KUpdated Oct 23, 2026
Design and review concurrent Go code with clear goroutine ownership, shutdown paths, and error handling. Choose channels, locks, or atomic operations to protect shared data, and structure worker pools with controlled concurrency and cancellation.
- Design goroutine shutdown and cancellation
- Choose channels or mutexes for concurrent code
- Protect shared maps and counters
samber/cc-skills-golang☆ 3.6KUpdated Oct 23, 2026
Design how Go requests carry cancellation signals, time limits, and request metadata through application layers. Helps investigate work that continues after cancellation, choose suitable context types, and separate background tasks from the request lifecycle.
- Reviewing context propagation from HTTP handlers to database calls
- Investigating missing cancellation and lingering timers
- Keeping background work running after a request ends
samber/cc-skills-golang☆ 3.6KUpdated Oct 23, 2026
Set up or improve GitHub Actions pipelines for Go projects. Configure automated tests, code checks, vulnerability scans, dependency update bots, releases, and Docker publishing, with workflow templates and repository settings that control permissions and merge requirements.
- Set up automated tests and code checks for Go
- Add vulnerability scanning to a pipeline
- Configure dependency update bots
samber/cc-skills-golang☆ 3.6KUpdated Oct 23, 2026