What problem does it solve?
Helps engineers avoid and remediate concurrency bugs in Go by focusing on goroutine lifecycle, channel ownership, proper synchronization, and cancellation propagation to prevent leaks, races, and incorrect shared-memory usage.
Core Features & Use Cases
- Guided Reviews: Evaluate PR diffs for goroutine leaks, missing context propagation, unsafe shared state, improper channel closure, and timer misuse.
- Implementation Guidance: Provide patterns and code-level recommendations for building worker pools, pipelines, errgroup usage, singleflight, and correct sync primitive selection.
- Audits at Scale: Run parallelized audits across a codebase to find goroutine spawns, channel ownership issues, and time.After misuse, with actionable remediation steps and references.
- Reference-backed Advice: Includes detailed references on channels & select patterns, pipelines & worker pools, and sync primitive best practices to support recommendations.
Quick Start
Ask the skill to review the attached Go patch or repository for goroutine leaks, missing ctx cancellation, improper channel ownership, race conditions, and unsafe use of sync primitives.