principle-concurrency
CommunityWrite correct concurrent code with confidence.
Software Engineering#concurrency#deadlock#cancellation#backpressure#structured-concurrency#race-condition#synchronization-primitives
Authorlugassawan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you prevent subtle concurrency failures by teaching principled approaches to races, deadlocks, cancellation, and backpressure before they become production incidents.
Core Features & Use Cases
- Failure mode guidance: Recognize and fix race conditions, deadlocks, livelocks, starvation, lost wakeups, and ABA/CAS pitfalls.
- Structured concurrency rules: Ensure child lifetimes nest under parent lifetimes with clear error propagation and no orphan work.
- Practical primitive selection: Choose between mutex, channel, actor, semaphore, and atomics/CAS based on ownership, performance, and correctness.
Quick Start
Ask the AI: “How should I structure cancellation propagation and backpressure in my concurrent worker pipeline, and which synchronization primitive should I use to avoid races and deadlocks?”
Dependency Matrix
Required Modules
None requiredComponents
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: principle-concurrency Download link: https://github.com/lugassawan/swe-workbench/archive/main.zip#principle-concurrency Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.