china-administrative-division: Agent for Claude Code

.claude/agents/git-flow-manager.md

git-flow-manager is an agent for Claude Code from tonyc726/china-administrative-division. It costs 44 tokens per session (2,185 once invoked), scanned A, original, MIT.

A Git workflow manager for teams using Git Flow, a branching method with separate branches for features, releases, and urgent fixes.

In plain words
What is it for?
Use it to create feature, release, and hotfix branches, finish merges, create release tags, and prepare pull requests.
Why use it?
It helps keep branches based on the right starting point, follow naming rules, and merge completed work into the correct branches. It also checks for conflicts and runs available tests before merging.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions Claude Code.

This is tonyc726/china-administrative-division's own configuration. It tells Claude Code how to work on china-administrative-division itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything china-administrative-division configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tonyc726/china-administrative-division. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tonyc726/china-administrative-division/master/.claude/agents/git-flow-manager.md
Clone the repo
git clone --depth 1 https://github.com/tonyc726/china-administrative-division

Made for: Claude Code.

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-manager

README.md
[![agentmods](https://agentmods.dev/badge/agents/tonyc726/china-administrative-division/git-flow-manager.svg)](https://agentmods.dev/agents/tonyc726/china-administrative-division/git-flow-manager)
Your own site
<a href="https://agentmods.dev/agents/tonyc726/china-administrative-division/git-flow-manager"><img src="https://agentmods.dev/badge/agents/tonyc726/china-administrative-division/git-flow-manager.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,185 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.00044 $0.02185
Opus 5 $0.00022 $0.01092
Sonnet 5 $0.00009 $0.00437
Haiku 4.5 $0.00004 $0.00218

Measured 7d ago against content hash 8209184ddcc7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

git-flow-manager 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 7d 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.

.claude/agents/git-flow-manager.md · 365 lines

How it starts

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

You are a Git Flow workflow manager specializing in automating and enforcing Git Flow branching strategies.

Git Flow Branch Types

Branch Hierarchy

  • main: Production-ready code (protected)
  • develop: Integration branch for features (protected)
  • feature/*: New features (branches from develop, merges to develop)
  • release/*: Release preparation (branches from develop, merges to main and develop)
  • hotfix/*: Emergency production fixes (branches from main, merges to main and develop)

Core Responsibilities

1. Branch Creation and Validation

When creating branches:

  1. Validate branch names follow Git Flow conventions:
    • feature/descriptive-name
    • release/vX.Y.Z
    • hotfix/descriptive-name
  2. Verify base branch is correct:
    • Features → from develop
    • Releases → from develop
    • Hotfixes → from main
  3. Set up remote tracking automatically
  4. Check for conflicts before creating

2. Branch Finishing (Merging)

When completing a branch:

  1. Run tests before merging (if available)
  2. Check for merge conflicts and resolve
  3. Merge to appropriate branches:
    • Features → develop only
    • Releases → main AND develop (with tag)
    • Hotfixes → main AND develop (with tag)
  4. Create git tags for releases and hotfixes
  5. Delete local and remote branches after successful merge
  6. Push changes to origin

3. Commit Message Standardization

Format all commits using Conventional Commits:

<type>(<scope>): <description>

[optional body]

🤖 Generated with Claude Code
Co-Authored-By: Claude <[email protected]>

Types: feat, fix, docs, style, refactor, test, chore

4. Release Management

When creating releases:

  1. Create release branch from develop: release/vX.Y.Z
  2. Update version in package.json (if Node.js project)
  3. Generate CHANGELOG.md from git commits
  4. Run final tests
  5. Create PR to main with release notes
  6. Tag release when merged: vX.Y.Z

Read the full file on GitHub · 365 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. 7d ago First seen · 365 lines · 44 tokens per session scan A 8209184ddcc7

Subscribe to this mod's changes

git-flow-manager is an agent published in the GitHub repository tonyc726/china-administrative-division (231 stars, last pushed 13d ago), licensed MIT. It adds 44 tokens to every session and 2,185 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-09-01.

Related

Other agents, from other repositories

deployment-specialist

Handles all deployment operations.

luongnv89/claude-howto · 8 tokens

geo-roadmap-release-manager

Manages SemVer decisions, package version bump proposals, roadmap alignment, release readiness, tag checklist, CI gate review, and post-merge release sequencing for GEO Optimizer and GeoReady.

Auriti-Labs/geo-optimizer-skill · 44 tokens

release-validator

Validates release readiness by checking tests, build, dependencies, and changelog. Use before creating a release.

rlajous/claude-code-commands · 25 tokens

pr-ghostwriter

Kod değişikliklerinden PR açıklaması, commit mesajı ve changelog üretir. Gerçek diff'i okuyarak değişikliğin ne, neden ve nasıl olduğunu açıklar. Kullanıcı PR açmak, commit mesajı yazmak veya release notu hazırlamak istediğinde kullanılır. Jenerik açıklama üretmez — her zaman gerçek değişikliğe özgü yazar.

komunite/kalfa · 81 tokens

iris

GitHub operations specialist — branches, pull requests, issues, releases, tags. Called by zeus after review. Never pushes or merges without explicit human approval. Integrates with VS Code GitHub Pull Requests extension.

ils15/pantheon-legacy · 45 tokens

shipper

Deployment pipeline agent that executes the full ship sequence: pre-ship checks, conventional commit, feature branch + PR, CI verification, and rollback documentation. Use in Phase 5 after Gate 2 passes. Never commits directly to main. Not for implementation or review approval.

ngocsangyem/MeowKit · 57 tokens