核对 AI 智能体「说做了什么」与「实际改了什么」 Verify What Your AI Coding Agent Says Against What It Actually Changed
告别在十几个文件的 git diff 里大海捞针:把 AI 的编码汇报变成可点击逐项对照的改动导读,精准揪出「嘴上说改了其实没动」与「偷偷改了却只字未提」的代码。
Stop hunting through 1,000-line raw git diff dumps: turn your coding agent’s summary into a clickable feature-by-feature review guide, with instant warnings for unimplemented claims and silent code edits.
为什么用 AI 写代码必须配一层「言行核对」? Why AI-Assisted Coding Needs Claim-to-Diff Verification
| 审查痛点Review Dimension | ClaimDiff | 肉眼硬看原始 git diffReading Raw git diff |
只看 AI 聊天汇报Trusting Agent Summary Alone |
|---|---|---|---|
| 跨文件阅读主线Reading Flow | 按功能点聚合,点击任一功能直接展开对应 Diff 块并跳到源码行Grouped by feature; click a feature to inspect its exact diff hunks & jump to file | 按文件名字母序零碎平铺,上下文来回割裂Flat alphabetical dump across 15+ files | 只有文字描述,看不到底层代码Prose claims without code proof |
| AI 漏改虚报(说了没做)Unimplemented Claims | 自动标红无代码支撑的功能点与路径(claimedButNoCode)Automatically flags features & paths missing from git diff |
需人脑逐条记忆并人工核实Manual memory check | 完全无法发现幻觉汇报Undetected hallucinations |
| AI 顺手暗改(做了没说)Silent / Unexplained Edits | 自动揪出未被任何功能点认领的野生改动块与未声明函数修改Flags leftover hunks & edits touching undeclared symbols | 极易淹没在格式噪音中漏看Buried inside formatting noise | AI 不提就彻底隐身100% invisible |
| 源码隐私与上下文消耗Privacy & Token Cost | 100% 纯本机运行不上传源码;只向模型返回一句话与统计数100% local on your machine; returns 1 sentence + counts to LLM | 纯本机但极耗精力Local, slow & fatiguing | 云端 PR 工具常需上传代码仓库Cloud PR bots upload diffs |
⚡ 30 秒安装接入各平台⚡ 30-Second Multi-Platform Setup
在你的 Git 项目根目录运行一次自动配置(自动写入钩子、MCP 服务与 claimdiff 技能,并将 .claimdiff/ 加入 .git/info/exclude 不污染仓库):
Run once inside your Git project to wire hooks, the MCP server, and the claimdiff skill (automatically excludes .claimdiff/ via .git/info/exclude):
# Cursor
npx -y claimdiff-mcp@latest install --cursor
# Claude Code
npx -y claimdiff-mcp@latest install --claude
# DeepSeek Harness
dsh plugin --profile web add dsh-claimdiff
# Open standalone browser guide anytime in any Git repo
npx -y claimdiff-mcp@latest open
扩展商店搜 ClaimDiff 安装,点击左侧 Git 栏顶部核对图标随时打开改动导读。
Install claimdiff.claimdiff-vscode and click the checklist icon in the Git Source Control bar.
/plugin marketplace add zhiyuanvision-lang/ClaimDiff
/plugin install claimdiff@claimdiff-marketplace
从 GitHub Releases 下载 Antigravity 包,或挂载标准 claimdiff-mcp 服务。
Install the Antigravity bundle from GitHub Releases or run npx -y claimdiff-mcp@latest mcp.