branch
Installation
SKILL.md
Branch
Create a traceable Git branch for the current task.
Workflow
- Inspect the current Git branch,
git status, and available task context -- including Linear tickets, Charters, and session state. - Identify the ticket ID when the work comes from Linear or another issue tracker. If the task has a ticket but no visible ID, ask for it.
- Use the user's branch name if provided. If work from Linear omits the ticket ID, ask before creating the branch.
- Otherwise derive the branch name:
<ticket-id>-<short-kebab-summary>when there is a ticket ID (e.g.ABC-123-add-retry-logic)devin/<timestamp>-<short-kebab-summary>when there is no ticket ID
- Preserve an obvious repo prefix such as
feature/only if the ticket ID remains visible. - If the branch already exists, switch to it. Otherwise, create and switch to it.
- Report the branch name and any uncommitted work that was already present.