What problem does it solve? Building real-time collaborative applications with Yjs involves subtle pitfalls — duplicate imports silently breaking sync, Y.Map tombstone growth, incorrect editor binding setup, and broken undo/redo — that cause data loss and hours of debugging. ## Core Features & Use Cases - Y.Doc Lifecycle Rules: Correct document creation, transaction batching with origin filtering, update encoding, state vector sync, and garbage collection configuration for version history. - Shared Types & Providers: Patterns for Y.Text, Y.Array, Y.Map, Y.XmlFragment, and YKeyValue, plus y-websocket, y-webrtc, and y-indexeddb provider setup. - Editor Bindings & Awareness: Integration guides for TipTap, ProseMirror, CodeMirror, Quill, and Monaco, with awareness protocol presence and Y.UndoManager patterns. - Use Case: Add collaborative editing to a Next.js app with TipTap and y-websocket — the skill provides the correct Collaboration extension setup, awareness cursor configuration, disabled built-in history, and cleanup on unmount. ## Quick Start Ask the agent to set up Yjs collaborative editing for your TipTap editor with y-websocket sync and cursor awareness.