- Home
- Skills
- Testing & Debugging
- Done Gate: Stop Claude Code Saying "Done" Without Tests
Works with the AI Agents you already use
Done Gate: Stop Claude Code Saying "Done" Without Tests
Free Claude Code hook: your agent can't end its turn on "done" until the tests really ran green after its last edit. Checks the commands that ran, not its words.
Free
About this skill
Your agent says "Done, all tests pass." It never ran them.
Done Gate is a free Claude Code hook that checks the commands that actually ran, not what the agent says. After a code edit, the agent cannot end its turn until a real test command (pytest, npm test, jest, vitest, go test, cargo test, mvn, gradle, dotnet test and more) has run and passed after the last change. Runs piped into tail, masked with || true, or with 0 tests collected don't count.
When it blocks, it tells the agent exactly what to run. The agent runs it, fixes what fails, and finishes with real evidence.
- One-step install the agent does for you (one project or all projects)
- Never traps you: after two reminders it lets the turn end with a warning
- Local: standard-library Python, no network, no telemetry, MIT
Want the full set? Proof-of-Done adds a guard against deleted, skipped and weakened tests; the Claude Code Guardrails kit adds Safety Guard and Fake Package Blocker.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 27 days ago
- Free with an Agensi account
Requires