What problem does it solve?
This Skill helps you design and implement correct, maintainable concurrent Go code that performs well and fails safely, instead of relying on ad-hoc goroutines, unclear interfaces, and weak error handling.
Core Features & Use Cases
- Concurrent Go patterns: Implement goroutine lifecycles with context cancellation, bounded worker pools, fan-out/fan-in pipelines, and safe shutdown behavior.
- Production-grade service design: Build microservices and gRPC/REST integrations using small, composable interfaces and explicit contracts.
- Quality and performance discipline: Enforce idiomatic Go with robust error handling, table-driven tests, race-detector validation, and profiling-driven optimizations (pprof/benchmarks).
Use Case: You’re adding an export pipeline that processes many audiobook jobs concurrently—this Skill guides you to implement a context-aware worker pipeline, wrap and propagate errors consistently, benchmark the hot paths, and verify correctness under -race.
Quick Start
Ask the AI to implement your Go pipeline with bounded concurrency and context cancellation for request-scoped processing, using table-driven tests with -race verification and pprof/benchmarks for performance tuning.