Optimistic CRUD With ETag

Official

Prevent lost updates in concurrent edits with version and ETag.

Authorbytetalent
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Ensures data integrity during concurrent edits, preventing overwrites and conflicts.

Core Features & Use Cases

  • Versioning: Each entity maintains an integer version number to track changes.
  • ETag Headers: API returns an ETag for each entity, which the client uses on PUT requests.
  • Concurrency Handling: Returns a '412 Precondition Failed' when versions do not match, prompting a re-fetch.

Quick Start

Apply the Optimistic CRUD With ETag pattern to any entity in your Next.js or Expo app that can be edited concurrently.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: Optimistic CRUD With ETag
Download link: https://github.com/bytetalent/docs/archive/main.zip#optimistic-crud-with-etag

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 620,000+ vetted skills library on demand.