Toolverse
All skills

yjs

by EpicenterHQ

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.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Security
Views
16

About this skill

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.

How to use

  1. Zainstaluj skill w swoim projekcie agenta, wskazując na repozytorium EpicenterHQ. Skill automatycznie aktywuje się, gdy agent wykryje w zapytaniu słowa kluczowe: Yjs, Y.Doc, CRDT, collaborative editing, shared types, real-time sync lub document storage.

  2. Zdefiniuj swój model danych za pomocą współdzielonych typów Yjs. Wybierz Y.Map dla par klucz-wartość, Y.Array dla list uporządkowanych lub Y.Text dla tekstu z formatowaniem. Unikaj wycieku surowych typów Yjs do kodu konsumenta — opakowuj je abstrakcją.

  3. Obsługuj konflikty edycji, pamiętając że wyższa clientID dokumentu wygrywa w przypadku jednoczesnych zapisów na ten sam klucz. Dla operacji podatnych na konflikty używaj single-writer keys lub zagnieżdżonych map, aby zmniejszyć ryzyko kolizji.

  4. Implementuj drag-and-drop reordering z fractional indexing w Y.Array, aby uniknąć problemów z sekwencyjnym numerowaniem w środowisku rozproszczonym.

  5. Optymalizuj przechowywanie Yjs dla workloadów o wysokiej zmienności klucz-wartość, przegląd granic między warstwami, aby zapobiec nieefektywności synchronizacji.

  6. Sprawdź powiązany skill workspace-api, jeśli budujesz abstrakcję workspace na bazie Yjs — zawiera on dodatkowe wzorce dla zarządzania przestrzeniami roboczymi.

Related skills

payload

by payloadcms

Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.

Security
50171

ui-audit

by openclaw

AI skill for automated UI audits. Evaluate interfaces against proven UX principles for visual hierarchy, accessibility, cognitive load, navigation, and more. Based on Making UX Decisions by Tommy Geoco.

Security
1223

solidity-security

by wshobson

Master smart contract security best practices to prevent common vulnerabilities and implement secure Solidity patterns. Use when writing smart contracts, auditing existing contracts, or implementing security measures for blockchain applications.

Security
10105

manim

by davila7

Comprehensive guide for Manim Community - Python framework for creating mathematical animations and educational videos with programmatic control

Security
1588

reverse-engineering-tools

by gmh5225

Guide for reverse engineering tools and techniques used in game security research. Use this skill when working with debuggers, disassemblers, memory analysis tools, binary analysis, or decompilers for game security research.

Security
3168

python-expert

by Shubhamsaboo

Senior Python developer expertise for writing clean, efficient, and well-documented code.\nUse when: writing Python code, optimizing Python scripts, reviewing Python code for best practices,\ndebugging Python issues, implementing type hints, or when user mentions Python, PEP 8,

Security
2777