Skip to main content
Back to registry

go-concurrency

cxuu/golang-skills

This skill covers concurrency patterns and best practices from Google's Go Style Guide and Uber's Go Style Guide, including goroutine management, channel usage, mutex handling, and synchronization.

Installs186
Install command
npx skills add https://github.com/cxuu/golang-skills --skill go-concurrency
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
This skill covers concurrency patterns and best practices from Google's Go Style Guide and Uber's Go Style Guide, including goroutine management, channel usage, mutex handling, and synchronization. Normative : When you spawn goroutines, make it clear when or whether they exit. Goroutines can leak by blocking on channel sends or receives. The garbage collector will not terminate a goroutine blocked on a channel even if no other goroutine has a reference to the channel. Even when goroutines do not leak, leaving them in-flight when no longer needed causes: Write concurrent code so goroutine lifetimes are evident. Keep synchronization-related code constrained within function scope and factor logic into synchronous functions. Every goroutine must have a predictable stop mechanism: Source : Uber Go Style Guide Use sync.WaitGroup for multiple goroutines: Use a done channel for a single goroutine: init() functions should not spawn goroutines. If a package needs a background goroutine, expose an object that manages the goroutine's lifetime with a method ( Close , Stop , Shutdown ) to stop and wait for it.

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does go-concurrency do?

This skill covers concurrency patterns and best practices from Google's Go Style Guide and Uber's Go Style Guide, including goroutine management, channel usage, mutex handling, and synchronization.

Is go-concurrency good?

go-concurrency does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does go-concurrency work with?

go-concurrency currently lists compatibility with codex, gemini-cli, opencode, cursor, kimi-cli, amp, github-copilot.

What are alternatives to go-concurrency?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install go-concurrency?

npx skills add https://github.com/cxuu/golang-skills --skill go-concurrency

Related skills

More from cxuu/golang-skills

Related skills

Alternatives in Software Engineering