乔木开发与部署 #18 GitHub Stars 8 原文已核对

react

把 JSON 规格渲染为 React 组件,适合 json-render 的前端组件输出。

开发、调试、部署网站或自动化工具

安装这个 Skill

npx skills add https://github.com/joeseesun/qiaomu-english-learn --skill react

为什么值得装

推荐它,是因为这是 joeseesun 仓库中可直接追溯到原始 SKILL.md 的条目,文档路径为「.agents/skills/react/SKILL.md」。相比只看仓库名,原文给出了触发场景、执行边界或操作步骤,适合在需要这类能力时直接安装或作为模板改造。

原文里最有价值的点

  • React renderer 用于 json-render that turns JSON specs into React components。
  • { "$state": "/state/key" } - reads 来自 state model (one-way 阅读)。
  • { "$bindState": "/path" } - two-way binding: reads 来自 state 和 enables。
  • 文档重点章节:Quick Start、Creating a Catalog、Spec Structure (Element Tree)。

适合用在

  • 处理 CLI、浏览器、API、服务器和 GitHub 工作流
  • 上线前做构建、冒烟、真实页面和回归验证