go-concurrency-review

Community

Ensure safe, leak-free Go concurrency

Authoreduardo-sl
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Reviews Go code to identify and remediate unsafe concurrency patterns that cause goroutine leaks, data races, deadlocks, improper context usage, and incorrect synchronization practices.

Core Features & Use Cases

  • Goroutine lifecycle management: Enforces explicit termination paths, owner-started goroutines, and use of coordinated groups for parallel work.
  • Channel and mutex guidance: Validates channel sizing and closing, signal channel conventions, minimal lock scopes, mutex placement, and warns against copying mutexes by value.
  • Context and race detection: Checks for context propagation rules, ensures context-first parameters and cancellation handling, and mandates running tests with the race detector for CI.
  • Use Case: Apply during code review or debugging to locate goroutine leaks, race conditions, improper use of sync primitives, and missing context handling in long-running services or producer/consumer pipelines.

Quick Start

Review the repository's Go packages for goroutine leaks, race conditions, improper context usage, and synchronization issues, and produce a prioritized list of fixes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: go-concurrency-review
Download link: https://github.com/eduardo-sl/go-agent-skills/archive/main.zip#go-concurrency-review

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.