Branch name
Skill kin0992/dev-toolkit/packages/skills/src/git/branch-name
Platform Engineering toolkit: reusable GitHub Actions, AI Skills, and shared TypeScript configs.
npx -y skills add kin0992/dev-toolkit --skill branch-nameAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
**UTILITY SKILL** - Suggest a Git branch name following the <activity-type>/<activity-name> convention. USE FOR: name a branch, suggest branch name, create branch name from task description, generate git branch name, pick branch name for feature or fix. DO NOT USE FOR: writing commit messages (use commit-message), generating PR descriptions (use pr-title-description), naming releases or tags. INVOKES: nothing — derives the branch name from the task description provided by the user. FOR SINGLE OPERATIONS: Use git checkout -b directly when the name is already obvious.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.8 KB, as published. Nobody here has run it
Suggest a Git branch name
Propose a well-formed branch name from a task description, following the
<activity-type>/<activity-name> convention.
Convention
<activity-type>/<activity-name>
Activity types
| Type | Use for |
|---|---|
features | New features |
fixes | Any kind of fix |
refactors | Code refactoring and reducing technical debt |
chores | System tasks that are not user-facing |
docs | Documentation-related tasks |
Activity name rules
- Lowercase, words separated by hyphens (
-). - Short and meaningful — avoid generic words like
updateorfix. - Plural form where applicable, similar to naming a folder that groups
related files (e.g.,
user-notificationsrather thanuser-notification). - No tracking IDs (e.g., Jira issue keys). Reference them in the PR description instead.
Instructions
- Identify the primary intent of the task description.
- Pick the most specific activity type from the table above.
- Derive a short, descriptive activity name: lowercase, hyphen-separated, plural where it makes sense.
- If the task spans multiple unrelated concerns, suggest splitting into separate branches and propose one name per concern.
- Never invent or include issue/ticket IDs.
Output
Return only the branch name, no commentary or fences. If multiple branches are warranted, list one per line with a one-sentence rationale for each.
Examples
features/dark-mode-settings
fixes/broken-pagination-links
refactors/auth-token-handlers
chores/dependency-upgrades
docs/api-authentication-guides
Common edge cases
- If the task description contains an issue ID (e.g.,
PROJ-123), strip it and derive the name solely from the textual description. - If the description is too vague (e.g., "do the thing"), ask for clarification before proposing a name.
- Hotfixes and security patches fall under
fixes.