git-flow

git-flow is a skill for Claude Code from camilooscargbaptista/cto-toolkit. It costs 115 tokens per session (1,745 once invoked), scanned A, original, MIT.

A guide to organizing work in Git, the version-control system used to track code changes. It explains Git Flow, GitHub Flow, and trunk-based development, where teams keep changes close to a shared main branch.

In plain words
What is it for?
Use it to choose a branching model, define branch and commit rules, plan releases, and resolve conflicts.
Why use it?
It helps teams avoid confusion about where work belongs, how changes reach production, and how to handle releases, urgent fixes, and merge conflicts.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cto-toolkit plugin — 54 skills, 6 agents, 3 hooks shipped together

Good fit Use it to choose a branching model, define branch and commit rules, plan releases, and resolve conflicts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/camilooscargbaptista/cto-toolkit/git-flow
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add camilooscargbaptista/cto-toolkit --skill git-flow
Clone the repo
git clone --depth 1 https://github.com/camilooscargbaptista/cto-toolkit

Made for: Claude Code.

Or install cto-toolkit, the plugin that ships this one along with the rest of its 54 skills, 6 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for git-flow

README.md
[![agentmods](https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/git-flow/github.svg)](https://agentmods.dev/skills/camilooscargbaptista/cto-toolkit/git-flow)
Your own site
<a href="https://agentmods.dev/skills/camilooscargbaptista/cto-toolkit/git-flow"><img src="https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/git-flow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git-flow

Your own site · 80×15
<a href="https://agentmods.dev/skills/camilooscargbaptista/cto-toolkit/git-flow"><img src="https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/git-flow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,745 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00115 $0.01745
Opus 5.5 $0.00046 $0.00698
Sonnet 5.5 $0.00023 $0.00349
Haiku 4.5 $0.00012 $0.00175

Measured 3mo ago against content hash 4cdc3bd0d639, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-flow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

git-flow/SKILL.md · 240 lines

How it starts

The opening of the file, as written. The whole thing — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Git Workflow & Branching Strategy

Help teams choose and follow the right Git workflow. The best workflow is the one your team actually follows consistently.

Branching Strategies

Git Flow (for versioned releases)

Best for: Products with scheduled releases, mobile apps, products with multiple supported versions.

main ─────────●─────────────────●─────────── (production)
              │                 │
release/1.0 ──┼──●──●──────────┘
              │  │
develop ──────┼──┼──●──●──●──●──●──●──────── (integration)
              │     │     │        │
feature/auth ─┘     │     │        │
feature/cart ───────┘     │        │
hotfix/crash ─────────────┘        │
feature/search ────────────────────┘

Branches:

  • main — Production code. Every commit is a release tag.
  • develop — Integration branch. Features merge here.
  • feature/* — New features. Branch from develop, merge to develop.
  • release/* — Release prep. Branch from develop, merge to main + develop.
  • hotfix/* — Production fixes. Branch from main, merge to main + develop.

GitHub Flow (for continuous deployment)

Best for: SaaS, web apps, teams deploying multiple times per day.

main ──●──●──●──●──●──●──●── (always deployable)
       │     │        │
       │     │        └── feat/notifications (short-lived)
       │     └── fix/login-bug
       └── feat/dashboard

Rules:

  • main is always deployable
  • Branch from main for any change
  • Open a PR, get review, merge to main
  • Deploy after merge (automated)
  • No long-lived branches

Trunk-Based Development (for high-performing teams)

Best for: Experienced teams with strong CI, feature flags, and automated testing.

main ──●──●──●──●──●──●──●── (deploy continuously)
       │  │
       └──┘ (very short-lived branches, <1 day)

Rules:

  • Everyone commits to main (or very short branches, <1 day)
  • Feature flags for incomplete features
  • Requires excellent CI/CD and test coverage
  • No long-lived branches ever

Read the full file on GitHub · 240 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 240 lines · 115 tokens per session scan A 4cdc3bd0d639

Subscribe to this mod's changes

git-flow is a skill published in the GitHub repository camilooscargbaptista/cto-toolkit (9 stars, last pushed 8mo ago), licensed MIT. It adds 115 tokens to every session and 1,745 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

git-flow compared with skills from other repositories

git-flow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-flowcamilooscargbaptista/cto-toolkitSkill98mo agoMITA115Claude Code
git-workflowchandrudp29/skillhubSkill145mo agoMITA41Claude Code, Codex
github-pr-workflowpaperclipai/paperclipSkill119ktodayMITA39Claude Code, Codex
setup-pre-commitvinvcn/mattpocock-skills-zh-CNSkill6.3k2d agoMITA65Claude Code, Codex
meta-gitgitkb/metaSkill2.2kyesterdayMITA40Claude Code
ratchet-filesdzhng/skillsSkill1.5k21d agoMITA118Claude Code, Codex
conversationswecode-ai/WegentSkill897todayApache-2.0A54Claude Code