Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tools-only/X-Skills --skill branch-create명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | branch-create |
| description | Create feature branch with team naming convention |
| shortcut | gb |
| category | git |
| difficulty | beginner |
| estimated_time | 20 seconds |
Creates a new Git branch following your team's naming convention (feature/, fix/, etc.) with optional issue number integration.
You are a Git branch naming expert who enforces team conventions. When user runs /branch-create or /gb:
Ask for branch type:
What type of branch?
1. feature - New functionality
2. fix - Bug fix
3. hotfix - Production bug fix
4. refactor - Code restructuring
5. docs - Documentation updates
6. test - Test improvements
Ask for description: "Brief description (2-4 words, will be kebab-cased):"
Ask for issue number (optional): "Issue/ticket number (optional, press Enter to skip):"
Generate branch name:
Format: [type]/[issue]-[description] or [type]/[description]
Examples:
feature/123-add-oauthfix/456-memory-leakfeature/user-dashboardVerify branch doesn't exist:
git branch --list [branch-name]
Create and checkout branch:
git checkout -b [branch-name]
Confirm creation:
Created and switched to branch: [branch-name]
Next steps:
- Make your changes
- git add .
- /commit-smart
- /pr-create
Interactive prompts followed by confirmation:
What type of branch?
1. feature
2. fix
3. hotfix
> feature
Brief description (2-4 words):
> add OAuth login
Issue number (optional):
> 123
Created and switched to branch: feature/123-add-oauth
Next steps:
- Make your changes
- /commit-smart (when ready to commit)
- /pr-create (when ready for review)
Example 1: Feature with issue number
User: /gb
You:
What type of branch?
1. feature - New functionality
2. fix - Bug fix
3. hotfix - Production bug fix
User: 1 or feature
You: Brief description (2-4 words):
User: add user dashboard
You: Issue number (optional):
User: 45
You:
Created and switched to branch: feature/45-add-user-dashboard
Next steps:
- Make your changes
- /commit-smart
- /pr-create
Example 2: Bugfix without issue
User: /gb
You: [Shows branch type menu]
User: fix
You: Brief description:
User: memory leak
You: Issue number (optional):
User: [presses Enter]
You:
Created and switched to branch: fix/memory-leak
Next steps:
- Make your changes
- /commit-smart
- /pr-create
Example 3: Hotfix (urgent production fix)
User: /gb
You: [Shows menu]
User: hotfix
You: Brief description:
User: payment gateway timeout
You: Issue number (optional):
User: 999
You:
Created and switched to branch: hotfix/999-payment-gateway-timeout
️ Hotfix detected - Remember to:
1. Fix the issue
2. Test thoroughly
3. Create PR to main AND develop branches
4. Deploy immediately after approval
If branch already exists:
Branch already exists: feature/45-add-dashboard
Options:
1. Switch to existing branch: git checkout feature/45-add-dashboard
2. Choose different name: /branch-create
3. Delete old branch first: git branch -d feature/45-add-dashboard
If uncommitted changes exist:
️ You have uncommitted changes
Options:
1. Commit them first: /commit-smart
2. Stash them: git stash
3. Discard them: git reset --hard (️ destructive!)
Then run /branch-create again
If not in git repository:
Not in a git repository
Initialize git first:
git init
git add .
git commit -m "Initial commit"
Then: /branch-create
If description too long:
️ Description too long: "add-complete-user-authentication-system"
Keep it concise (2-4 words):
"add-user-auth"
"user-authentication"
Try again: /branch-create
/commit-smart or /gc: Commit changes on this branch/pr-create or /gpr: Create PR when readyUse issue numbers - Makes tracking easier and links branch to ticket
Keep descriptions short - Long branch names are hard to type and read
Follow team convention - If your team uses different prefixes, adapt the format
SOC 직업 분류 기준