git-workflow-standards

git-workflow-standards is a skill for Claude Code from dryvist/claude-code-plugins. It costs 21 tokens per session (698 once invoked), scanned A, original, Apache-2.0.

A set of rules for managing Git branches, worktrees, merges, and pull requests. Git is a system for tracking code changes, while a worktree is a separate working folder connected to the same repository.

In plain words
What is it for?
Use it when creating or removing worktrees, updating branches, preparing pull requests, resolving merge conflicts, and cleaning up stale branches.
Why use it?
It reduces branch clutter, unsafe work on the default branch, outdated branches, and mistakes when resolving conflicts or syncing code.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the git-workflows plugin — 5 skills shipped together

Good fit Use it when creating or removing worktrees, updating branches, preparing pull requests, resolving merge conflicts, and cleaning up stale branches.

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

Made for: Claude Code.

Or install git-workflows, the plugin that ships this one along with the rest of its 5 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/git-workflow-standards/github.svg)](https://agentmods.dev/skills/dryvist/claude-code-plugins/git-workflow-standards)
Your own site
<a href="https://agentmods.dev/skills/dryvist/claude-code-plugins/git-workflow-standards"><img src="https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/git-workflow-standards/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-standards

Your own site · 80×15
<a href="https://agentmods.dev/skills/dryvist/claude-code-plugins/git-workflow-standards"><img src="https://agentmods.dev/badge/skills/dryvist/claude-code-plugins/git-workflow-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 698 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.00021 $0.00698
Opus 5.5 $0.00008 $0.00279
Sonnet 5.5 $0.00004 $0.00140
Haiku 4.5 $0.00002 $0.00070

Measured 1mo ago against content hash d742ea203354, 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-standards 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.

git-workflows/skills/git-workflow-standards/SKILL.md · 63 lines

How it starts

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

Git Workflow Standards

For branch creation and PR-branch sync, follow the Git Town rule.

Every branch with commits MUST have an associated PR. Orphaned branches must get a PR or be deleted.

Stale branch (worktree-paired, bare local, or remote-only — see prune-branches, github-workflows, for the full procedure): a non-default branch, checked out nowhere, unreferenced by any open PR (--head or --base), with no uncommitted changes (when a worktree exists), and either a merged PR whose headRefOid matches the branch tip, or zero commits ahead of the default branch. Use git worktree remove (never --force) for worktree-paired branches — Git blocks removal of dirty worktrees — and git push origin --delete for a live remote ref, only after prune-branches's pre-push ancestry re-check.

Branch Hygiene

  • Use conventional-commit prefixes without emoji (see pr-standards).

Merge Conflict Resolution

NEVER assume newer is correct. Analyze both versions.

  1. Understand — read full file, check git log --oneline -10 -- <file>
  2. Analyze — identify what each side changed and why, check compatibility
  3. Resolve — use the resolution table below
  4. Verify — run pre-commit run --files <file>, read resolved file
Scenario Resolution
Additive changes Keep both
Same logic modified Combine intent of both
One is a bug fix Always include the fix
One is a refactor Apply refactor, then add other change
Truly incompatible Prefer branch's changes, add comment

Escalate to human review for complex business logic, fundamental contradictions, or security-sensitive code.

Command Purpose
git diff --name-only --diff-filter=U List conflicted files
git log --merge -p <file> Show commits causing conflict
git show :1:<file> Common ancestor version
git show :2:<file> HEAD (your branch) version
git show :3:<file> Incoming (their branch) version
git merge --abort Abort and return to pre-merge state

Read the full file on GitHub · 63 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. 1mo ago Changed · -37 lines · -38 tokens per session d742ea203354
  2. 2mo ago Changed · -3 lines 4ca5c7bfbb7c
  3. 2mo ago Changed · +3 lines ebd63716cb1c
  4. 3mo ago First seen · 100 lines · 59 tokens per session scan A f767dc962fb5

Subscribe to this mod's changes

git-workflow-standards is a skill published in the GitHub repository dryvist/claude-code-plugins (3 stars, last pushed 17d ago), licensed Apache-2.0. It adds 21 tokens to every session and 698 once invoked, about $0.0001 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-31.

Related

git-workflow-standards compared with skills from other repositories

git-workflow-standards next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-workflow-standardsdryvist/claude-code-pluginsSkill317d agoApache-2.0A21Claude Code
nav-pilotqf-studio/navigatorSkill35817d agoMITA62Claude Code
core-workflowtravisjneuman/.claudeSkill116todayMITA52Claude Code
debug-systematictravisjneuman/.claudeSkill116todayMITA33Claude Code
auto-claudetravisjneuman/.claudeSkill116todayMITA30Claude Code
agent-debugging-specialisttravisjneuman/.claudeSkill116todayMITA12Claude Code
github-ops0xDarkMatter/claude-modsSkill869d agoMITA105Claude Code