branch
Installation
SKILL.md
Branch
- Check the current branch, git status, and task details.
- Name it. A name from the user wins as given. Otherwise
<ticket-id>-<short-kebab-summary>, or just the summary if there's no ticket. Follow the repo's existing naming style. - Fetch, then branch from the latest default branch unless the user says otherwise.
- If the branch already exists, switch to it and note any commits it has beyond the base.
- Report the branch name, its base, and any uncommitted work that was present.
Rules
- Never stash, discard, or force through uncommitted work. If switching is blocked, stop and ask.
- Never invent ticket IDs. If a ticket exists but its ID isn't visible, ask; if no human is available, proceed without it and say so in the report.