什么是 state-machine-design?
生命周期和行为规范的状态图和状态机建模 来源:melodic-software/claude-code-plugins。
生命周期和行为规范的状态图和状态机建模
通过命令行快速安装 state-machine-design AI 技能到你的开发环境
来源:melodic-software/claude-code-plugins。
Design finite state machines and statecharts for modeling entity lifecycles, workflows, and system behavior.
| State | Condition the system can be in | Draft, Submitted, Paid | | Transition | Change from one state to another | Draft → Submitted | | Event | Trigger for a transition | Submit, Pay, Cancel | | Guard | Condition that must be true | [hasItems], [isValid] | | Action | Side effect on transition | sendNotification, updateDatabase |
| Entry Action | Action when entering state | onEnter: startTimer | | Exit Action | Action when leaving state | onExit: stopTimer |
生命周期和行为规范的状态图和状态机建模 来源:melodic-software/claude-code-plugins。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/melodic-software/claude-code-plugins --skill state-machine-designBrowse more skills from melodic-software/claude-code-plugins
生命周期和行为规范的状态图和状态机建模 来源:melodic-software/claude-code-plugins。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/melodic-software/claude-code-plugins --skill state-machine-design 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/melodic-software/claude-code-plugins