GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者提供的说明(英文原文)
Make a coding agent prove it: run the repo's real tests, typecheck and lint before it says done.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"isitdone": {
"command": "npx",
"args": [
"-y",
"@aivolution/isitdone",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add isitdone -- npx -y @aivolution/isitdone mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"isitdone": {
"command": "npx",
"args": [
"-y",
"@aivolution/isitdone",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"isitdone": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@aivolution/isitdone",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 raimondasl 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.9.0)于18天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitHub, Desktop Commander, Cloudflare MCP
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Don't let your coding agent say "done" until the tests actually pass.
*Rendered from a real run (npm run demo): the agent lines are narration; the hook and CLI output are captured as-is, with only the temporary path shortened.*
isitdone is a zero-LLM, zero-dependency Stop hook and CLI for Claude Code, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, Qwen Code, Goose, Factory Droid, Devin, Augment, OpenCode and Junie CLI. When the agent tries to end its turn claiming the work is complete, isitdone runs the repository's *real* test, typecheck and lint commands on the *exact* working tree, scans the diff for weakened tests, and refuses the stop until they pass. It also tells the agent mid-turn when an edit just weakened a test, runs the same verification on pull requests as a GitHub Action, offers it as an MCP server to agents that have no stop hook, and leaves a git-bound receipt you can paste into a PR.
npx isitdone init
No API keys. No network. No telemetry. Just exit codes.
Claude Code ends its turn with:
Done. All 4 tests pass and the auth refactor is complete.
The Stop hook runs isitdone before that turn is allowed to end. The agent receives this instead:
isitdone: NOT DONE. 1 check failed on the current working tree (attempt 1/3).
You claimed: "All 4 tests pass and the auth refactor is complete."
npm run typecheck PASS npm run lint PASS npm test FAIL 1 failed, 3 passed
--- npm test (last 24 lines) --- ✖ failing tests:
test at test/auth.test.js:14:1 ✖ is case-insensitive about the scheme (1.498ms) AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
null !== 'abc' ...
Fix the failures, then run npx isitdone and paste its output before claiming completion. Do not skip, delete or weaken tests to make this pass; if a check is wrong for this repo, say so explicitly to the user.
The agent keeps working. When it genuinely finishes:
$ npx isitdone
isitdone main@2429c82 dirty (1 file)
npm run typecheck PASS 428ms npm run lint PASS 411ms npm test PASS 532ms
DONE receipt -> PASS (tree e5e47d9, 3 checks, 1.8s)
$ npx isitdone receipt --md # paste into the PR
| check | result | time |
|---|---|---|
npm run typecheck | PASS | 428ms |
npm run lint | PASS | 411ms |
npm test | PASS | 532ms |
Tree e5e47d9 on main@2429c82 (+1 uncommitted). Receipt: PASS · isitdone 0.1.0
Edit one more file and the receipt goes STALE until the checks run again. A hand-edited receipt reads NONE. (isitdone on npm is a short alias of @aivolution/isitdone; both commands are the same program.)
Measure it on your own machine. isitdone history reads the transcripts already on disk: Claude Code (~/.claude/projects), Codex CLI (~/.codex/sessions: legacy, paginated and pre-0.40 rollouts, honouring /undo rollbacks), Gemini CLI (~/.gemini/tmp/ /chats, both the .json and the 0.39+ .jsonl layouts), Qwen Code (~/.qwen/projects/ /chats) and Cursor (the IDE's state.vscdb bubble store, opened read-only in place, which needs Node 22.13+ or 24 for node:sqlite; on Node 20 the agent-transcripts JSONL is read instead, which carries no exit codes, and the report says so). It finds every turn where the agent edited files and then claimed completion, and checks whether a test command actually passed after the last edit. Nothing leaves your machine; only counts are printed.
$ npx isitdone history --until 2026-09-07 --exclude <private project>
isitdone history ~/.claude/projects until 2026-09-07 scanned 596 sessions in 6 projects; 1320 turns edited files; 495 of those ended with a completion claim; 1 project dir excluded claude-code 596 sessions 495 claims 35% verified
VERIFIED 35% (173) a test command passed after the last edit STALE 35% (174) tests passed, then more edits, no re-run FAILED 1% (3) the last test run failed, "done" claimed anyway NEVER RAN 29% (145) no test command in the turn at all
65% of "done" claims (322 of 495) had no passing test run behind them. 21 of the verified claims had a failed test run earlier in the same turn; only the last command passed, and it may have been a narrower one (--verbose marks them).
That is the author's real result, printed by isitdone 0.8.2 on 2026-09-27 over the Claude Code sessions that were on disk before the gate went in: claims dated 2026-06-20 to 2026-09-07, which --until 2026-09-07 reproduces. One private project is left out with --exclude, as it was in every published run; the only other edits are the home directory shortened to ~ and the per-project lines at the end dropped. The first published figure came from isitdone 0.2.0 on 2026-09-07: 69% of 516 claims (31% verified, 37% stale, 31% never ran, and a failing-run row printed as 0%; under 0.2.0's plain rounding that means at most 2 claims). Later versions detect claims and turns more strictly, over the same transcripts. Since 0.8.1 history prints the count beside every share (since 0.8.2 the headline too) and never rounds a row that holds anything to 0%, so a 0% row now means none. Post yours.
Once the gate is installed, that measure alone undercounts: the verification happens inside the Stop hook, and a transcript does not show the hook's run as a test the agent ran. So the hook keeps a local log of its own decisions (.isitdone/decisions.jsonl: one line per stop with the outcome, whether the final message claimed completion, and check counts; no message text, no paths, the session id only hashed), and history adds what the gate did in the projects it scanned. The layout, with illustrative numbers:
gate the isitdone Stop hook decided 132 stops in 2 projects (.isitdone/decisions.jsonl)
97 passed; 21 turns blocked: 18 fixed and then passed, 2 gave up after the cap, 1 released 64 stops claimed done; 12 of them were refused (19%)
The longer story of why the gate sits where it does is in [docs/why.md](docs/why.md) (also [on DEV](https://dev.to/raimondasl/69-of-my-coding-agents-done-claims-werent-here-is-the-gate-i-put-in-front-of-them-lho), where comments are open).
One command per host. Run it inside the repository.
| Host | Command | Where it writes |
|---|---|---|
| Claude Code | npx isitdone init | .claude/settings.json (Stop) |
| Codex CLI | npx isitdone init --agent codex | .codex/hooks.json (Stop), then run /hooks in Codex and trust it |
| Cursor | npx isitdone init --agent cursor | .cursor/hooks.json (stop) |
| Gemini CLI | npx isitdone init --agent gemini | .gemini/settings.json (AfterAgent); or gemini extensions install https://github.com/raimondasl/isitdone-gemini |
| GitHub Copilot CLI | npx isitdone init --agent copilot | .github/hooks/isitdone.json (agentStop); restart Copilot |
| Qwen Code | npx isitdone init --agent qwen | .qwen/settings.json (Stop) |
| Goose | npx isitdone init --agent goose | .agents/plugins/isitdone/hooks/hooks.json (Stop) |
| Factory Droid | npx isitdone init --agent droid | .factory/hooks.json (Stop) |
| Devin | npx isitdone init --agent devin | .devin/hooks.v1.json (Stop); skipped when the Claude Code hook is present, since Devin loads that too |
| Augment (Auggie) | npx isitdone init --agent augment | .augment/settings.json (Stop) pointing at .augment/hooks/isitdone-hook.sh/.cmd, since Auggie runs script files |
| OpenCode | npx isitdone init --agent opencode | .opencode/plugins/isitdone.js (a plugin: OpenCode has no blocking hook, so failed checks come back as a visible [isitdone] follow-up message in the same session) |
| Junie CLI (early access) | npx isitdone init --agent junie --user | ~/.junie/config.json (Stop) |
| Everything | npx isitdone init --agent all | all of the above that apply to the repo |
init detects the checks, writes the Stop hook and (for Claude Code, Codex, Gemini CLI, Qwen Code, Devin and OpenCode) a warn-only post-edit hook, adds .isitdone/ to .gitignore, and runs doctor, which pipes a synthetic "all tests pass" stop event through the hook and proves it blocks, and runs the detected checks once on the current tree so that a wrong guess (say mypy . where CI runs mypy src/pkg) or an already-red tree shows up now, at install time, instead of as NOT DONE on every stop:
$ npx isitdone init
isitdone init ~/work/demo-app detected npm run typecheck, npm run lint, npm test profile claim-gated (lite checks on every stop, full checks when the agent claims done) gitignore added .isitdone/ Claude Code added .claude/settings.json
isitdone doctor ~/work/demo-app ok git main@2429c82, 0 dirty file(s), tree 8d11d2f ok config no .isitdone.json (auto-detect only) ok checks typecheck: npm run typecheck [lite, 60s]; lint: npm run lint [lite, 60s]; test: npm test [full, 120s] ok baseline all 3 checks pass on the current tree (npm run typecheck 428ms, npm run lint 411ms, npm test 532ms) ok hook:claude Claude Code (project) .claude/settings.json -> npx -y @aivolution/isitdone hook --host claude ok probe:claude synthetic "tests pass" stop was blocked in 1.9s (decision block with reason)
OK the agent cannot claim done with failing checks in this repo
Claude Code users can also install it as a plugin: /plugin marketplace add raimondasl/isitdone then /plugin install isitdone@isitdone. Gemini CLI users can install it as an extension: gemini extensions install https://github.com/raimondasl/isitdone-gemini (isitdone-gemini). A paste-to-agent version of these instructions is in docs/install.md. How each of these agents' end-of-turn hooks works (config file, payload, how to block, loop flags) is written up vendor-neutrally in docs/agent-hooks.md, with the same table as data in docs/agent-hooks.json.
Add --user to install into your user-level settings instead of the project. npx isitdone uninstall removes it. Teach the agent to run it itself with npx skills add raimondasl/isitdone (the SKILL.md is at the repo root).
The code lives in the @aivolution/isitdone package; isitdone on npm is a short alias with the same command, and installed hooks always call the canonical package. npm i -D @aivolution/isitdone makes the hook resolve locally, with no registry lookup and offline.
The hook runs through npx, which keeps its own install cache and does not refresh an unpinned package by itself. To move the hook to the latest release:
npx isitdone update # clears the cached copies of both packages and re-warms them
npx isitdone update --check # only reports whether a newer release exists
doctor reports the version the hook actually runs and mentions when a newer release is available. Projects that installed @aivolution/isitdone as a dev dependency update it with npm update @aivolution/isitdone instead.
The Stop hook is the gate; the post-edit hook is the nudge. On Claude Code, Codex, Gemini CLI, Qwen Code, Devin and OpenCode, init also registers a hook that runs after every Edit/Write (Codex and Devin: apply_patch, Gemini and Qwen: write_file/replace, OpenCode: edit/write/apply_patch). It scans just that file against HEAD (so it sees every uncommitted change to the file, not only the lines this edit touched) and, when the tests got weaker, ad
只显示了开头部分;其余内容请在仓库中阅读