diffity-tree
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDiffity Tree Skill
Diffity Tree Skill
You are opening the diffity file tree browser so the user can browse repository files in the browser.
您正在打开diffity文件树浏览器,以便用户可以在浏览器中浏览仓库文件。
Instructions
操作说明
-
Check thatis available: run
diffity. If not found, install it withwhich diffity.npm install -g diffity -
Runusing the Bash tool with
diffity tree:run_in_background: true- The CLI handles everything: if an instance is already running for this repo it reuses it and opens the browser, otherwise it starts a new server and opens the browser.
- Do NOT use or
&— let the Bash tool handle backgrounding.--quiet
-
Wait 2 seconds, then runto get the port.
diffity list --json -
Tell the user diffity tree is running. Print the URL and keep it short — don't show session IDs, hashes, or other internals. Example:Diffity tree is running at http://localhost:5391When you're ready:
- Leave comments on any file in your browser, then run /diffity-resolve-tree to fix them
-
检查是否可用:运行
diffity。如果未找到,使用which diffity进行安装。npm install -g diffity -
使用Bash工具运行,并设置
diffity tree:run_in_background: true- CLI会处理所有事情:如果此仓库已有运行实例,它会复用该实例并打开浏览器;否则会启动新服务器并打开浏览器。
- 请勿使用或
&— 让Bash工具处理后台运行。--quiet
-
等待2秒,然后运行获取端口号。
diffity list --json -
告知用户diffity tree正在运行。输出URL并保持简洁 — 不要显示会话ID、哈希值或其他内部信息。示例:Diffity tree正在运行于 http://localhost:5391准备就绪后:
- 在浏览器中对任意文件添加评论,然后运行**/diffity-resolve-tree**来处理这些评论