ワンクリックで
git-branch-create
Resolve a properly named git branch from a Linear ticket ID following the convention {type}/{ticket-id}-short-description
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Resolve a properly named git branch from a Linear ticket ID following the convention {type}/{ticket-id}-short-description
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Find a git branch by Linear ticket ID prefix (e.g., STU-15)
Create or reuse a dedicated git worktree for a branch using a deterministic path layout
Create and maintain implementation progress documentation for a feature branch
Find the worktree path for a branch and create/reuse it when missing
Push the current branch to the remote repository with upstream tracking
Fetch unresolved review threads and PR comments for the pull request tied to the resolved target branch
| name | git-branch-create |
| description | Resolve a properly named git branch from a Linear ticket ID following the convention {type}/{ticket-id}-short-description |
Resolve a ticket branch name following the project's naming convention.
In parallel workflows, branch creation should happen through a dedicated worktree (via git-worktree-prepare), not by checking out directly in the current tree.
{type}/{ticket-id}-short-description
| Type | Use Case |
|---|---|
feat | New features or functionality |
fix | Bug fixes |
refactor | Code refactoring without functional changes |
docs | Documentation changes |
test | Adding or updating tests |
chore | Maintenance tasks, dependencies, tooling |
perf | Performance improvements |
Determine the type from the ticket:
Extract ticket ID:
STU-XX (or similar project prefix)Create short description:
Construct branch name:
{type}/{ticket-id}-{short-description}
Do not check out in the current tree:
git checkout -b in the active workspaceHandoff to worktree flow:
git-worktree-prepare with the constructed branch name| Ticket | Title | Branch Name |
|---|---|---|
| STU-15 | Add user authentication | feat/STU-15-user-authentication |
| STU-23 | Fix login timeout issue | fix/STU-23-login-timeout |
| STU-42 | Refactor API error handling | refactor/STU-42-api-error-handling |
Before returning the branch name:
git fetch --all --prunegit branch -a | grep {ticket-id}If a branch for this ticket already exists, inform the user and ask whether to:
Return:
Branch: <branch-name>
Branch state: <new|existing>