git-workflow

git-workflow is a skill for Claude Code, Codex from subhansh-dev/agent-maxxing. It costs 20 tokens per session (493 once invoked), scanned A, original, MIT.

A set of conventions for using Git, the version-control system used to track code changes, branches, and reviews.

In plain words
What is it for?
Use it to name commits, create branches, prepare pull requests, and resolve merge conflicts.
Why use it?
It helps teams keep commits, branches, pull requests, and conflict handling consistent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to name commits, create branches, prepare pull requests, and resolve merge conflicts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/subhansh-dev/agent-maxxing/git-workflow
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.

Any agent
npx skills add subhansh-dev/agent-maxxing --skill git-workflow
Clone the repo
git clone --depth 1 https://github.com/subhansh-dev/agent-maxxing

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/subhansh-dev/agent-maxxing/git-workflow/github.svg)](https://agentmods.dev/skills/subhansh-dev/agent-maxxing/git-workflow)
Your own site
<a href="https://agentmods.dev/skills/subhansh-dev/agent-maxxing/git-workflow"><img src="https://agentmods.dev/badge/skills/subhansh-dev/agent-maxxing/git-workflow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for git-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/subhansh-dev/agent-maxxing/git-workflow"><img src="https://agentmods.dev/badge/skills/subhansh-dev/agent-maxxing/git-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 493 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.00020 $0.00493
Opus 5 $0.00010 $0.00246
Sonnet 5 $0.00004 $0.00099
Haiku 4.5 $0.00002 $0.00049

Measured 5d ago against content hash 83b72459323b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 5d 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.

workflows/git-workflow/SKILL.md · 82 lines

What it actually says

Git Workflow — How to Use Git Properly

Commit Messages

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

Types:

  • feat — new feature
  • fix — bug fix
  • refactor — code restructuring without behavior change
  • style — formatting, no code change
  • docs — documentation only
  • test — adding or updating tests
  • chore — maintenance tasks
  • perf — performance improvement

Examples:

  • feat(auth): add OAuth2 login flow
  • fix(api): handle null response from payment gateway
  • refactor(parser): extract validation into separate module
  • perf(db): add index for user lookup query

Rules:

  • Subject line: imperative mood, no period, max 72 chars
  • Body: explain WHAT and WHY, not HOW (the code shows HOW)
  • Reference issues: Closes #123, Fixes #456

Branching

  • main — always deployable
  • feat/<name> — new features
  • fix/<name> — bug fixes
  • refactor/<name> — refactoring
  • chore/<name> — maintenance

Create branch from main, merge back via PR.

PR Workflow

  1. Create branch from main
  2. Make changes, commit incrementally
  3. Push branch
  4. Create PR with description
  5. Request review
  6. Address feedback
  7. Merge (squash for clean history)

Conflict Resolution

  1. git fetch origin
  2. git rebase origin/main
  3. Fix conflicts in files
  4. git add <resolved-files>
  5. git rebase --continue
  6. git push --force-with-lease

Never merge main into your branch — rebase instead.

Interactive Rebase

Clean up commits before PR:

git rebase -i HEAD~5
# squash, reword, edit commits
git push --force-with-lease

Stashing

git stash push -m "WIP: login form"
git stash list
git stash pop

Stash before switching branches. Pop when you return.

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. 5d ago First seen · 82 lines · 20 tokens per session scan A 83b72459323b

Subscribe to this mod's changes

git-workflow is a skill published in the GitHub repository subhansh-dev/agent-maxxing (2 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 493 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-09-03.