Creating Branch Skill for Scoped Local Git Work
Derive a clear branch name from the task and check the current starting commit before creating it in a local repository.
中文Install in Claude Code
Use a local Git repository and its branch naming rules. The example follows the source's type and three-digit numbering pattern.
- Get the complete `plugins/git/skills/creating-branch` directory from the pinned GitHub commit.
- Copy it into the target project's `.claude/skills/`. Check `.claude/skills/creating-branch/SKILL.md`, start Claude Code at the project root, and call `/creating-branch`.
Example task
Describe fix CSV export header with fix/001-search-offset already present. Check the next number and create fix/002-csv-export from the current HEAD.What to check
The new branch records the scope and initially points to the same commit. Existing branches remain available.
Original SKILL.md on GitHub · Updated
Frequently asked question
What if my project uses another convention?
Use the project convention and treat the source's prefix and numbering as a repository-specific example.