sickn33 avatar

Go Concurrency Patterns

A solid reference for Go concurrency primitives when you're wiring up goroutines, channels, and worker pools. It covers the standard patterns: managing goroutine lifecycles, using sync primitives, context for cancellation, and the usual pipeline architectures. The implementation playbook promises detailed examples, which is helpful when you're debugging race conditions or setting up graceful shutdown. It's scoped tightly to concurrency, so don't expect general Go advice. Useful if you're past the basics but still hitting the common pitfalls with channel deadlocks or leaky goroutines. The clarity around when not to use it is refreshing.

skills.sh installs
263
GitHub stars
39.4K
last updated
Jun 3, 2026

Install

$ npx -y skills add sickn33/antigravity-awesome-skills --skill go-concurrency-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

Go Concurrency Patterns

Production patterns for Go concurrency including goroutines, channels, synchronization primitives, and context management.

Use this skill when

  • Building concurrent Go applications
  • Implementing worker pools and pipelines
  • Managing goroutine lifecycles
  • Using channels for communication
  • Debugging race conditions
  • Implementing graceful shutdown

Do not use this skill when

  • The task is unrelated to go concurrency patterns
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Sponsors

Details

Repository
github.com/sickn33/antigravity-awesome-skills
Category
Go
First seen
Jun 3, 2026

More from sickn33/antigravity-awesome-skills

All 708

Recommended

More Go
1samber avatargolang-code-stylesamber/cc-skills-golangGolang code style conventions — line length and breaking, variable declarations, control flow clarity, when comments help vs hurt. Use when writing or reviewing46.1Kskills.sh installs
2samber avatargolang-error-handlingsamber/cc-skills-golangIdiomatic Golang error handling — creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the single handling45.3Kskills.sh installs
3samber avatargolang-securitysamber/cc-skills-golangSecurity best practices and vulnerability prevention for Golang. Covers injection (SQL, command, XSS), cryptography, filesystem safety, network security, cookie44.2Kskills.sh installs
4samber avatargolang-design-patternssamber/cc-skills-golangIdiomatic Golang design patterns — functional options, constructors, error flow and cascading, resource management and lifecycle, graceful shutdown, resilience,43.8Kskills.sh installs
5samber avatargolang-performancesamber/cc-skills-golangGolang performance optimization patterns and methodology - if X bottleneck, then apply Y. Covers allocation reduction, CPU efficiency, memory layout, GC tuning,43.6Kskills.sh installs
6samber avatargolang-contextsamber/cc-skills-golangIdiomatic context.Context usage in Golang — propagation through API boundaries, cancellation, timeouts and deadlines, request-scoped values, context.WithoutCanc42.7Kskills.sh installs