·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