一键导入
aibdd-form-sequence-diagram
將推理包翻譯為 Mermaid `sequenceDiagram` 檔(`.sequence.mmd`)。 目標路徑與單一 implementation path 內容由呼叫方透過 DELEGATE 參數指定,本 skill 不自決。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
將推理包翻譯為 Mermaid `sequenceDiagram` 檔(`.sequence.mmd`)。 目標路徑與單一 implementation path 內容由呼叫方透過 DELEGATE 參數指定,本 skill 不自決。
用 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 | aibdd-form-sequence-diagram |
| description | 將推理包翻譯為 Mermaid `sequenceDiagram` 檔(`.sequence.mmd`)。 目標路徑與單一 implementation path 內容由呼叫方透過 DELEGATE 參數指定,本 skill 不自決。 |
| metadata | {"user-invocable":false} |
Formulation skill。把呼叫方傳來的推理包翻成 .sequence.mmd,再用 scripts/evaluate.py 驗語法。
sequenceDiagram
actor Player
participant RoomController
participant JoinUseCase
participant RoomRepo
Player ->> RoomController: POST /rooms/join
RoomController ->> JoinUseCase: execute(cmd)
JoinUseCase ->> RoomRepo: upsertRoom()
Note right of RoomRepo: state: rooms.insert
JoinUseCase -->> RoomController: RoomJoined
RoomController -->> Player: 201 Created
Note over Player: ✓ HTTP 201 with body.room_id
支援的行類別(出現在上方範例中):
actor <名稱>participant <名稱><發送方> <箭頭> <接收方>: <說明>,箭頭可用 ->、->>、-->、-->>Note right of <擁有者>: state: <資料表>.<操作>Note over <觸發者>: ✓ <驗收條件>僅支援上列五種行;不畫 loop / alt / opt / activate 等控制流區塊。
.sequence.mmd 結尾。依 §1 五種行模板,把推理包逐項翻成 Mermaid 文字。
python3 scripts/evaluate.py <剛寫的檔>。回傳「狀態、輸出路徑、驗證報告」三項給呼叫方。