·xstate-v5
>_

xstate-v5

使用严格的 setup().createMachine() 规则集、参数优先类型、规范的 actor/spawn 模式以及 @xstate/react 中的 createActorContext() 模式来实现、重构和审查 XState v5 状态机(TypeScript 和 React)。包括实施前规划/设计状态图的指导。

9安装·0热度·@programbo

安装

$npx skills add https://github.com/programbo/xstate-skill --skill xstate-v5

如何安装 xstate-v5

通过命令行快速安装 xstate-v5 AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/programbo/xstate-skill --skill xstate-v5
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:programbo/xstate-skill。

SKILL.md

查看原文

Build, refactor, and review XState v5 state machines (TypeScript and React) using a strict, strongly-typed ruleset.

Source of truth: references/xstate-v5-rules.md (this repo, resolved from the skill root). If anything in this skill conflicts with the rules file, follow the rules file.

These requirements are intentionally duplicated here so an agent can comply without first loading external references:

使用严格的 setup().createMachine() 规则集、参数优先类型、规范的 actor/spawn 模式以及 @xstate/react 中的 createActorContext() 模式来实现、重构和审查 XState v5 状态机(TypeScript 和 React)。包括实施前规划/设计状态图的指导。 来源:programbo/xstate-skill。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/programbo/xstate-skill --skill xstate-v5
分类
>_效率工具
认证
收录时间
2026-02-22
更新时间
2026-03-10

Browse more skills from programbo/xstate-skill

快速解答

什么是 xstate-v5?

使用严格的 setup().createMachine() 规则集、参数优先类型、规范的 actor/spawn 模式以及 @xstate/react 中的 createActorContext() 模式来实现、重构和审查 XState v5 状态机(TypeScript 和 React)。包括实施前规划/设计状态图的指导。 来源:programbo/xstate-skill。

如何安装 xstate-v5?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/programbo/xstate-skill --skill xstate-v5 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/programbo/xstate-skill

详情

分类
>_效率工具
来源
skills.sh
收录时间
2026-02-22

相关 Skills

暂无