Automerge Sync & Document Model

•
130
•

Manages and debugs Automerge CRDT sync protocols, document models, and causal consistency for collaborative applications.

This skill provides specialized expertise in Automerge internals and sync protocol design, specifically optimized for the nteract ecosystem and distributed state management. It enables Claude to reason deeply about OpSets, ChangeGraphs, and the save/load lifecycle, making it invaluable for debugging sync failures, diagnosing op application panics, and implementing robust recovery procedures. Whether you are building real-time collaborative notebooks or offline-first applications, this skill offers guidance on complex patterns like causal gating, actor table management, and multi-stream synchronization architectures.

Key Features

01Implementation patterns for 'required_heads' request-scoped causal gating
02Guidance on document recovery and index rebuilding from saved states
03Architectural comparisons between nteract, automerge-repo, and samod patterns
04Diagnostic support for sync protocol failures, panics, and DuplicateSeqNumber traps
05Deep analysis of Automerge OpSet, ChangeGraph, and columnar document models
06130 GitHub stars

Use Cases

01Debugging distributed state convergence issues and synchronization bottlenecks
02Optimizing document size through efficient fork/merge and actor ID management
03Designing multi-document stream architectures over single-socket connections