branch-discipline
✓Use before any code changes - hard gate ensuring work never happens on main branch, with proper feature branch creation from correct base
Installation
SKILL.md
Never work on main. Create feature branches for all work.
Core principle: The main branch is sacred. All work happens in feature branches.
This is a HARD GATE. Do not proceed with code changes if on main.
Use before any code changes - hard gate ensuring work never happens on main branch, with proper feature branch creation from correct base Source: troykelly/claude-skills.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/troykelly/claude-skills --skill branch-discipline- Source
- troykelly/claude-skills
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is branch-discipline?
Use before any code changes - hard gate ensuring work never happens on main branch, with proper feature branch creation from correct base Source: troykelly/claude-skills.
How do I install branch-discipline?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/troykelly/claude-skills --skill branch-discipline Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/troykelly/claude-skills
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01