一键导入
create-branch
Generate a branch name from current changes and create it if on main. Use when starting new work and need a properly named feature branch.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a branch name from current changes and create it if on main. Use when starting new work and need a properly named feature branch.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | create-branch |
| description | Generate a branch name from current changes and create it if on main. Use when starting new work and need a properly named feature branch. |
| allowed-tools | Bash(git branch:*), Bash(git status:*), Bash(git diff:*), Bash(git checkout:*) |
You are tasked with generating a meaningful branch name based on the current uncommitted changes.
Check current branch:
git branch --show-currentmain or another branchAnalyze the changes:
git status to see which files are modified/added/deletedgit diff to understand what the changes dogit diff --cachedGenerate a branch name:
<type>-<short-description>feat - new featurefix - bug fixrefactor - code restructuringdocs - documentation onlychore - maintenance taskstest - adding/updating testsstyle - formatting, no code changefeat-add-user-dashboardfix-login-validationrefactor-api-handlersdocs-update-readmeCreate the branch (if on main):
main: run git checkout -b <branch-name>main: just output the suggested branch name and explain you're not on mainConfirm success:
git branch --show-current to verify you're on the new branchCreate git commits from current changes using Conventional Commits format. Use when ready to commit staged or unstaged changes.
Create a pull request from the current branch with quality checks. Use when changes are ready for review, after committing.
Interactive guide for creating new Claude skills with proper structure, frontmatter, and trigger conditions. Use when building a new skill, scaffolding a SKILL.md, or need guidance on skill best practices.
Run Prisma generate, lint (auto-fix), typecheck, and tests; iterate until clean, summarize results. Use when CI is failing or before pushing to verify the repo is clean.
Create a new GitHub issue for a feature, bug, or chore. Use when you have an idea, bug report, or task that needs a GitHub issue with analysis and solution options.
Merge current feature branch into fresh staging branch with conflict resolution. Use when ready to deploy a feature branch to the staging environment.