push-guard
by Nazman Gena · ★ 0 · updated yesterday
0
Stops git push to a branch whose pull request is already merged - the new commits would never reach the base branch
Install
git clone https://github.com/nazmang/claude-agents-kitclaude --plugin-dir ./claude-agents-kit/plugins/push-guardThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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
tool.call- API calls
$.clock.sleep$.env.get$.process.run$.session.cwd$.ui.ask$.ui.log$.ui.notify- Can see
every tool call- Reach
- level 2 of 3 runs processesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/nazmang/claude-agents-kit
- Path in repo
plugins/push-guard- Source commit
54a73bcthe exact code the scan read- Author
- Nazman Gena @nazmang
- 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.
More from nazmang/claude-agents-kit
Related mods
Other mods in Guards, close to this one by stars.