git-workflow

git-workflow is a skill for Claude Code, Codex from halflength-ampleness75/claude-code-recipes. It costs 0 tokens per session (1,533 once invoked), scanned A, original, MIT.

A set of Git rules for branch names, commits, pull requests, merging, and protected branches. Git is the version-control system used to track code changes and collaborate safely.

In plain words
What is it for?
Use it when creating branches, writing commits, preparing pull requests, choosing a merge strategy, or following rules for protected branches.
Why use it?
It gives a team one consistent way to name work and record changes. This makes branches and commit history easier to understand and maintain.

Skill for Claude CodeCodex

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 skills/halflength-ampleness75/claude-code-recipes/git-workflow
Any agent
npx skills add halflength-ampleness75/claude-code-recipes --skill git-workflow
Clone the repo
git clone --depth 1 https://github.com/halflength-ampleness75/claude-code-recipes

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/halflength-ampleness75/claude-code-recipes/git-workflow.svg)](https://agentmods.dev/skills/halflength-ampleness75/claude-code-recipes/git-workflow)
Your own site
<a href="https://agentmods.dev/skills/halflength-ampleness75/claude-code-recipes/git-workflow"><img src="https://agentmods.dev/badge/skills/halflength-ampleness75/claude-code-recipes/git-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,533 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.00000 $0.01533
Opus 5 $0.00000 $0.00766
Sonnet 5 $0.00000 $0.00307
Haiku 4.5 $0.00000 $0.00153

Measured 4d ago against content hash 07eda98311a6, 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 4d 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.

skills/git-workflow/SKILL.md · 207 lines

How it starts

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

Git Workflow

Git conventions: branch naming, conventional commits, PR format, squash strategy, and protected branches.

Branch Naming

Use the format: <type>/<ticket>-<short-description>

Type Purpose Example
feat/ New feature feat/PROJ-123-user-avatars
fix/ Bug fix fix/PROJ-456-login-redirect
chore/ Maintenance, deps, config chore/upgrade-react-19
docs/ Documentation only docs/api-authentication-guide
refactor/ Code restructuring refactor/extract-auth-module
test/ Adding or fixing tests test/order-service-coverage
hotfix/ Urgent production fix hotfix/payment-timeout

Rules

  1. Always branch from main (or develop if using Git Flow)
  2. Use lowercase and hyphens — no underscores, no camelCase
  3. Include the ticket number when a tracker exists
  4. Keep descriptions under 5 words
  5. Delete branches after merging

Conventional Commits

Follow the Conventional Commits specification.

Format

<type>(<scope>): <subject>

<body>

<footer>

Types

Type When to Use
feat New feature visible to users
fix Bug fix
docs Documentation changes only
style Formatting, whitespace (no logic changes)
refactor Code change that neither fixes a bug nor adds a feature
perf Performance improvement
test Adding or updating tests
build Build system or dependencies
ci CI/CD pipeline changes
chore Other changes that don't modify src or test files
revert Reverts a previous commit

Rules

  1. Subject line under 72 characters
  2. Use imperative mood — "add feature" not "added feature" or "adds feature"
  3. No period at the end of the subject
  4. Scope is optional but encouraged — use the module or component name
  5. Body explains why, not what — the diff shows what changed
  6. Footer for breaking changes and issue references

Read the full file on GitHub · 207 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 207 lines · 0 tokens per session scan A 07eda98311a6

Subscribe to this mod's changes

git-workflow is a skill published in the GitHub repository halflength-ampleness75/claude-code-recipes (2 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,533 tokens. 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 skills, from other repositories

wrap

Session end - document updates, commit.

mag123c/toktrack · 9 tokens

core-workflow

Detailed development workflow patterns, checklists, and standards. Auto-loads for complex tasks, planning, debugging, testing, or when explicit patterns are needed. Contains session protocols, git conventions, security checklists, testing strategy, and communication standards.

travisjneuman/.claude · 53 tokens

archive

Phase 10.5 — move the slug's workflow artifacts (intake, scout, research, spec, approvals, swarm state, security reports, rendered diagrams) to docs/archive/ / /. Runs before /commit so the committed tree is clean of work-in-flight files. workflow.json stays live and gets archived as the first step of /commit.

friedbotstudio/baseline · 77 tokens

commit

Workflow Phase 11 — Commit Preparation and Execution. Stages and commits the work. Requires /grant-commit first (Git Commit Guard enforces a 15-min ad-hoc consent window; inside a workflow the grant is slug-scoped and one grant covers the whole landing).

friedbotstudio/baseline · 59 tokens

commit-planner

Split a dirty working tree into single-concern Conventional Commits. The deterministic inventory.mjs helper groups dirty paths by concern (docs, source + paired test, config, governance); main context refines the grouping and presents a commit plan. Read-only until the user approves the plan — it never stages, never…

friedbotstudio/baseline · 0 tokens

commit-gate

The only path to a commit. Routed to when the user invokes /commit or otherwise instructs codeArbiter to persist staged changes. Nine gated phases — permission, branch, classification, verification (test/lint/secrets), behavioral proof, diff review, selective stage, message, commit. Nothing reaches version control…

arbiterForge/codeArbiter · 81 tokens