git-flowlisted
Install: claude install-skill biancoenrico/claude-skills
# git-flow
Drive the `git flow` CLI (AVH Edition) to manage Vincent Driessen's branching model:
two long-lived branches (`main`/`master` + `develop`) and short-lived feature,
bugfix, release, hotfix and support branches.
This skill assumes the `git flow` command. If it is missing, walk the user through
installing it (Step 1) rather than falling back to raw git commands.
## Step 1 — Preflight
Always start here. Two things must be true: git-flow is installed, and the repo is
initialized.
```bash
git flow version # e.g. "1.12.3 (AVH Edition)"
```
**Not installed?** Guide the user through it — pick the line for their platform:
| Platform | Command |
|---|---|
| Debian / Ubuntu | `sudo apt-get install git-flow` |
| macOS (Homebrew) | `brew install git-flow-avh` |
| Windows | Included in Git for Windows ≥ 2.6.4 — install/update Git for Windows |
| Any Unix (source) | `wget -q https://raw.githubusercontent.com/petervanderdoes/gitflow-avh/develop/contrib/gitflow-installer.sh && sudo bash gitflow-installer.sh install stable; rm gitflow-installer.sh` |
macOS extra step — AVH needs GNU getopt:
```bash
brew install gnu-getopt
echo 'export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt"' >> ~/.gitflow_export
```
Then re-run `git flow version` to confirm before going further.
Note: distro packages can lag. `apt` on older Ubuntu ships versions several years
old; the installer script gives the last released AVH build.
**Installed but repo not initialized?** Che