branch-commit-guard
CommunityGuard protected branches to block risky commits.
Authortubtrb
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill prevents direct commits on protected integration branches, reducing accidental changes and enforcing repository policy.
Core Features & Use Cases
- Proactively blocks direct commits on protected branches during routine development.
- Allows explicit override for intentional integration work using the --allow-protected flag.
- Provides a suggested child branch name to isolate work when blocked.
Quick Start
Run the guard script before staging or committing on protected branches to enforce safety and avoid accidental commits.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: branch-commit-guard Download link: https://github.com/tubtrb/autoreport/archive/main.zip#branch-commit-guard Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.