From prepush-gate
Runs the repo's CI gates (gofmt on tracked Go roots, make lint, make check-file-sizes when defined) before `git push` / `gh pr create|merge`, and denies the push with the failing output. Skipped where there is no Go; AILANG_SKIP_PREPUSH=1 in Claude Code's launch environment skips it. Port of the pi extension of the same name. A convenience, not a control.
1 event · 4 calls
Ships in prepush-gate. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runenv.getEach event it registers a hook on, with the matcher when it sets one
tool.call{tool=Bash}Every mods API method its source calls, by namespace
getruncwdstatusAILANG_SKIP_PREPUSHWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.ts (written ./register.ts)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub sunholo-data/ailang_bootstrap --plugin prepush-gate