Motivation
Provide a product-neutral branch naming workflow that creates valid branch names before work begins and catches custom branch creation paths before merge.
Scope
- Add a CLI command for feat, fix, refactor, docs, and chore branches.
- Document the command and naming contract in AGENTS.md and CONTRIBUTING.md.
- Add a GitHub Actions check for pull request source branch names.
Acceptance criteria
- The CLI creates branches matching /-.
- Invalid types, issue numbers, and slugs fail before branch creation.
- The pull request check fails for invalid source branch names.
- Existing branch creation paths remain possible but cannot merge without a passing check.
Verification plan
- Run CLI success and failure cases.
- Run the repository verification command.
- Validate the workflow syntax and regex.
Motivation
Provide a product-neutral branch naming workflow that creates valid branch names before work begins and catches custom branch creation paths before merge.
Scope
Acceptance criteria
Verification plan