Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

super-store

Sterne0
Forks0
Aktualisiert23. Juni 2026 um 18:13

Use when building with super-store — the reactive StoreValue primitive imported from @super-store/store (and the useStore / useStoreSelector hooks from @super-store/react). Triggers whenever code constructs a StoreValue handle, reads .value or getSnapshot(), writes via set() or update() (recursive diff-and-patch in one transaction), subscribes / selects for reactivity, or reaches for the sync surface (encodeState / applyUpdate / onUpdate) to add real-time collaboration or persistence WITHOUT importing yjs. Also use for the two backing modes (unbound in-memory vs bound Yjs CRDT, lazy binding from the root), nested StoreValue for per-field CRDT merge, opt-in undo/redo, the StoreValue→Yjs type mapping, and wiring stores into React with useSyncExternalStore. Applies even when the user never says "super-store" but is clearly using a StoreValue, getSnapshot/subscribe, or the encodeState/applyUpdate/onUpdate trio.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

Datei-Explorer
4 Dateien
SKILL.md
readonly