概要
Branch Discipline acts as a critical safety gate for autonomous development, ensuring that no code changes are ever performed directly on the main or master branches. It mandates a structured git workflow where every task is isolated in a properly named feature branch (e.g., feature/issue-123-title). By automating the checks for the current branch state and providing clear paths for branch creation, rebasing, and cleanup, this skill maintains a clean, professional commit history and prevents accidental corruption of production-ready code.