yjs

Installation
SKILL.md

Yjs CRDT Patterns

Reference Repositories

  • Yjs: CRDT framework for shared editing and offline-first data
  • Yjs Protocols - Sync, awareness, and auth protocol helpers
  • Y IndexedDB - Browser persistence provider for Y.Doc updates

Upstream Grounding

When conflict semantics, transaction origins, shared-type behavior, update encoding, storage growth, or shared-type APIs affect correctness, use source-backed grounding before relying on memory. If DeepWiki MCP is available, ask a narrow question against yjs/yjs; for sync, awareness, auth protocol helpers, or provider interoperability, ask against yjs/y-protocols; for browser persistence behavior, ask against yjs/y-indexeddb. If DeepWiki is unavailable or the repo is not indexed, use upstream source or official docs directly. Treat DeepWiki as orientation, then verify decisive details against local installed types, source, or official docs before changing code.

Skip DeepWiki for stable basics and repo-local patterns already documented below.

Related Skills: See workspace-api for the workspace abstraction built on Yjs.

When to Apply This Skill

Use this pattern when you need to:

Installs
113
GitHub Stars
4.6K
First Seen
Jan 28, 2026
yjs — epicenterhq/epicenter