← Browse
git-safety
lykimq ★ 0
git-safety is a Claude Code hook that intercepts and blocks dangerous git commands before execution, including history rewrites (push, rebase, reset, amend) and operations affecting entire trees. It runs before every Bash and Monitor tool call and can block, allow, or ask for confirmation based on the patterns of git commands detected.
Install
> /plugin marketplace add lykimq/claude-config/tree/HEAD/plugins/git-safety
> /plugin install git-safety
Source: https://github.com/lykimq/claude-config/tree/HEAD/plugins/git-safety
What it's made of
1 hook
- Commands
- 0
- Agents
- 0
- Skills
- 0
- MCP servers
- 0
- Hooks
- 1 · PreToolUse
What it needs & plugs into
- API keys
- none
- Paid services
- none detected
- External tools
python3- Talks to
- nothing external detected
Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.
Is this your plugin?
Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (lykimq).