·state-machine-design
</>

state-machine-design

生命週期和行為規範的狀態圖和狀態機建模

51安裝·1熱度·@melodic-software

安裝

$npx skills add https://github.com/melodic-software/claude-code-plugins --skill state-machine-design

如何安裝 state-machine-design

透過命令列快速安裝 state-machine-design AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/melodic-software/claude-code-plugins --skill state-machine-design
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:melodic-software/claude-code-plugins。

SKILL.md

查看原文

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-design
分類
</>開發工具
認證
收錄時間
2026-03-03
更新時間
2026-03-10

Browse more skills from melodic-software/claude-code-plugins

快速解答

什麼是 state-machine-design?

生命週期和行為規範的狀態圖和狀態機建模 來源:melodic-software/claude-code-plugins。

如何安裝 state-machine-design?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/melodic-software/claude-code-plugins --skill state-machine-design 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/melodic-software/claude-code-plugins