Skip to main content
在 Manus 中运行任何 Skill
一键导入

stately

星标22
分支0
更新时间2026年4月14日 00:46

Implement and manage Stately stores — the Pinia-inspired Svelte 5 state management library (@selfagency/stately). Use when creating defineStore() option or setup stores, configuring plugins (persistence, history, FSM, sync, async, validation), wiring SSR-safe managers in SvelteKit, using storeToRefs(), $patch, $subscribe, $onAction, or any Stately API. Also use when debugging store reactivity, choosing concurrency policies, modeling finite state machines, adding time-travel, or building custom Stately plugins. Triggers on: "create a store", "add persistence", "add history/undo/redo", "sync across tabs", "finite state machine", "async plugin", "validation plugin", "SSR-safe store", "SvelteKit data loading with stores", "storeToRefs", "$patch", "$subscribe", "defineStore", "createStateManager", "stately".

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
4 个文件
SKILL.md
readonly