| name | branch |
| description | Create a feature branch using this repo's branch-naming conventions. |
| allowed-tools | Bash, Read |
| argument-hint | <short-description> |
branch
Create a feature branch that follows this repo's branch-naming
conventions, then check it out.
Flow
-
Read the conventions. Read
docs/harness/vcs/branches.md for the naming rules this repo
follows. Respect every DONT listed there.
-
Derive the branch-name. Apply the rules in branches.md to the user's
description: lowercase, alphanumerics + hyphens only, collapse runs
of hyphens, trim leading/trailing hyphens. Keep it short (3–5 words).
-
Delegate to branch-vcs. Invoke the /branch-vcs <branch-name>:
-
Report. Print the branch name branch-vcs returned.
Constraints
- One branch per invocation.
- Always go through
branch-vcs.