Agent skill

Gitflow

by Mindrally in Mindrally/skills

Branching, merging, versioning, and release conventions for the Gitflow workflow, covering main/develop branches, feature/release/hotfix branches, semantic versioning, and pull request rules.

Apache-2.0Auto-check passedDevelopment

Install Gitflow

skills CLI
$ npx skills add Mindrally/skills --skill gitflow -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Mindrally/skills gitflow --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Mindrally/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/gitflow .claude/skills/gitflow && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gitflow
GitHub stars
267
Token cost
~1.3k tokens
SKILL.md length
649 words
Files
1
Skills in repo
34
Repo updated
First seen
Licence
Apache-2.0

At a glance

Branching, merging, versioning, and release conventions for the Gitflow workflow, covering main/develop branches, feature/release/hotfix branches, semantic versioning, and pull request rules.

  • Works in 6 steps: Sync develop — Run git checkout develop… → Create the feature branch — Run git… → Commit with conventional messages — Use… → …
  • Creating a branch
  • SKILL.md covers Workflow for a Feature Change, Main Branches, Supporting Branches and Commit Messages, plus 5 more sections
  • Calls git

What it does

Gitflow is an agent skill from Mindrally/skills. Branching, merging, versioning, and release conventions for the Gitflow workflow, covering main/develop branches, feature/release/hotfix branches, semantic versioning, and pull request rules. Use when creating a branch, naming a branch, planning a release or hotfix, writing a commit message, or setting up branch protection for a repository that follows Gitflow.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Git workflow, Commit messages and Pull requests. It works with Git. The repository describes itself as: 255+ Claude Code skills converted from Cursor rules. Expert coding guidelines for every major framework and language. The licence is Apache-2.0.

When your agent uses it

  • Creating a branch
  • Naming a branch
  • Planning a release
  • Writing a commit message

