diffity-diff by kamranahmedse/diffity
npx skills add https://github.com/kamranahmedse/diffity --skill diffity-diff您正在打开 diffity diff 查看器,以便用户可以在浏览器中查看他们的更改。
ref(可选):要对比的 Git 引用(例如 main..feature、HEAD~3)或 GitHub PR URL(例如 https://github.com/owner/repo/pull/123)。默认为工作树中的更改。检查 diffity 是否可用:运行 which diffity。如果未找到,请使用 npm install -g diffity 安装它。
使用 Bash 工具并设置 run_in_background: true 来运行 (如果没有 ref 则只运行 ):
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
diffity <ref>diffity& 或 --quiet — 让 Bash 工具来处理后台运行。等待 2 秒钟,然后运行 diffity list --json 以获取端口号。
告知用户 diffity 正在运行。打印 URL 并保持简短 — 不要显示会话 ID、哈希值或其他内部信息。例如:
Diffity 正在运行,地址是 http://localhost:5391
当您准备好时:
* 在浏览器中对 diff 进行评论,然后运行 **/diffity-resolve** 来修复它们 * 或者运行 **/diffity-review** 来获取 AI 代码审查
每周安装次数
121
代码仓库
GitHub 星标数
315
首次出现
9 天前
安全审计
已安装于
github-copilot119
opencode119
gemini-cli118
kimi-cli118
codex118
amp118
You are opening the diffity diff viewer so the user can see their changes in the browser.
ref (optional): Git ref to diff (e.g. main..feature, HEAD~3) or a GitHub PR URL (e.g. https://github.com/owner/repo/pull/123). Defaults to working tree changes.Check that diffity is available: run which diffity. If not found, install it with npm install -g diffity.
Run diffity <ref> (or just diffity if no ref) using the Bash tool with run_in_background: true:
& or --quiet — let the Bash tool handle backgrounding.Wait 2 seconds, then run diffity list --json to get the port.
Tell the user diffity is running. Print the URL and keep it short — don't show session IDs, hashes, or other internals. Example:
Diffity is running at http://localhost:5391
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
Weekly Installs
121
Repository
GitHub Stars
315
First Seen
9 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
github-copilot119
opencode119
gemini-cli118
kimi-cli118
codex118
amp118
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
116,600 周安装
ArkTS语法助手:OpenHarmony应用开发必备,TypeScript迁移与高性能编程指南
234 周安装
Elasticsearch 日志搜索与故障排查指南:使用 ES|QL 和漏斗工作流程
236 周安装
Phaser 3 游戏开发指南:使用 TypeScript 和 Vite 构建 2D 浏览器游戏
266 周安装
LobeChat Modal命令式API指南:React模态框实现与最佳实践
237 周安装
LobeChat 新增 AI 服务商完整指南:文档、环境变量与 Docker 配置
238 周安装
前端UI动画师指南:高性能动画实现与用户体验优化工作流程
242 周安装