# Start Branch

> Create a new git branch with an appropriate name and switch to it — from the current position by default, or from a named base branch (e.g. dev, master, main, stage) when one is specified. Use when the user wants to start work on a fresh branch — phrases like "브랜치 만들어줘", "master에서 브랜치 만들어줘", "dev 기준으로 브랜치 파줘", "stage에서 새 브랜치", "start a new branch", "create a branch for this", "branch off master",…

- **Type:** Skill
- **Install:** `agentstack add skill-dkmqflx-git-workflow-plugin-start-branch`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [dkmqflx](https://agentstack.voostack.com/s/dkmqflx)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [dkmqflx](https://github.com/dkmqflx)
- **Source:** https://github.com/dkmqflx/git-workflow-plugin/tree/main/plugins/git-workflow/skills/start-branch

## Install

```sh
agentstack add skill-dkmqflx-git-workflow-plugin-start-branch
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Start Branch

Generate an appropriate branch name for the task and switch to it — from the current position, or from a named base branch.

## When to apply

Starting work on a new feature, fix, or task directly in the current directory. **Do not apply** for worktree (separate checkout directory) — that is `/worktree`.

## Branch naming convention

Format: `/`

| Type | When to use |
|------|-------------|
| `feat/` | New feature or capability |
| `fix/` | Bug fix |
| `chore/` | Maintenance, config, dependency updates |
| `refactor/` | Restructuring without behavior change |
| `docs/` | Documentation only |
| `test/` | Test additions or changes |

Description rules: lowercase, hyphen-separated, 2–5 words, describes WHAT (not HOW).

**Examples:** `feat/user-authentication`, `fix/cart-total-calculation`, `chore/update-eslint-config`, `refactor/extract-payment-service`

## Steps

1. Determine the base:
   - If the user named a specific branch (e.g. `dev`, `master`, `main`, `stage`), that is the base branch.
   - Otherwise, the base is the current position — no checkout needed before branching.
2. Derive the branch name from the user's task description using the convention above.
   If no task description was given (bare `/start-branch`), ask one short question first.
3. If a base branch was named, switch to it and pull latest, then branch from it:
   ```bash
   git checkout  && git pull
   git checkout -b 
   ```
   Otherwise, branch directly from the current position:
   ```bash
   git checkout -b 
   ```
4. Confirm in one line: `Switched to new branch: ` (append `(from )` if a base was named)
5. Begin the user's task.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [dkmqflx](https://github.com/dkmqflx)
- **Source:** [dkmqflx/git-workflow-plugin](https://github.com/dkmqflx/git-workflow-plugin)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-dkmqflx-git-workflow-plugin-start-branch
- Seller: https://agentstack.voostack.com/s/dkmqflx
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