Example prompts

  • “/gitflow”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Sync develop — Run git checkout develop && git pull origin develop so the feature branches from the latest development state.
  2. Create the feature branch — Run git checkout -b feature/123-user-authentication, using the naming convention…
  3. Commit with conventional messages — Use type(scope): description for every commit (see Commit Messages below).
  4. Rebase or merge develop in — Before opening a PR, bring the branch up to date: git fetch origin && git rebase origin/develop (or merge…
  5. Open a pull request into develop — Require at least one approval and passing CI checks; never commit directly to develop.
  6. Merge and clean up — After merge, delete the feature branch both locally and on the remote: git branch -d feature/123-user-authentication…

What it can do on your machine

Read from SKILL.md and the folder at commit 9718410. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gitflow loads about 1.3k tokens when it runs. Until then it costs about 93 tokens; SKILL.md has 649 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~93
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Mindrally/skills at commit 9718410, republished under its Apache-2.0 licence (© Mindrally). 649 words, ~1,341 tokens.

Download SKILL.mdSave it as .claude/skills/gitflow/SKILL.md (or your agent's skills folder).
name
gitflow
description
Branching, merging, versioning, and release conventions for the Gitflow workflow, covering main/develop branches, feature/release/hotfix branches, semantic versioning, and pull request rules. Use when creating a branch, naming a branch, planning a release or hotfix, writing a commit message, or setting up branch protection for a repository that follows Gitflow.

Gitflow

This skill covers the Gitflow branching model: the two long-lived branches, the three supporting branch types, commit message conventions, semantic versioning, and the release and hotfix processes.

Workflow for a Feature Change

  1. Sync develop — Run git checkout develop && git pull origin develop so the feature branches from the latest development state.
  2. Create the feature branch — Run git checkout -b feature/123-user-authentication, using the naming convention feature/[issue-id]-descriptive-name.
  3. Commit with conventional messages — Use type(scope): description for every commit (see Commit Messages below).
  4. Rebase or merge develop in — Before opening a PR, bring the branch up to date: git fetch origin && git rebase origin/develop (or merge, per team convention).
  5. Open a pull request into develop — Require at least one approval and passing CI checks; never commit directly to develop.
  6. Merge and clean up — After merge, delete the feature branch both locally and on the remote: git branch -d feature/123-user-authentication && git push origin --delete feature/123-user-authentication.

Main Branches

main (or master)
  • Contains production-ready code only.
  • Never commit directly to main.
  • Only accepts merges from hotfix/* branches or release/* branches.
  • Must be tagged with a version number after every merge (e.g. git tag -a v1.2.0 -m "Release 1.2.0").
develop
  • The main integration branch; contains the latest delivered development changes.
  • Source branch for all feature/* branches.
  • Never commit directly to develop — all changes land through pull requests.

Supporting Branches

feature/*
  • Branch from: develop.
  • Merge back into: develop.
  • Naming convention: feature/[issue-id]-descriptive-name (e.g. feature/123-user-authentication).
  • Must be up to date with develop before opening a PR.
  • Delete after merge.
release/*
  • Branch from: develop.
  • Merge back into: main and develop.
  • Naming convention: release/vX.Y.Z (e.g. release/v1.2.0).
  • Scope is limited to bug fixes, documentation, and release-oriented tasks — no new features.
  • Delete after merge.
hotfix/*
  • Branch from: main.
  • Merge back into: main and develop.
  • Naming convention: hotfix/vX.Y.Z (e.g. hotfix/v1.2.1).
  • Reserved for urgent production fixes only.
  • Delete after merge.

Commit Messages

Use Conventional Commits format: type(scope): description.

TypeMeaning
featNew feature
fixBug fix
docsDocumentation changes
styleFormatting, missing semicolons, etc. — no logic change
refactorCode restructuring without behavior change
testAdding or correcting tests
choreMaintenance tasks (build scripts, dependency bumps)

Example:

feat(auth): add refresh-token rotation

fix(orders): prevent duplicate charge on retry

chore(deps): bump lodash to 4.17.21

Semantic Versioning

Given a version MAJOR.MINOR.PATCH:

  • MAJOR — incremented for incompatible/breaking API changes.
  • MINOR — incremented for backwards-compatible new functionality.
  • PATCH — incremented for backwards-compatible bug fixes.
Show full SKILL.md (269 more words)Show less

Pull Request Rules

  1. All changes must go through pull requests — no exceptions for main or develop.
  2. Minimum of one required approval before merge.
  3. All CI checks must pass.
  4. No direct commits to protected branches (main, develop).
  5. The branch must be up to date with its target before merging.
  6. Delete the branch after merge (both local and remote copies).

Branch Protection Rules

Apply to both main and develop:

  • Require pull request reviews before merging.
  • Require status checks to pass before merging.
  • Require branches to be up to date before merging.
  • Include administrators in the restrictions (no bypassing rules with elevated permissions).
  • No force pushes.
  • No branch deletions.

Release Process

  1. Create a release branch from develop: git checkout -b release/v1.2.0 develop.
  2. Bump version numbers in package manifests / changelogs.
  3. Fix any release-specific issues (docs, last-minute bugs) — do not add new features.
  4. Open a PR from the release branch into main.
  5. After merge to main:
    • Tag the release: git tag -a v1.2.0 -m "Release 1.2.0" and push the tag.
    • Merge main back into develop so develop has the release commit and tag.
    • Delete the release branch.

Hotfix Process

  1. Create a hotfix branch from main: git checkout -b hotfix/v1.2.1 main.
  2. Fix the production issue with the smallest possible change.
  3. Bump the patch version.
  4. Open a PR from the hotfix branch into main.
  5. After merge to main:
    • Tag the release: git tag -a v1.2.1 -m "Hotfix 1.2.1" and push the tag.
    • Merge main back into develop so the fix isn't lost in the next release.
    • Delete the hotfix branch.

© Mindrally, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in gitflow of Mindrally/skills.

Open the folder on GitHubat commit 9718410

Compare with similar skills

Gitflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gitflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gitflow this skillMindrally/skills267—~1.3kAutomated safety check: PassApache-2.0
Git Workflow and Versioningaddyosmani/agent-skills102k2 repos~3.5kAutomated safety check: NotesMIT
React Router Pull Request Creatorremix-run/react-router57k—~2.5kAutomated safety check: PassMIT
Emoji Commit ConventionsbaptisteArno/typebot.io11k—~424Automated safety check: PassCustom licence
Draft Pull Request Creatorwordpress-mobile/WordPress-Android3.2k—~881Automated safety check: NotesGPL-2.0
Adk Gitgoogle/adk-python22k—~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • Git Workflow and Versioning

    addyosmani/agent-skills

    Sets git habits for every change: short-lived branches, atomic commits with descriptive messages, clean pull requests, plus versioning, tagging and changelogs for releases.

    102k GitHub starsUsed in 2 repos~3.5k tokens
    DevelopmentAuto-check: notes
  • React Router Pull Request Creator

    remix-run/react-router

    Packages finished React Router work into a draft pull request: branch, commit, push, a written PR body and the right GitHub labels.

    57k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Emoji Commit Conventions

    baptisteArno/typebot.io

    Sets the repository's convention for commit messages and pull request titles: one emoji prefix for the main intent, a concise title and clean follow-up commits.

    11k GitHub stars~424 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Draft Pull Request Creator

    wordpress-mobile/WordPress-Android

    Commits and pushes current changes, writes a pull request title and body from the branch history and template, and opens a draft PR on GitHub after you approve it.

    3.2k GitHub stars~881 tokensUpdated today
    DevelopmentAuto-check: notes
  • Adk Git

    google/adk-python

    Official

    Writes commit messages and pull request descriptions for the adk-python repository: Conventional Commits types and scopes, subject lines that say why a change was made, and the linked-issue and…

    22k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Git PR Flow

    wgzhao/Addax

    Standard branch, commit, and pull-request workflow for this repo.

    1.4k GitHub stars~216 tokensUpdated today
    DevelopmentAuto-check passed

More from Mindrally/skills

All 34 skills in this repo
  • Analytics Data Analysis

    Mindrally/skills

    Best practices for analytics, data analysis, and visualization using Python, pandas, matplotlib, seaborn, and Jupyter notebooks.

    267 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Best practices for AutoML and hyperparameter search with Optuna, Ray Tune, and PyCaret, covering search-space design, validation splits, and leakage prevention.

    267 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Blender Python Addon

    Mindrally/skills

    Best practices for writing Blender Python add-ons using the bpy API, covering operators, panels, properties, registration, and API-safe scripting.

    267 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Expert guidelines for Chrome extension development with Manifest V3, covering security, performance, and best practices.

    267 GitHub stars~1.7k tokensUpdated 1 mo ago
    Auto-check passed
  • Clean Code

    Mindrally/skills

    Clean, maintainable, human-readable code principles combined with anti-over-engineering discipline: naming, single responsibility, DRY, and scoping changes to exactly what was requested.

    267 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Design Systems

    Mindrally/skills

    Comprehensive design system guidelines for building consistent, accessible, and scalable component libraries.

    267 GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Gitflow

What does Gitflow do?

Branching, merging, versioning, and release conventions for the Gitflow workflow, covering main/develop branches, feature/release/hotfix branches, semantic versioning, and pull request rules. Gitflow is an agent skill from Mindrally/skills. Branching, merging, versioning, and release conventions for the Gitflow workflow, covering main/develop branches, feature/release/hotfix branches, semantic versioning, and pull request rules.

When should I use Gitflow?

Gitflow fits situations like: creating a branch; naming a branch; planning a release; writing a commit message.

How do I install Gitflow in Claude Code?

Run `npx skills add Mindrally/skills --skill gitflow -a claude-code`. Or copy the skill folder (gitflow in Mindrally/skills) into .claude/skills/gitflow in your project. Claude Code loads it when a task matches its description.

How do I install Gitflow in Codex?

Run `npx skills add Mindrally/skills --skill gitflow -a codex`. Or copy the skill folder (gitflow in Mindrally/skills) into .agents/skills/gitflow in your project. Codex loads it when a task matches its description.

Can I use Gitflow in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Mindrally/skills --skill gitflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gitflow, .gemini/skills/gitflow, .github/skills/gitflow and .opencode/skills/gitflow in your project.

What does Gitflow need to run?

Going by SKILL.md and its folder, Gitflow needs the command-line tools its instructions call (git).

Does Gitflow access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Gitflow safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gitflow use?

Gitflow is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gitflow use?

About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gitflow?

Skills that share tags, products or a category with Gitflow: Git Workflow and Versioning (addyosmani/agent-skills, 102k stars), React Router Pull Request Creator (remix-run/react-router, 57k stars), Emoji Commit Conventions (baptisteArno/typebot.io, 11k stars) and Draft Pull Request Creator (wordpress-mobile/WordPress-Android, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gitflow?

Mindrally (a GitHub organization) maintains it in Mindrally/skills, which has 267 GitHub stars. The repository holds 34 skills in this directory. The repository was last updated on September 3, 2026.

Source: Mindrally/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.