W Diagram

blockmatic/basilic-skills/skills/workflow/w-diagram

作者 blockmatic7e05e2abd052dc6b526e8a28e36d102d42bfd635無授權條款1 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫6 天前更新

Produce a Mermaid diagram of the requested code, architecture, or data flow.

AI 產生的概覽

根據所檢視的程式碼、架構或資料流產生 Mermaid 圖表。

功能
此技能會把關於程式碼、架構、產品或旅程文件,或資料流的請求,轉換成一個或多個 Mermaid 圖表。它會檢視指定的程式碼或文件,選擇符合問題的圖表類型(流程圖、時序圖、類別圖、ER 圖、狀態圖或旅程圖),並將輸出包在 mermaid 程式碼區塊中。接著用幾句話說明圖表呈現的內容,保持標籤簡短,並拆分過大的圖。它被要求不得虛構未檢視過的架構或來源。
適用情境
當你需要以視覺化方式呈現現有程式碼或文件中的關係、流程或結構時使用。它適合架構、產品、旅程或資料流圖表的需求;除非提供檔案路徑,否則輸出到對話中。
執行需求
不需要指令碼或特殊工具,僅為指示。它需要存取指定的程式碼或文件來源進行檢視,輸出為 Mermaid 文字。

Visualize relationships, flow, or structure. Chat output unless the user gave a file path. Do not invent architecture that is not in the sources. Do not invent PRODUCT.md.

  1. If the request is product, journey, or architecture docs, read named MDX/DESIGN.md and emit at most two Mermaid diagrams from those sources. Flag contradictions between docs and code without proposing a new methodology.
  2. Otherwise inspect the named code or docs. Choose flowchart, sequence, class, er, state, or journey only when it matches the question.
  3. Keep labels short. Split oversized graphs. Wrap output in a mermaid fence.
  4. Explain what the diagram shows in a few sentences. Nodes and edges must map to inspected sources.

來源與署名

來源:blockmatic/basilic-skills位於skills/workflow/w-diagram提交7e05e2a

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架