Pull latest main:
git fetch origin main git checkout main git pull origin mainCreate the branch using the naming pattern
<type>/<short-description>:git checkout -b <type>/<short-description>- Use kebab-case for the description
- Types match conventional commit types:
feat,fix,docs,style,refactor,perf,test,chore,revert - Examples:
feat/add-vehicle-validationfix/geolocation-precision-edge-casechore/update-dependenciesrefactor/extract-shared-helpers
Verify you are on the new branch with
git branch --show-current.
Create Branch
Create a new git branch from latest main using the naming convention.
Create Branch by majiayu000 · 4ad36e7
npx skillmds add majiayu000/create-branch-3 File contents
---name: create-branch-3description: Create a new git branch from latest main using the naming convention.---
1. **Pull latest main**:
```bash
git fetch origin main
git checkout main
git pull origin main
```
2. **Create the branch** using the naming pattern `<type>/<short-description>`:
```bash
git checkout -b <type>/<short-description>
```
- Use kebab-case for the description
- Types match conventional commit types: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `chore`, `revert`
- Examples:
- `feat/add-vehicle-validation`
- `fix/geolocation-precision-edge-case`
- `chore/update-dependencies`
- `refactor/extract-shared-helpers`
3. **Verify** you are on the new branch with `git branch --show-current`.
majiayu000/claude-skill-registry-data/tree/main/development/create-branch-carrot-foundation-methodology-rules commit 4ad36e7b23
Frequently asked questions
Run npx skillmds add majiayu000/create-branch-3 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Create a new git branch from latest main using the naming convention. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: makes network calls. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.