Skip to main content

Golang Concurrency Patterns

Skill Verified Active

Go concurrency patterns for production services: context cancellation, errgroup, worker pools, bounded parallelism, fan-in/fan-out, and common race/deadlock pitfalls

Purpose

To equip developers with the knowledge and best practices for building robust and reliable concurrent Go services, avoiding common pitfalls.

Features

  • Detailed explanation of Go concurrency patterns
  • Best practices for context cancellation and errgroup
  • Guidance on worker pools and bounded parallelism
  • Strategies for handling race conditions and deadlocks
  • Troubleshooting common concurrency issues

Use Cases

  • Implementing concurrent pipelines in Go services
  • Fixing goroutine leaks and deadlocks
  • Ensuring cancellation propagates correctly
  • Building reliable background worker systems

Non-Goals

  • Providing specific framework implementations
  • Covering low-level network programming
  • Offering general Go language tutorials

Installation

npx skills add bobmatnyc/claude-mpm-skills

Runs the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.

Quality Score

Verified
100 /100
Analyzed about 20 hours ago

Trust Signals

Last commit29 days ago
Stars44
LicenseMIT
Status
View Source

Similar Extensions

Golang Pro

98

Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with generics, interfaces, and robust error handling. Use when building Go applications requiring concurrent programming, microservices architecture, or high-performance systems. Invoke for goroutines, channels, Go generics, gRPC integration, CLI tools, benchmarks, or table-driven testing.

Skill
jeffallan

Neon Postgres

100

Guides and best practices for working with Neon Serverless Postgres. Covers getting started, local development with Neon, choosing a connection method, Neon features, authentication (@neondatabase/auth), PostgREST-style data API (@neondatabase/neon-js), Neon CLI, and Neon's Platform API/SDKs. Use for any Neon-related questions.

Skill
neondatabase

Sdk Dx

100

Design SDKs that developers love to use—APIs that feel native, error messages that guide, and experiences that reduce friction. This skill covers creating SDKs that drive adoption through exceptional developer experience rather than aggressive marketing. Trigger phrases: "SDK design", "developer experience", "API design", "SDK DX", "error messages", "type safety", "IDE integration", "SDK versioning", "migration guides", "client library design", "making SDKs feel native", "SDK best practices"

Skill
jonathimer

Csharp Async

100

Get best practices for C# async programming

Skill
github

Dart Matcher Best Practices

100

Best practices for using `expect` and `package:matcher`. Focuses on readable assertions, proper matcher selection, and avoiding common pitfalls.

Skill
flutter

Coding Standards

100

Baseline cross-project coding conventions for naming, readability, immutability, and code-quality review. Use detailed frontend or backend skills for framework-specific patterns.

Skill
affaan-m

© 2025 SkillRepo · Find the right skill, skip the noise.