# Feature Branch

> Feature Branch is an Agent Skill for development published in the forcedotcom/salesforcedx-vscode repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Create feature branches for all work. Use when creating branches, checking out, or pushing. Prevents accidental push to develop.

- Skill name: `feature-branch`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/forcedotcom/salesforcedx-vscode/blob/HEAD/.claude/skills/feature-branch/SKILL.md
- Repository: forcedotcom/salesforcedx-vscode (1,028 GitHub stars when collected)

## SKILL.md

# Feature Branch

Never commit to `develop` or `main`.

## Do

Branch format: `sm/W-XXXXX-short-description` (owner prefix = `sm`, Shane McLaughlin).

```bash
git fetch origin develop
git checkout -b sm/W-XXXXX-short-description origin/develop --no-track
# ... work, commit ...
git push -u origin sm/W-XXXXX-short-description
```

## Don't

**Never** omit `--no-track` when branching from `origin/develop` — bare `git push` would push to `develop`.

---

Source: https://www.openparable.com/skill/development/feature-branch (OpenParable). Cite the canonical URL above.
