git-flow

A guided Git workflow for branches, commits, pull requests, and merge-conflict resolution.

In plain words
What is it for?
Use it to create a branch, prepare a conventional commit, draft a pull request, or resolve conflicts.
Why use it?
It helps keep common Git work organized and applies consistent branch names, commit messages, and pull-request descriptions.

Command

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 commands/claude-code-community-ireland/claude-code-resources/git-flow
Clone the repo
git clone --depth 1 https://github.com/Claude-Code-Community-Ireland/claude-code-resources
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 495 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.00017 $0.00495
Opus 5 $0.00009 $0.00247
Sonnet 5 $0.00003 $0.00099
Haiku 4.5 $0.00002 $0.00049

Measured 2d ago against content hash a592d516bb93, 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 2d 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.

plugins/vibeworks-library/commands/git-flow.md · 51 lines

What it actually says

Git Flow Workflow

You are providing contextual git workflow assistance.

Steps

  1. Detect current state: Run git status, git branch, and git log --oneline -5 to understand the current git context.

  2. Determine action from $ARGUMENTS:

branch — Create a properly named branch

  • Ask for the purpose (feature, fix, hotfix, chore, docs, refactor)
  • Ask for a short description or ticket number
  • Create the branch with proper naming convention: <type>/<ticket>-<description>
  • Example: feature/PROJ-123-user-search

commit — Stage and commit with conventional message

  • Run git diff and git diff --staged to see changes
  • Analyze the changes to determine the commit type (feat, fix, refactor, docs, test, chore)
  • Stage relevant files (prefer specific files over git add -A)
  • Write a conventional commit message: type(scope): description
  • Show the user the proposed commit for approval before executing

pr — Create a pull request

  • Analyze all commits on the current branch vs main
  • Run git diff main...HEAD to understand the full change
  • Generate a structured PR description (Summary, Motivation, Changes, Test Plan)
  • Create the PR using gh pr create

merge — Merge a branch safely

  • Check if the branch is up to date with the target
  • Run tests before merging
  • Merge using the project's convention (squash, merge commit, or rebase)
  • Clean up the branch after merge

conflict — Resolve merge conflicts

  • Identify conflicting files with git diff --name-only --diff-filter=U
  • For each conflicting file:
    • Read both versions and understand the intent of each change
    • Propose a resolution that preserves both intents
    • Show the resolution to the user for approval
  • After all conflicts are resolved, run tests to verify
  1. Execute: Carry out the chosen action with the user's approval.
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. 2d ago First seen · 51 lines · 17 tokens per session scan A a592d516bb93

Subscribe to this mod's changes

git-flow is a command published in the GitHub repository Claude-Code-Community-Ireland/claude-code-resources (10 stars, last pushed 3mo ago), licensed MIT. It adds 17 tokens to every session and 495 once invoked, about $0.0001 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.