concorrencia-editor-texto-rico-crdt

Implements real-time collaborative rich text editing using Yjs CRDTs and Peritext anchoring.

Updated Jul 19, 2026
One-click install
npx skills add https://github.com/Ryanzucchi/Eldritch_Lich --skill concorrencia-editor-texto-rico-crdt-ryanzucchi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: concorrencia-editor-texto-rico-crdt
Source: https://github.com/Ryanzucchi/Eldritch_Lich/tree/main/.agents/skills/concorrencia-editor-texto-rico-crdt
Command: npx skills add https://github.com/Ryanzucchi/Eldritch_Lich --skill concorrencia-editor-texto-rico-crdt-ryanzucchi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yjs, y-protocols.

What problem does it solve? Collaborative editing of long literary manuscripts breaks down when concurrent edits cause merge conflicts, duplicated text, or formatting that drifts to the wrong positions. This Skill implements conflict-free real-time co-editing with Strong Eventual Consistency so multiple authors can write simultaneously without manual conflict resolution. ## Core Features & Use Cases - CRDT-Based Document Binding: Connects ProseMirror/TipTap editors to a shared Yjs document (Y.XmlFragment/Y.Text) for automatic merge convergence. - Stable Formatting Anchors: Applies the Peritext algorithm so bold, italic, and comment spans bind to immutable character IDs instead of fragile numeric offsets. - Memory Optimization for Long Manuscripts: Uses the Eg-walker engine and client-side tombstone garbage collection to keep 100,000+ word documents responsive. - Use Case: Two coauthors edit the same novel chapter simultaneously; one inserts a character name at the start while the other appends text, and both screens converge to identical, correctly formatted output. ## Quick Start Set up real-time collaborative editing in my TipTap editor using Yjs with Peritext-style formatting anchors and Eg-walker compression for a long manuscript.

Frequently Asked Questions about concorrencia-editor-texto-rico-crdt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
When should I not use CRDT-based text synchronization?▼

CRDT text synchronization is not suited for structured relational data, form metadata, or wiki-style fields, which need database-level local-first sync instead. It also does not replace line-based version control workflows like Git.