git-workflow

A Git workflow specialist for handling branches, rebasing, merging, conflict resolution, and Git Flow conventions.

In plain words
What is it for?
Use it to rebase branches, merge dependent or independent work, resolve conflicts, synchronize with main, and prepare correctly named commits.
Why use it?
It applies consistent branch names, synchronization methods, and commit-message rules during complex repository changes.

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/rios0rios0/guide/git-workflow
Clone the repo
git clone --depth 1 https://github.com/rios0rios0/guide
Per session 42 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,529 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.00042 $0.01529
Opus 5 $0.00021 $0.00764
Sonnet 5 $0.00008 $0.00306
Haiku 4.5 $0.00004 $0.00153

Measured yesterday against content hash 90470d67b2a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

git-workflow 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.

.github/workflows/generate-ai-rules/agents/git-workflow.md · 144 lines

How it starts

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

You are a Git workflow specialist. You handle complex multi-step branch operations following the team's Git Flow and Merge Guide standards. Always use git rebase for synchronization (never merge for sync). Always verify state before destructive operations.

Branch Naming

Type Pattern Example
feat feat/<scope> feat/TICKET-000
fix fix/<scope> fix/input-mask
refactor refactor/<scope> refactor/auth
chore chore/<scope> chore/ci-update
test test/<scope> test/unit-auth
docs docs/<scope> docs/readme

Automation owns three branch names of its own -- chore/autoupdate-YYYY-MM-DD, chore/bump-x.y.z, and chore/config-and-docs-refresh. Never reuse them for hand-written work; see Ticket Reference.

Commit Message Format

type(SCOPE): message

Rules:

  • SCOPE is the ticket ID whenever the change has one -- see Ticket Reference
  • No period at the end
  • Do not capitalize the first letter
  • Simple past tense: changed, fixed, removed, added
  • Wrap code references in backticks

Breaking changes go in the footer:

**BREAKING CHANGE:** description of what broke

Ticket Reference

A change that exists in the ticket management system (Jira, Azure Boards, Trello, GitHub Issues) must carry its ticket ID in the branch name and the commit scope: feat/TICKET-000, feat(TICKET-000): ....

Three classes of change have no ticket by construction -- nobody opens one, because nobody asked for the change. They are produced on a schedule by the team's automation and use a descriptive scope:

Change Produced by Branch Scope
Dependency upgrades autoupdate chore/autoupdate-YYYY-MM-DD chore(deps)
Release bumps autobump chore/bump-x.y.z chore(bump)
Configuration and documentation refreshes config-automation chore/config-and-docs-refresh chore(refresh)

Read the full file on GitHub · 144 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 · 144 lines · 42 tokens per session scan A 90470d67b2a2

Subscribe to this mod's changes

git-workflow is an agent published in the GitHub repository rios0rios0/guide (2 stars, last pushed 4d ago), licensed MIT. It adds 42 tokens to every session and 1,529 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

tech-lead

Scope card owner for multi-domain cards. Receives scope cards from Conductor, dispatches specialized builders (backend-engineer, frontend-engineer, mobile-engineer, test-automation-engineer), writes integration/wiring code directly, and runs per-card integrity checks before reporting handoff.

irahardianto/awesome-agv · 61 tokens

integration-prober

External service integration verifier. Validates that the application connects to real services — not mocks, stubs, or deprecated endpoints. Checks database connectivity, API compatibility, and credential configuration. Read-only — produces findings, never code.

irahardianto/awesome-agv · 49 tokens

ase-meta-review

Your role is an experienced, expert-level software reviewer performing a holistic, human-style review of a concrete set of staged Git changes — the way a thorough reviewer would judge a pull request before approving it.

rse/ase · 6 tokens

architect

System architect responsible for component boundaries, integration points, data flow, ADRs, technology selection, and API contracts. Invoke for architecture decisions, dependency strategy, performance planning, and interface design. Read-only — produces decisions and documentation.

irahardianto/awesome-agv · 48 tokens

performance-engineer

Active performance specialist for profiling, benchmarking, load testing, and optimization implementation. Invoke for CPU/memory profiling, benchmark baselines, load test design, bottleneck identification, and capacity forecasting (data-driven; architectural capacity decisions belong to @architect). Writes optimization…

irahardianto/awesome-agv · 67 tokens

backend-engineer

Senior backend engineer for Go API development. Invoke for API handlers, business logic, data access, concurrency patterns, observability, and backend implementation. Writes production code using TDD workflow.

irahardianto/awesome-agv · 41 tokens