react-state-driven-ui
✓使用reducer +事件創建React UI作為顯式狀態轉換的投影。在構建多步驟表單、異步操作、跨組件狀態、導航集成、實時更新或複雜驗證時使用。通過顯式狀態轉換和孤立的副作用消除與時間相關的錯誤。
SKILL.md
Build predictable, testable React applications by treating UI as a pure projection of explicit state. This architectural pattern eliminates timing-dependent bugs, reduces cognitive overhead, and makes complex workflows manageable through clear state transitions and isolated side effects.
When to apply Use this skill when building features that require:
Technical approach Use this skill to design and implement UI behavior as a pure projection of state. Model behavior with reducer + events. Isolate side effects in React Query mutation callbacks.
使用reducer +事件創建React UI作為顯式狀態轉換的投影。在構建多步驟表單、異步操作、跨組件狀態、導航集成、實時更新或複雜驗證時使用。通過顯式狀態轉換和孤立的副作用消除與時間相關的錯誤。 來源:lucascmelo/agent-skills。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/lucascmelo/agent-skills --skill react-state-driven-ui- 分類
- *創意媒體
- 認證
- ✓
- 收錄時間
- 2026-02-06
- 更新時間
- 2026-02-18
快速解答
什麼是 react-state-driven-ui?
使用reducer +事件創建React UI作為顯式狀態轉換的投影。在構建多步驟表單、異步操作、跨組件狀態、導航集成、實時更新或複雜驗證時使用。通過顯式狀態轉換和孤立的副作用消除與時間相關的錯誤。 來源:lucascmelo/agent-skills。
如何安裝 react-state-driven-ui?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/lucascmelo/agent-skills --skill react-state-driven-ui 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/lucascmelo/agent-skills