done-gate

by Daniil Bystrov · ★ 0 · updated 6 days ago

ToastsGuardsCommandsvalidates

0

Claude cannot say "done" while the tests fail: a Stop gate runs your test command after every turn that changed files, and existing test files are locked so they cannot be patched green.

install done-gate

Install

/plugin marketplace add Jvrd97/claude-done-gate
/plugin install done-gate@done-gate

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.starttool.callclassic.Stopcommand.run
API calls
$.clock.now$.command.register$.fs.exists$.fs.read$.process.run$.session.root$.state.get$.state.set$.ui.toast
Can see
every tool callclassic hooks
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processesreads filesdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Jvrd97/claude-done-gate
Path in repo
repository root
Source commit
a43d327 the exact code the scan read
Author
Daniil Bystrov @Jvrd97
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.