返回 Skills 目錄
blockmatic/basilic-skills已通過檢查

SKILL DETAIL

w-diagram

blockmatic/basilic-skills/w-diagram

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

安裝量 · 405查看來源

Installation

npx skills add https://github.com/blockmatic/basilic-skills --skill w-diagram

技能檔案

SKILL.md

最近同步 · 2026年9月21日

SKILL.md
---
name: w-diagram
description: Produce a Mermaid diagram of the requested code, architecture, or data flow.
disable-model-invocation: true
---

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.