diffity-start
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDiffity Start Skill
Diffity启动技能
You are starting the diffity diff viewer so the user can see their changes in the browser.
你正在启动diffity差异查看器,以便用户可以在浏览器中查看他们的变更。
Instructions
操作步骤
-
Check thatis available: run
diffity. If not found, install it withwhich diffity.npm install -g diffity -
Start the server using the Bash tool with:
run_in_background: true- Command:
diffity - Do NOT use or
&— let the Bash tool handle backgrounding--quiet - The browser will open automatically and the session is auto-created on startup
- Command:
-
Wait 2 seconds, then verify the session exists by checking thatfile is present.
.diffity/current-session -
Tell the user diffity is running and show them what they can do next. Keep it short — don't show session IDs, hashes, or other internals. Example:Diffity is running — check your browser.When you're ready:
- Leave comments on the diff in your browser, then run /diffity-resolve to fix them
- Or run /diffity-review to get an AI code review
-
检查是否可用:运行
diffity。如果未找到,请使用which diffity进行安装。npm install -g diffity -
使用Bash工具启动服务器,设置:
run_in_background: true- 命令:
diffity - 请勿使用或
&— 让Bash工具处理后台运行--quiet - 浏览器会自动打开,会话会在启动时自动创建
- 命令:
-
等待2秒,然后通过检查是否存在文件来验证会话是否存在。
.diffity/current-session -
告知用户diffity正在运行,并向他们展示接下来可以执行的操作。保持简洁 — 不要显示会话ID、哈希值或其他内部信息。示例:Diffity正在运行 — 请查看你的浏览器。当你准备好时:
- 在浏览器中的差异上添加注释,然后运行**/diffity-resolve**来修复这些问题
- 或者运行**/diffity-review**获取AI代码审查