Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

super-store

النجوم٠
التفرعات٠
آخر تحديث٢٣ يونيو ٢٠٢٦ في ١٨:١٣

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.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

مستكشف الملفات
4 ملفات
SKILL.md
readonly