بنقرة واحدة
checkout-branch
Create and check out a feature branch when currently on master
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create and check out a feature branch when currently on master
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
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.