go-sync-primitives

Community

Sync primitives patterns for safe concurrency.

AuthorJamesPrial
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides reliable usage of sync.WaitGroup, sync.Mutex, and related patterns.

Core Features & Use Cases

  • WaitGroup: Correct Add before go and proper capture.
  • Mutex: Always unlock with defer; protect critical sections.
  • Race Prevention: Guidance on using sync.Once for single-initialization.

Quick Start

Implement a small parallel workload guarded by a WaitGroup and protected with a Mutex.

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-sync-primitives
Download link: https://github.com/JamesPrial/claudefiles/archive/main.zip#go-sync-primitives

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 223,000+ vetted skills library on demand.