·branch-discipline
</>

branch-discipline

Use before any code changes - hard gate ensuring work never happens on main branch, with proper feature branch creation from correct base

4Installs·0Trend·@troykelly

Installation

$npx skills add https://github.com/troykelly/codex-skills --skill branch-discipline

How to Install branch-discipline

Quickly install branch-discipline AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/troykelly/codex-skills --skill branch-discipline
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: troykelly/codex-skills.

SKILL.md

View raw

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/codex-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/troykelly/codex-skills --skill branch-discipline
Category
</>Dev Tools
Verified
First Seen
2026-02-25
Updated
2026-03-10

Browse more skills from troykelly/codex-skills

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/codex-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/codex-skills --skill branch-discipline Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/troykelly/codex-skills