w-diagram

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
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
    PRODUCT.md
    and named MDX 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.
可视化关系、流程或结构。除非用户提供了文件路径,否则在聊天中输出。不要虚构来源中不存在的架构。不要虚构 PRODUCT.md。
  1. 如果请求涉及产品、journey 或架构文档,请阅读
    PRODUCT.md
    和指定的 MDX 文件,并基于这些来源输出最多两个 Mermaid 图。指出文档与代码之间的矛盾,但不要提出新的方法论。
  2. 否则,检查指定的代码或文档。仅当 flowchart、sequence、class、er、state 或 journey 与问题相匹配时,才选择相应的图表类型。
  3. 保持标签简短。拆分过大的图。使用
    mermaid
    围栏包裹输出。
  4. 用几句话说明图表展示了什么。节点和边必须映射到已检查的来源。