with one click
checkout-branch
Create and check out a feature branch when currently on master
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Create and check out a feature branch when currently on master
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Create a git commit with a short, lowercase commit message
Evaluate review comments from the conversation and determine which are valid
Analyze a GitHub issue and develop an implementation plan
Review unstaged git changes for bugs, logic errors, and security problems
Clean up worktrees for branches that have been merged and deleted
Create a new worktree and branch from a GitHub issue
| name | checkout-branch |
| description | Create and check out a feature branch when currently on master |
You are currently on the master branch and should be working on a feature branch instead. Create and check out a new branch.
Follow these steps:
Verify you are on master. Run git branch --show-current. If you are not on master, tell the user and stop.
Determine the branch name.
$ARGUMENTS), prefix the branch name with the issue number: <number>-short-description.short-description./ in the branch name (no feature/, fix/, etc.).Present the branch name to the user, then use the ask user question tool to confirm. Use two options: "Sounds good!" and "Wait a minute". If the user picks "Wait a minute", wait for their feedback before proceeding.
Create and check out the branch. Run git checkout -b <branch-name>.
Confirm. Tell the user the new branch name and that you've switched to it.