Concurrency Patterns
Actor model, CSP (Communicating Sequential Processes), lock-free patterns, async/await.
Install
/plugin marketplace add sethdford/claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add sethdford/claude-skills --skill concurrency-patternsgit clone --depth 1 https://github.com/sethdford/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/engineer/implementation-patterns/skills/concurrency-patterns ~/.claude/skills/concurrency-patternsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Concurrency Patterns Patterns for safe concurrent programming. ## Context You are choosing a concurrency model. Each has different characteristics. ## Domain Context - **Shared Memory**: Threads share memory; synchronize with locks - **Message Passing**: Actors/processes; no shared memory; communicate via messages - **Async/Await**: Cooperative multitasking; single-threaded event loop - **Lock-Free**: Use atomic operations instead of locks ## Instructions 1. **Shared Memory**: Use for tightly-coupled code; sync with locks or atomic ops 2. **Actor Model**: Isolated actors, message-based; scale to many cores easily 3. **CSP**: Goroutines + channels; lightweight, composable 4. **Async/Await**: Single-threaded; good for I/O-bound workloads 5. **Lock-Free**: Complex; use only where locks are provably bottleneck 6. **Choose Wisely**: Wrong model makes everything harder ## Anti-Patterns - Shared memory + locks everywhere; locks are error-prone - Message passing when you need shared mutable state; forces unnecessary copies - Async/await for CPU-bound work; won't help - Lock-free without deep understanding; very easy to get wrong - Mixing concurrency models in same codebase; confuses reasoning ## Further Reading - Carl Hewitt, _Actor Model_ (original paper) - Go documentation on Goroutines and Channels - Rust documentation on Async/Await
Details
- Skill name
concurrency-patterns- Repository
- sethdford/claude-skills
- Path
engineer/implementation-patterns/skills/concurrency-patterns/SKILL.md- License
- MIT
- Repo updated
- 11 March 2026
FAQ
What does the Concurrency Patterns skill do?
Actor model, CSP (Communicating Sequential Processes), lock-free patterns, async/await.
How do I install the Concurrency Patterns skill?
Claude Code plugin: /plugin marketplace add sethdford/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Concurrency Patterns popular?
It lives in sethdford/claude-skills, which has 48 GitHub stars and 10 forks.
Related skills
A B Test Design
48sethdford/claude-skills
Design rigorous A/B tests with hypotheses, variants, metrics, and sample size calculations.
A B Test Design Pm
48sethdford/claude-skills
Analytics and experimentation skill for product managers.
Abuse Case Design
48sethdford/claude-skills
Design abuse cases (negative use cases) showing how attackers misuse system features. Use when identifying attacks that exploit intended functionality or business logic flaws.
Data Model Design
48sethdford/claude-skills
Design data models for business domains using entity-relationship or domain-driven design. Use when modeling new domains or refactoring data structures.
C4 Model Diagram
48sethdford/claude-skills
Create C4 context, container, component, and code diagrams. Visualize architecture at different abstraction levels. Use when communicating system structure to diverse audiences.
Page Object Model
48sethdford/claude-skills
Expert approach to page-object-model in test automation. Use when working with .
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.