show-me

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Show Me

Show Me

Answer the user's current question visually. Lead with the point, keep prose brief, and use the least complex view that exposes the important relationship.
直观回答用户当前的问题。先给出核心结论,保持正文简洁,并使用能够呈现重要关系的最简视图。

1. Frame the visual question

1. 构建视觉问题

Infer the one question the visual must answer from the current conversation. Ask one concise clarifying question only when multiple materially different readings remain. Gather the user-provided or repository evidence for every entity, relationship, label, order, state, and value that will appear.
Treat evidence status as part of the picture:
  • Render verified current behavior without qualification.
  • Mark designs and expected future behavior as
    proposed
    .
  • Mark reasoned but unverified relationships as
    inferred
    .
  • Show an unknown as
    unknown
    instead of inventing it.
  • When statuses mix, include a compact textual legend and encode status in labels or line patterns as well as color.
This step is complete when every prospective visual claim is either traceable to evidence or explicitly status-labeled.
从当前对话中推断视觉内容必须回答的单个问题。只有在存在多种实质不同的解读时,才提出一个简短的澄清问题。收集用户提供的或代码仓库中的证据,以支持将要出现的每一个实体、关系、标签、顺序、状态和值。
将证据状态纳入视觉表达:
  • 直接呈现已验证的当前行为,不附加限定说明。
  • 将设计方案和预期的未来行为标记为
    proposed
    。
  • 将经过推理但尚未验证的关系标记为
    inferred
    。
  • 将未知信息显示为
    unknown
    ,而不是自行编造。
  • 当多种状态混合出现时,加入紧凑的文本图例,并通过标签或线型以及颜色共同编码状态。
本步骤完成的条件是:每一项拟呈现的视觉结论要么可追溯到证据,要么已明确标注状态。

2. Choose the smallest sufficient form

2. 选择最小且充分的形式

Question to answerForm
Exact mapping, option comparison, repeated fieldsMarkdown table
Algorithm, condition, transformationPseudocode
Runtime nesting or caller-to-callee shapeCall tree
UI composition, state ownership, module boundaryComponent tree
File ownership or broad refactorShallow file tree
Existing shape versus changed shapeStructural
diff
Copyable new code shape or contractSignature or complete code block
Branching control, data movement, component relationshipsMermaid flowchart
Time-ordered interaction among actorsMermaid sequence diagram
Lifecycle and event-driven transitionsMermaid state diagram
Coarse spatial layoutText wireframe
Dense spatial detail, responsive states, or useful interactionStandalone HTML artifact
Use prose alone when it is clearer than a visual. Combine forms only when each answers a distinct part of the question; place each visual beside the sentence it supports.
For a table, pseudocode, tree, signature, structural diff, or text wireframe, read references/text-views.md. For a Mermaid flowchart, sequence diagram, or state diagram, read references/mermaid-diagrams.md. For the HTML branch, read references/html-artifacts.md before creating the file. Apply the selected branch's construction and verification rules.
This step is complete when each selected form has a distinct job and no simpler form would communicate it as well.
要回答的问题形式
精确映射、选项对比、重复字段Markdown 表格
算法、条件、转换伪代码
运行时嵌套结构或调用方到被调用方的结构调用树
UI 组合、状态归属、模块边界组件树
文件归属或大范围重构浅层文件树
现有结构与变更后结构的对比结构化
diff
可复制的新代码结构或契约函数签名或完整代码块
分支控制、数据流动、组件关系Mermaid 流程图
不同参与者之间按时间顺序发生的交互Mermaid 时序图
生命周期和事件驱动的状态转换Mermaid 状态图
粗略空间布局文本线框图
密集空间细节、响应式状态或有用的交互独立 HTML 产物
如果仅用文字比视觉内容更清晰,则使用纯文本。只有当每种形式分别回答问题的不同部分时才组合使用;并将每个视觉内容放在其所支持的句子旁边。
对于表格、伪代码、树、函数签名、结构化 diff 或文本线框图,请阅读 references/text-views.md。对于 Mermaid 流程图、时序图或状态图,请阅读 references/mermaid-diagrams.md。对于 HTML 分支,请在创建文件前阅读 references/html-artifacts.md。应用所选分支的构建和验证规则。
本步骤完成的条件是:每种选定形式都有明确且不同的作用,并且没有更简单的形式能够更好地传达相应信息。

