staff-engineering-skills-race-conditions
Detect and prevent race conditions in concurrent code. Use when writing code that reads then writes shared state, checks a condition then acts on it, creates records that should be unique, updates counters or balances, transitions status fields, or handles webhook/queue retries. Activates on patterns like check-then-act, read-modify-write,…
Full publisher description
Detect and prevent race conditions in concurrent code. Use when writing code that reads then writes shared state, checks a condition then acts on it, creates records that should be unique, updates counters or balances, transitions status fields, or handles webhook/queue retries. Activates on patterns like check-then-act, read-modify-write, findUnique-then-create, or any shared state mutation without atomicity guarantees.
Source details
Read SKILL.md ↗ · Browse skill folder ↗
triggerdotdev/staff-engineering-skills
skills/staff-engineering-skills-race-conditions/SKILL.mdPinned revision 597da099e4b7d07f53946cc393ca24ad9274d925
Source checked
Reviewed licence: Apache-2.0
repository
Reviewed publisher revision ↗ · 2026-11-22
This skill page is available in English. Publisher instructions stay in their original language.