LogoAwesome Skills
  • Search
  • Category
  • Tag
  • Blog
LogoAwesome Skills
LogoAwesome Skills

Discover Open-Source Agent Skills for AI Coding Assistants

Product

  • Search
  • Category
  • Tag
  • Blog

Resources

  • Claude Skill Docs
  • Antigravity Skills Docs

Tools

  • Claude Code
  • OpenCode
  • Cursor
  • Codex
  • Antigravity

Company

  • Privacy Policy
  • Terms of Service
  • Sitemap

©2026 Awesome Skills. All rights reserved.

Privacy PolicyTerms
Back to Skills

golang-concurrency

Golang concurrency patterns. Use when writing or reviewing concurrent Go code involving goroutines, channels, select, locks, sync primitives, errgroup, singleflight, worker pools, or fan-out/fan-in pipelines. Also triggers when you detect goroutine leaks, race conditions, channel ownership issues, or need to choose between channels and mutexes.

1,714stars111forksUpdated 5/18/2026
Code ReviewTesting & QA#goroutines#concurrency#sync-primitives#golang#testing#code-review

Security Assessment

Safe(100/100)
Security Score100/100

About golang-concurrency

The golang-concurrency skill is designed to assist developers in writing, reviewing, and auditing concurrent Go code with correctness and leak prevention as top priorities. It addresses common challenges in Go's concurrency model, including goroutine leaks, race conditions, improper channel usage, and mismanagement of synchronization primitives. By providing guidance and structured patterns, this skill ensures that developers can safely implement concurrent programs while maintaining clarity in ownership, lifecycle, and error propagation of goroutines.

Key features include guidance on implementing concurrent code using goroutines, channels, select statements, locks, sync primitives, errgroup, singleflight, worker pools, and fan-out/fan-in pipelines. The skill also provides review and audit capabilities, identifying potential issues in code diffs or across an entire codebase, such as missing context propagation, unprotected shared state, and channel ownership violations. It emphasizes best practices like sending copies over channels, proper use of WaitGroup versus errgroup, including context cancellation in select loops, and tracking goroutine leaks using testing tools.

This skill is intended for Go developers, code reviewers, and engineers responsible for maintaining large-scale concurrent systems. Typical use cases include writing new concurrent components, reviewing pull requests for concurrency correctness, auditing existing codebases for goroutine leaks and unsafe access patterns, and mentoring teams on Go concurrency best practices. It is compatible with AI coding agents like Claude Code and integrates with Go development environments to improve productivity and code reliability.

FAQ

How do I invoke the golang-concurrency skill?

This skill is user-invocable and can be triggered whenever you are writing, reviewing, or auditing concurrent Go code.

Which Go concurrency constructs does this skill support?

It supports goroutines, channels, select statements, sync primitives (like Mutex, RWMutex), WaitGroup, errgroup, singleflight, worker pools, and fan-out/fan-in pipelines.

Is this skill compatible with all Go projects?

It is designed for projects using Golang and for AI coding agents similar to Claude Code. No specific Go version restrictions are mentioned, but the Go tool must be available.

Can this skill help detect goroutine leaks and race conditions?

Yes, it can identify potential goroutine leaks, race conditions, channel ownership issues, and misuse of synchronization primitives during code review or audit.

Are there any special requirements to use this skill?

The skill requires the Go binary to be available and uses standard tools like Bash and globbing for code inspection. No additional installation steps are specified.

All Files

5 files
SKILL.md7.8 KB
View
references/pipelines.md6.5 KB
View
references/sync-primitives.md7.8 KB
View
evals/evals.json14.6 KB
View
references/channels-and-select.md3.7 KB
View

Install golang-concurrency

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill

Repository

samber/cc-skills-golang

Related Skills

update-docs

1,853

amazon-seller-analytics

907

competitor-intel

705

qt-ui-design

571