compare-files

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Compare Files

比较文件

Purpose

用途

Compare two files and show differences
比较两个文件并显示差异

Routing

路由

  • Use when: Use when the user asks to compare two files and show differences.
  • Do not use when: Do not use when the request is asking for planning documents, high-level strategy, or non-executable discussion; use the relevant planning or design workflow instead.
  • Outputs: Outcome from Compare Files: task-specific result plus concrete action notes.
  • Success criteria: Returns concrete actions and decisions matching the requested task, with no fabricated tool-side behavior.
  • 使用场景:当用户要求比较两个文件并显示差异时使用。
  • 禁止使用场景:当请求涉及规划文档、高层战略或不可执行的讨论时请勿使用,应改用相关的规划或设计工作流。
  • 输出:比较文件的结果:特定任务的结果以及具体的操作说明。
  • 成功标准:返回符合请求任务的具体操作和决策,不存在虚构的工具端行为。

Trigger Examples

触发示例

Positive

正面示例

  • Use the compare-files skill for this request.
  • Help me with compare files.
  • Use when the user asks to compare two files and show differences.
  • Compare Files: provide an actionable result.
  • 此请求请使用compare-files技能。
  • 帮我进行文件比较。
  • 当用户要求比较两个文件并显示差异时使用。
  • 比较文件:提供可执行的结果。

Negative

负面示例

  • Do not use when the request is asking for planning documents, high-level strategy, or non-executable discussion; use the relevant planning or design workflow instead.
  • Do not use compare-files for unrelated requests.
  • This request is outside compare files scope.
  • This is conceptual discussion only; no tool workflow is needed.
  • 当请求涉及规划文档、高层战略或不可执行的讨论时请勿使用,应改用相关的规划或设计工作流。
  • 无关请求请勿使用compare-files。
  • 此请求超出文件比较的范围。
  • 这仅为概念讨论,不需要使用工具工作流。

Parameters

参数

NameTypeRequiredDescription
file1stringYesPath to the first file
file2stringYesPath to the second file
名称类型必填描述
file1string第一个文件的路径
file2string第二个文件的路径

Runtime Prompt

运行时提示

  • Current runtime prompt length: 477 characters.
  • Runtime prompt is defined directly in
    ../compare-files.json
    .
  • 当前运行时提示长度:477个字符。
  • 运行时提示直接定义在
    ../compare-files.json
    中。