一键导入
mermaid-class-diagram
用 Mermaid 產出精簡、可維護的類別圖。Use when 使用者需要建立、審查或修正 class diagram,並希望圖面能忠實反映責任分工與關係。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
用 Mermaid 產出精簡、可維護的類別圖。Use when 使用者需要建立、審查或修正 class diagram,並希望圖面能忠實反映責任分工與關係。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
當要把一筆需求對齊進 plan package 時觸發,這筆需求可以是對既有規格的變更或缺陷,也可以是要落到既有或全新 plan package 的全新需求。把這筆需求追加進 spec.md 並校準 impact matrix。
跨 skill 共用資源庫,本身不會被執行,只存放供其他 skill 載入的共用資源(reference/asset/script)。
Turn a legal Red handoff for target feature files green by verifying drift, editing product code only, detecting failure oscillation, and emitting a Green handoff. TRIGGER when Green execute is requested after aibdd-red-execute. SKIP when no legal Red handoff exists or the request is test, DSL, runtime, or architecture repair.
當 reconcile 校準 impact matrix 後、本 owner 名下有 pending impact 待落成 persistent data schema 時觸發。以 `read --owner aibdd-data-plan --impact-status pending` 為 worklist,依 Discovery 真相(spec.md/feature truth)把須穩定保存的系統狀態推論成 state schema、在草稿上收斂後委派 boundary profile 宣告之 state_specifier 落地至 `${DATA_DIR}`,最後回寫 impact matrix。
Build the entity-to-table mapping (`entity_to_table_mapping.yml`) from a boundary's physical schema specs (DBML / SQL DDL), preserving existing entity names and naming new tables from the plan spec.
Create legal AIBDD red for target feature files by loading project config, mapping every Scenario step to DSL and core preset assets, rendering runtime-visible step definitions, and emitting a Red handoff. TRIGGER when Red execute is requested or delegated by implementation/debug flow. SKIP when the feature package or BDD stack config is absent.
| name | mermaid-class-diagram |
| description | 用 Mermaid 產出精簡、可維護的類別圖。Use when 使用者需要建立、審查或修正 class diagram,並希望圖面能忠實反映責任分工與關係。 |
讓使用者在需要描述類別結構與關係時,能得到一份精簡、易維護、在 Text Mode 下也容易編修的 Mermaid 類別圖 skill。 此 skill 適用於新建 class diagram、審查既有 diagram,或把程式設計概念整理成可討論的結構圖。 本 skill 假設使用者已經知道要畫的是類別圖,接下來由 skill 負責收斂輸出格式與圖面重點。
| 記號 | 關係 | 用途 |
|---|---|---|
| `< | --` | 繼承 |
*-- | 組合 | 整體擁有部分 |
o-- | 聚合 | 弱擁有關係 |
..> | 依賴 | 暫時使用或呼叫 |