3. Draft from evidence

3. 基于证据起草

Use the domain names, symbols, paths, labels, states, and boundaries found in the evidence. Keep only the nodes, edges, columns, props, files, or controls needed to answer the framed question. Preserve order when order carries meaning; label edges when their meaning is not obvious.
Choose a structural
diff
when the user needs the delta against a known baseline. Show the entire shape when the baseline contributes little, parent context determines the meaning, or a reusable example is the deliverable.
This step is complete when every included element advances the answer and removing any remaining element would lose relevant meaning.
使用证据中出现的领域名称、符号、路径、标签、状态和边界。仅保留回答所构建问题所需的节点、边、列、props、文件或控件。当顺序具有含义时保留顺序;当边的含义不明显时为其添加标签。
当用户需要相对于已知基线的变化时,选择结构化
diff
。当基线提供的信息很少、父级上下文决定含义,或可复用示例本身就是交付物时,展示完整结构。
本步骤完成的条件是:每个保留元素都能推进对问题的回答,而移除其余任何元素都会损失相关含义。

4. Verify the rendered result

4. 验证渲染结果

Apply the branch-specific checks in the loaded reference. Then verify the shared contract:
  • The title or lead sentence states the takeaway rather than naming a generic topic.
  • Reading order and direction are unambiguous.
  • Text labels carry the meaning; color is supplementary.
  • A short adjacent interpretation makes the visual understandable when rendering, color, or interaction is unavailable.
  • Paths, symbols, values, and relationships agree with their evidence.
  • Proposed, inferred, and unknown content is distinguishable from observed fact.
This step is complete when every shared and branch-specific check passes, including an actual render check for Mermaid or HTML when the host provides one; otherwise the response must name the unchecked rendering risk.
应用已加载参考文档中的分支专属检查。然后验证共享约定:
  • 标题或引导句陈述核心结论,而不是只命名一个泛泛的主题。
  • 阅读顺序和方向清晰明确。
  • 文本标签承载含义;颜色仅作辅助。
  • 在无法渲染、辨别颜色或进行交互时,图表旁的一段简短说明仍能使其被理解。
  • 路径、符号、值和关系与证据一致。
  • proposed、inferred 和 unknown 内容可与观察到的事实区分开。
本步骤完成的条件是:所有共享检查和分支专属检查均通过,包括在宿主环境提供相应能力时对 Mermaid 或 HTML 执行实际渲染检查;否则,回复必须说明未检查的渲染风险。

5. Deliver

5. 交付

Start with the answer, show the visual immediately beside it, then add only the interpretation or evidence notes needed to prevent misreading. For repository-backed facts, link the most useful local files or cite the relevant source locations.
When the output is HTML, use the destination the user selected. If the user did not select one, save that HTML artifact to:
text
.agent-work/tasks/{task-slug}/show-me-{description}.html
Return a standard file link to the saved artifact. When the host exposes a native preview or attachment mechanism, use it in addition to the link.
For text, Markdown, or Mermaid output, render it directly in the response unless the user requested a file destination; never wrap those forms in an HTML file merely to persist them.
The skill is complete when the delivered visual directly answers the framed question, all claims meet the evidence contract, the output is accessible without color alone, and the selected form is the smallest one that works.
先给出答案,紧接着在答案旁展示视觉内容,然后只添加防止误解所需的解读或证据说明。对于有代码仓库证据支持的事实,链接最有用的本地文件或引用相关来源位置。
当输出为 HTML 时,使用用户选择的目标位置。如果用户未选择目标位置,则将 HTML 产物保存至:
text
.agent-work/tasks/{task-slug}/show-me-{description}.html
返回指向已保存产物的标准文件链接。当宿主环境提供原生预览或附件机制时,还应同时使用该机制。
对于文本、Markdown 或 Mermaid 输出,除非用户要求指定文件位置,否则直接在回复中渲染;不要仅仅为了持久化这些形式而将其包装在 HTML 文件中。
该 skill 完成的条件是:交付的视觉内容直接回答所构建的问题,所有结论均符合证据约定,输出在仅依赖颜色时仍可访问,并且所选形式是能够完成任务的最小形式。