Skip to main content

cokit-dioxus

星标14
分支1
更新时间2026年3月31日 15:34

Guides planning and implementation for Dioxus applications built with COKIT's co-dioxus crate. Covers initialization (CoContext, CoSettings), all co-dioxus hooks (use_co, use_cos, use_selector, use_selector_state, use_selectors, use_selector_states, use_co_reducer_state, use_co_id, use_did_key_identity, use_co_context), the reactive data-flow model, hierarchical DAG state access, dispatching actions, creating COs, and cross-platform feature flags. Enforces COKIT-specific Dioxus rules: no optimistic rendering, no copied state, no global AppState, COKIT as single source of truth, hooks for all state, derive state reactively. Trigger this skill whenever the user is building, planning, or modifying a Dioxus application that uses co-dioxus, or asks about using COKIT with Dioxus, even if they just say "dioxus component" or "add a view" in a COKIT project context.

安装

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

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