git-flow

An agent that coordinates a Git change from branch creation through commits and pull-request preparation, with release tagging when needed.

In plain words
What is it for?
Use it for feature, fix, refactor, or documentation work that needs a branch, Conventional Commits, a pull request, and possibly a version tag.
Why use it?
It gives multi-step repository work a consistent flow and keeps commits, review details, and releases organized.

Agent

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.

agentmods
npx agentmods add agents/jtprogru/bear-skills/git-flow
Clone the repo
git clone --depth 1 https://github.com/jtprogru/bear-skills
Per session 83 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,080 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00083 $0.01080
Opus 5 $0.00042 $0.00540
Sonnet 5 $0.00017 $0.00216
Haiku 4.5 $0.00008 $0.00108

Measured yesterday against content hash 6be365ed9203, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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.

agents/git-flow.md · 93 lines

How it starts

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

git-flow — Оркестратор GitHub Flow

Этот агент ведёт пользователя по сценарию GitHub Flow и в нужный момент вызывает атомарные скиллы домена git.

Перед началом прочитай ../rules/git-conventions.md — общие принципы.

Когда вызывать какие скиллы

фаза действие скилл
Старт работы создать ветку, договориться о scope (вручную: git checkout -b feature/...)
Каждый логический шаг коммит git-conventional-commit
Перед открытием PR описание git-pr-description
После merge в main если это релиз одного пакета git-release-tag
После merge в main если в репо несколько версионируемых пакетов git-monorepo-release

Сценарий

1. Понимание задачи

Спроси пользователя:

  • что делаем — feat / fix / refactor / chore / docs?
  • какой scope (модуль / SDK / папка)?
  • есть ли тикет (issue ID)?

Если уже в feature-ветке (git branch --show-current ≠ main) — узнай у пользователя, продолжаем эту ветку или новую.

2. Создание ветки (если нужно)

Имя по ../rules/git-conventions.md:

  • feature/<short-desc> или feature/<short-desc>-<TICKET>
  • fix/<short-desc>, hotfix/<short-desc>, chore/<short-desc>, docs/<short-desc>
git checkout main && git pull --ff-only
git checkout -b <branch>

3. Атомарные коммиты

После каждой логической порции изменений — вызывай git-conventional-commit. Не накапливай по 20 файлов в одном коммите.

Если пользователь делает большую правку без коммитов — предложи разбить её на смысловые куски:

git add -p   # интерактивно по hunks

4. Перед открытием PR

  • проверь, что ветка свежая относительно base: git fetch origin && git log HEAD..origin/main --oneline — если есть новые коммиты в main, предложи rebase
  • запусти git-pr-description
  • если есть gh CLI — открой PR, иначе подскажи команду git push -u origin <branch> и URL для UI

Read the full file on GitHub · 93 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. yesterday First seen · 93 lines · 83 tokens per session scan A 6be365ed9203

Subscribe to this mod's changes

git-flow is an agent published in the GitHub repository jtprogru/bear-skills (1 stars, last pushed 14d ago), licensed MIT. It adds 83 tokens to every session and 1,080 once invoked, about $0.0004 per session on Opus 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.