Concurrency & Idempotency

Community

Enforce serialized, idempotent server mutations.

Authorkerem-ersoz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Server-side mutations across many concurrent actions can race and corrupt shared state. This Skill provides per-table locking and idempotency guards to ensure serialized, safe transitions for game state mutations in a multiplayer server.

Core Features & Use Cases

  • Per-table mutexes to serialize mutations
  • Idempotency guards in state-changing methods
  • Safe handling of sockets, timers, and bot actions to prevent races
  • Clear guidance for timer safety, check-then-act prevention, and atomic state transitions

Quick Start

Wrap mutations with withTableLock to serialize changes and enforce idempotency.

Dependency Matrix

Required Modules

None required

Components

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: Concurrency & Idempotency
Download link: https://github.com/kerem-ersoz/gonul/archive/main.zip#concurrency-idempotency

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.