Assists with Yjs patterns, shared types, and conflict resolution for building collaborative applications.
Install
mkdir -p .claude/skills/yjs && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2298" && unzip -o skill.zip -d .claude/skills/yjs && rm skill.zipInstalls to .claude/skills/yjs
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Yjs CRDT patterns, shared types (Y.Map, Y.Array, Y.Text), transactions, y-protocols sync and awareness, y-indexeddb persistence, conflict resolution, and document storage. Use when mentioning Yjs, Y.Doc, CRDTs, collaborative editing, real-time sync, awareness, IndexeddbPersistence, or Yjs providers.Key capabilities
- →Configures shared data models using Y.Map and Y.Array
- →Implements fractional indexing for reordering logic
- →Encapsulates persistence strategies via indexedDB
- →Enforces state-vector sync for data consistency
How it works
It applies CRDT principles to structure collaborative state and manages transaction propagation to ensure document consistency across distributed clients.
Inputs & outputs
When to use yjs
- →Setting up shared data structures
- →Handling conflict resolution
- →Implementing real-time synchronization
- →Optimizing Yjs document storage
About yjs
This skill manages collaborative data models using Yjs. It assists with transactions, shared type APIs (Y.Map, Y.Array), and persistence strategies to ensure consistent state in real-time.
Yjs CRDT patterns, shared types, conflict resolution, and meta data structures. Use when building collaborative apps with Yjs, handling Y.Map/Y.Array/Y.Text, implementing drag-and-drop reordering, or optimizing document storage.
When not to use it
- →When high-latency operations do not require real-time conflict resolution
- →When local-only, single-user state management is sufficient
Prerequisites
Limitations
- →High memory consumption with large, unoptimized document state
- →Requires explicit handling of provider-specific lifecycle
How it compares
It provides structural guidance for distributed state, avoiding the common pitfalls of manual merge-conflict resolution.
Compared to similar skills
yjs side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| yjs (this skill) | 2 | 5mo | No flags | Advanced |
| shopify-development | 12 | 10mo | Review | Intermediate |
| nuxt | 19 | 9mo | No flags | Intermediate |
| tanstack-query | 7 | 5mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by EpicenterHQ
View all by EpicenterHQ →You might also like
shopify-development
davila7
Build Shopify apps, extensions, themes using GraphQL Admin API, Shopify CLI, Polaris UI, and Liquid. TRIGGER: "shopify", "shopify app", "checkout extension", "admin extension", "POS extension", "shopify theme", "liquid template", "polaris", "shopify graphql", "shopify webhook", "shopify billing", "app subscription", "metafields", "shopify functions"
nuxt
antfu
Nuxt full-stack Vue framework with SSR, auto-imports, and file-based routing. Use when working with Nuxt apps, server routes, useFetch, middleware, or hybrid rendering.
tanstack-query
exceptionless
Data fetching and caching with TanStack Query in Svelte. Query patterns, mutations, cache invalidation, WebSocket-driven updates, and optimistic updates. Keywords: createQuery, createMutation, TanStack Query, query keys, cache invalidation, optimistic updates, refetch, stale time, @exceptionless/fetchclient, WebSocket
telegram-dev
2025Emma
Telegram 生态开发全栈指南 - 涵盖 Bot API、Mini Apps (Web Apps)、MTProto 客户端开发。包括消息处理、支付、内联模式、Webhook、认证、存储、传感器 API 等完整开发资源。
bun-development
davila7
Modern JavaScript/TypeScript development with Bun runtime. Covers package management, bundling, testing, and migration from Node.js. Use when working with Bun, optimizing JS/TS development speed, or migrating from Node.js to Bun.
shopify-apps
alinaqi
Shopify app development - Remix, Admin API, checkout extensions