/agent-forge:done-gate [install | status]from agent-forge
Free Claude Code hook that stops a coding agent from saying "done", "fixed" or "all tests pass" without proof. After a code edit, the agent cannot end its turn until a real test command has run and passed after its last change; piped, masked or failing runs do not count. Use when you want Claude Code to prove its work before it reports success, or when an agent keeps claiming tests pass without running them.
Ships in agent-forge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Your agent says "done, all tests pass". Done Gate checks the commands that actually ran, not the agent's words. No passing test run after the last edit means no "done": the agent is told exactly what to run, runs it, fixes what fails, and only then finishes.
python3 --version, then python --version, then py -3 --version (Windows).
Use the first that works as <PY>.<DIR> = the absolute path of this skill's folder (where this SKILL.md is)..claude/settings.json) or every project (~/.claude/settings.json)?assets/hooks-settings.json into that file, replacing <PY> and <DIR>. Merge, never
overwrite: keep every existing setting and hook; append these three entries./hooks).tail/grep, masked with || true, or with 0 tests collected does not count.test_commands, ignore_paths, allow, a lower max_blocks) lives
only in the user's ~/.claude/proof-of-done.json, globally or under projects. A repository's
.proof-of-done.json can only tighten it: a higher max_blocks and "integrity": true.Do what the message says: run the real test command, read the result, fix the code (never the tests), re-run, then report with evidence: the command, its exit code and the summary line. Never edit the hook's state, disable hooks, or run a different command that "looks green".
The paid Proof-of-Done adds a test-integrity guard (blocks deleted, skipped or weakened tests,
lowered coverage thresholds and softened CI); drop its test_integrity.py next to done_gate.py
and it switches on. The Claude Code Guardrails kit adds Safety Guard (blocks recursive deletes,
git reset --hard, force pushes when they would destroy work) and Fake Package Blocker.
Both on Agensi: https://www.agensi.io/creators/cesar-pereiro
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/adversarial-review-gateAdversarial code review that tries to break a change instead of approving it, and only counts a finding when a failing test reproduces it, ending in a GATE PASS or GATE FAIL verdict. Use when reviewing a diff, pull request or freshly AI-generated code for race conditions, idempotency, partial-failure, boundary and security bugs, or when you need a review step that cannot rubber-stamp./launch-checkPre-launch report card for apps and sites built with AI (Lovable, Bolt, Replit, Cursor, v0, Claude). One command checks a live URL passively and scores 4 areas 0-100 with traffic lights - security (secret keys visible in the page JavaScript, Supabase service_role keys, open Supabase or Firebase tables with --owner-check, missing security headers, HTTPS, cookies), phone design at 375 px, being found by Google and AI search, and speed and basics - then writes a plain-English "fix this first" list to paste to your AI and a one-page HTML report. Use when someone asks "is my app safe to launch", "did I leak my API key", "check my vibe-coded app", "is my Supabase open", "pre-launch checklist", or "is my site ready"./proven-code-reviewReviews a pull request, branch, diff or staged changes like a senior engineer who reads beyond the diff, tries to refute every suspected bug before reporting it, and proves the serious ones by running a failing test, so the review contains real bugs with evidence instead of noise. Use when asked to review code, a PR, a branch or AI-generated changes, before merging, or when you want a second opinion that catches what green tests and quick reviews miss./spec-trace-gateMachine-checks that every requirement in a spec is covered by a task and every task is verified by a test that actually exists (spec to task to test traceability), failing on any dropped requirement, phantom reference or missing test. Use when writing acceptance criteria, breaking a spec into tasks, checking whether an implementation really closes over its spec, or adding a requirements-coverage gate to CI./verify-gateEvidence-only verification gate that runs the project's real test suite, coverage, linter, type checker and security scan, reports each command with its exit code, and returns VERIFY PASS only when every check exits 0. Use before saying a task is done, before committing or opening a pull request, after an agent claims "all tests pass", or whenever you need proof that the code works rather than an assertion that it does.npx claudepluginhub ces107/agent-forge --plugin agent-forge