git-workflow

git-workflow is a skill for Claude Code from arozumenko/sdlc-skills. It costs 57 tokens per session (754 once invoked), scanned A, original, MIT.

A guide for managing Git history and collaboration, including branches, commits, pull requests, merges, rebases, cherry-picks, and tags. Git records changes to source code, while a pull request is a proposed change for review.

In plain words
What is it for?
Use it when creating branches, preparing focused commits, opening or reviewing pull requests, merging work, rewriting history, recovering changes, or adding tags.
Why use it?
It reduces mistakes such as committing secrets, working from the wrong branch, mixing unrelated changes, or changing history without first checking the repository state.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the sdlc-skills plugin — 60 skills shipped together

Good fit Use it when creating branches, preparing focused commits, opening or reviewing pull requests, merging work, rewriting history, recovering changes, or adding tags.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arozumenko/sdlc-skills/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 arozumenko/sdlc-skills --skill git-workflow
Clone the repo
git clone --depth 1 https://github.com/arozumenko/sdlc-skills

Made for: Claude Code.

Or install sdlc-skills, the plugin that ships this one along with the rest of its 60 skills.

Its marketplace also offers this one on its own, as the plugin git-workflow — /plugin install git-workflow after adding the marketplace above.

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/arozumenko/sdlc-skills/git-workflow/github.svg)](https://agentmods.dev/skills/arozumenko/sdlc-skills/git-workflow)
Your own site
<a href="https://agentmods.dev/skills/arozumenko/sdlc-skills/git-workflow"><img src="https://agentmods.dev/badge/skills/arozumenko/sdlc-skills/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/arozumenko/sdlc-skills/git-workflow"><img src="https://agentmods.dev/badge/skills/arozumenko/sdlc-skills/git-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 754 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 73
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 93
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00057 $0.00754
Opus 5.5 $0.00023 $0.00302
Sonnet 5.5 $0.00011 $0.00151
Haiku 4.5 $0.00006 $0.00075

Measured 1mo ago against content hash 25a9bfe86c93, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

bundles/feature-development/skills/git-workflow/SKILL.md · 107 lines

How it starts

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

Git Workflow

Disciplined git operations for professional codebases.

Platform & systems

Commands below use GitHub gh as the reference. Translate to your code host per .agents/workflow.md § Git host — GitLab glab, Bitbucket bb, Azure DevOps az repos, Gitea tea. "PR" means PR or MR. If scout hasn't recorded a host, ask before assuming GitHub.

Before Any Git Operation

git --no-pager status
git --no-pager log --oneline -5
git --no-pager diff --stat

Always know the current state before changing it.

Branching

# Feature branch from main
git checkout main && git pull && git checkout -b feat/short-description

# Bug fix
git checkout main && git pull && git checkout -b fix/issue-description

Branch naming: feat/, fix/, chore/, docs/ prefixes. Lowercase, hyphens, concise.

Commits

Never commit unless the user explicitly asks. When they do:

  1. Stage specific files (not git add -A — avoid secrets and binaries)
  2. Write a message that explains why, not what
  3. Keep commits focused — one concern per commit
git add src/auth.py src/middleware.py
git commit -m "$(cat <<'EOF'
Fix session expiry not respecting timezone offset

The previous check used naive datetime comparison which failed
for users in negative UTC offsets.

Co-Authored-By: Claude <[email protected]>
EOF
)"

Pull Requests

When asked to create a PR:

  1. Check all commits since divergence: git --no-pager log main..HEAD --oneline
  2. Review full diff: git --no-pager diff main...HEAD
  3. Push with tracking: git push -u origin HEAD
  4. Create with structured body:
gh pr create --title "Short title under 70 chars" --body "$(cat <<'EOF'
## Summary
- What changed and why (2-3 bullets)

## Test plan
- [ ] How to verify this works

Generated with Claude Code
EOF
)"

Dangerous Operations

Always confirm with the user before:

  • git push --force (any variant)
  • git reset --hard
  • git branch -D
  • git rebase on shared branches
  • git checkout . or git restore . (discards work)

Read the full file on GitHub · 107 lines

Files

What ships with it

2 files 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. 1mo ago First seen · 107 lines · 57 tokens per session scan A 25a9bfe86c93

Subscribe to this mod's changes

git-workflow is a skill published in the GitHub repository arozumenko/sdlc-skills (25 stars, last pushed yesterday), licensed MIT. It adds 57 tokens to every session and 754 once invoked, about $0.0002 per session on Opus 5.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-30.