Claude Code Plugins

Community-maintained marketplace

Feedback
2
0

Go concurrency patterns. Routes to specific patterns.

Install Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name go-concurrency
description Go concurrency patterns. Routes to specific patterns.

Concurrency

Route by Pattern

Quick Check

  • Every goroutine has exit path
  • Context passed and checked
  • Channels closed by sender only
  • WaitGroup Add before go

Common Pitfalls

  1. Launching goroutines without shutdown mechanism
  2. Not propagating context through call chains
  3. Closing channels from receiver side
  4. Using WaitGroup counter incorrectly

Decision Tree

Need coordination? → Use context for cancellation
Need data flow? → Use channels
Need to wait? → Use sync.WaitGroup
Need mutual exclusion? → Use sync.Mutex

References