branch-discipline

Community

Gate your work behind feature branches.

Authortroykelly
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces a hard gating rule: never work on main. All work must occur on feature branches (or properly named branches) to prevent accidental commits to protected branches.

Core Features & Use Cases

  • Current-branch checks (main vs feature/*)
  • Branch naming conventions and examples
  • Clear gate diagram and remediation steps
  • Practical git commands to create and switch to proper branches

Quick Start

Before making changes, verify you are not on main. If on main, create a feature branch from the correct base and push it before proceeding.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-discipline
Download link: https://github.com/troykelly/claude-skills/archive/main.zip#branch-discipline

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.