·state-driven-ui
*

state-driven-ui

lucascmelo/agent-skills

使用reducer +事件創建React UI作為顯式狀態轉換的投影。隔離 React 查詢突變回調中的副作用。保持組件僅渲染和僅意圖。

1安裝·0熱度·@lucascmelo

安裝

$npx skills add https://github.com/lucascmelo/agent-skills --skill state-driven-ui

SKILL.md

Scope 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.

Required approach Follow this order. Do not skip steps. Do not write component code before steps 1 to 4 are complete.

Output expectations When using this skill, output in this structure:

使用reducer +事件創建React UI作為顯式狀態轉換的投影。隔離 React 查詢突變回調中的副作用。保持組件僅渲染和僅意圖。 來源:lucascmelo/agent-skills。

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/lucascmelo/agent-skills --skill state-driven-ui
分類
*創意媒體
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 state-driven-ui?

使用reducer +事件創建React UI作為顯式狀態轉換的投影。隔離 React 查詢突變回調中的副作用。保持組件僅渲染和僅意圖。 來源:lucascmelo/agent-skills。

如何安裝 state-driven-ui?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/lucascmelo/agent-skills --skill state-driven-ui 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/lucascmelo/agent-skills

詳情

分類
*創意媒體
來源
skills.sh
收錄時間
2026-02-01