go-channel-patterns

Document Go channel patterns for fan-out, fan-in, and closing.

3|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/JamesPrial/claudefiles --skill go-channel-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-channel-patterns
Source: https://github.com/JamesPrial/claudefiles/tree/main/skills/golang/concurrency/channels
Command: npx skills add https://github.com/JamesPrial/claudefiles --skill go-channel-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill documents common channel patterns including fan-out/fan-in and proper channel closing.

Core Features & Use Cases

  • Channel Lifecycle: Proper sender closure and receiver patterns.
  • Fan-Out / Fan-In: Composition of workers and merging results.
  • Or-Done: Early exit with cancellation signals.

Quick Start

Implement a small fan-out/fan-in pipeline and ensure proper close semantics.