race-condition-guard
Installation
SKILL.md
Race Condition Guard
Guardrail for race conditions in concurrent code. A race is born when two or more lines of execution (requests, threads, goroutines, tasks, workers) touch the same state at almost the same time and the result depends on who arrives first — violating an invariant (negative balance, double stock, two records that should have been one, lost write, corrupted memory).
This skill is multi-language: the core below is agnostic (mental model,
guard taxonomy, testing principle). The idiomatic detail — BAD→GOOD examples
of how to avoid them and the lint/detectors of each ecosystem — lives in
references/<language>.md, loaded on demand.