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 从公开仓库中收录这些内容。

举报或申请下架