← Back to list

create-branch
by seanogdev
My personal dotfiles. Using fish on macOS
⭐ 2🍴 0📅 Dec 10, 2025
SKILL.md
name: create-branch description: Create a new git branch from main/master with a maximum of 17 characters. Prompts for branch name or infers from context.
Create Git Branch
Instructions
- Determine the main branch name by running
git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@' - Ensure we're on the latest main branch:
- Run
git fetch origin - Run
git checkout <main-branch> - Run
git pull origin <main-branch>
- Run
- Ask the user for a branch name OR infer from context if they've described what they're working on
- Validate the branch name:
- Must be 17 characters or less
- Should use kebab-case (lowercase with hyphens)
- Should be descriptive but concise
- If the suggested/provided name is too long, offer a shortened version
- Create the branch:
git checkout -b <branch-name> - Confirm the branch was created successfully
Branch Naming Guidelines
- Use kebab-case (e.g.,
fix-auth-bug,add-user-api) - Keep it under 17 characters
- Be descriptive but concise
- Common prefixes:
feat-,fix-,docs-,refactor-
Examples
feat-oauth(10 chars)fix-login-error(15 chars)docs-readme(11 chars)refactor-auth(13 chars)
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
3ヶ月以内に更新
+5
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon



