PlugMyPlugin
← Browse

main-branch-warn

Plagemes ★ 1

This Claude Code plugin warns or blocks edits when Claude attempts to modify files directly on main, master, or trunk branches, checking the repository's current branch via git before each edit. It operates in warn mode (showing a toast and status line) by default or strict block mode to prevent accidental commits to protected branches.

DevOps Security No API key detected prompt pack

Install

> /plugin marketplace add Plagemes/claude-mods/tree/HEAD/mods/main-branch-warn
> /plugin install main-branch-warn

Source: https://github.com/Plagemes/claude-mods/tree/HEAD/mods/main-branch-warn

What it's made of

no extra components

Commands
0
Agents
0
Skills
0
MCP servers
0
Hooks
0

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
none
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 (Plagemes).