使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/wong2/diffx --skill diffx-start-review开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
Start diffx Review
Launch the diffx server so the user can review their git changes in a browser-based UI and leave inline comments.
What to do
1. Launch diffx
Run diffx in the background. By default it shows all working tree changes (staged + unstaged + untracked).
diffxCommon variations — use these when the context calls for it:
diffx -- --staged # Only staged changes
diffx -- HEAD~3 # Last 3 commits
diffx -- main..HEAD # Current branch vs main
diffx -p 8080 # Custom port (default: random available port)Anything after -- is passed directly to git diff, so any valid git diff arguments work.
Important: Run diffx in the background using the Bash tool with run_in_background: true, so the server stays alive while the user reviews.
2. Tell the user
After launching, tell the user:
diffx is running. Review your changes in the browser and leave inline comments. When you're done, come back here and run /diffx-finish-review.Keep it brief.



