·react-state-driven-ui
*

react-state-driven-ui

lucascmelo/agent-skills

使用reducer +事件创建React UI作为显式状态转换的投影。在构建多步骤表单、异步操作、跨组件状态、导航集成、实时更新或复杂验证时使用。通过显式状态转换和孤立的副作用消除与时间相关的错误。

4安装·0热度·@lucascmelo

安装

$npx skills add https://github.com/lucascmelo/agent-skills --skill react-state-driven-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

详情

分类
*创意媒体
来源
skills.sh
收录时间
2026-02-06