git-workflow-and-versioning

git-workflow-and-versioning is a skill for Claude Code from peterblazejewicz/claude-plugins. It costs 76 tokens per session (3,658 once invoked), scanned A, original, MIT.

A Git workflow guide for .NET and C# projects. It explains short-lived branches, small focused commits, worktrees for parallel work, and checks such as tests and code formatting.

In plain words
What is it for?
Use it when changing code, creating branches or worktrees, committing, resolving conflicts, or organizing work across a .NET solution.
Why use it?
It makes changes easier to review, combine, undo, and keep in a working state while several developers or coding agents contribute.

Skill for Claude Code

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is git worktree add ../myapp-feature-a feature/task-creation.

Part of the dotnet-skills plugin — 24 skills, 9 commands, 4 agents shipped together

Good fit Use it when changing code, creating branches or worktrees, committing, resolving conflicts, or organizing work across a .NET solution.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/peterblazejewicz/claude-plugins
agentmods
npx agentmods add skills/peterblazejewicz/claude-plugins/git-workflow-and-versioning

Made for: Claude Code.

Or install dotnet-skills, the plugin that ships this one along with the rest of its 24 skills, 9 commands, 4 agents.

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-and-versioning

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/peterblazejewicz/claude-plugins/git-workflow-and-versioning"><img src="https://agentmods.dev/badge/skills/peterblazejewicz/claude-plugins/git-workflow-and-versioning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,658 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.00076 $0.03658
Opus 5.5 $0.00030 $0.01463
Sonnet 5.5 $0.00015 $0.00732
Haiku 4.5 $0.00008 $0.00366

Measured 1mo ago against content hash 54b81b09aded, 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-and-versioning 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.

plugins/dotnet-skills/skills/git-workflow-and-versioning/SKILL.md · 341 lines

How it starts

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

Git Workflow and Versioning

Overview

Git is your safety net. Treat commits as save points, branches as sandboxes, and history as documentation. With AI agents generating code at high speed, disciplined version control is the mechanism that keeps changes manageable, reviewable, and reversible.

When to Use

Always. Every code change flows through git.

Core Principles

Trunk-Based Development (Recommended)

Keep main always deployable. Work in short-lived feature branches that merge back within 1-3 days. Long-lived development branches are hidden costs — they diverge, create merge conflicts, and delay integration. DORA research consistently shows trunk-based development correlates with high-performing engineering teams.

main ──●──●──●──●──●──●──●──●──●──  (always deployable)
        ╲      ╱  ╲    ╱
         ●──●─╱    ●──╱    ← short-lived feature branches (1-3 days)

This is the recommended default. Teams using gitflow or long-lived branches can adapt the principles (atomic commits, small changes, descriptive messages) to their branching model — the commit discipline matters more than the specific branching strategy.

  • Dev branches are costs. Every day a branch lives, it accumulates merge risk.
  • Release branches are acceptable. When you need to stabilize a release while main moves forward.
  • Feature flags > long branches. Prefer deploying incomplete work behind flags (IOptions<FeatureOptions>) rather than keeping it on a branch for weeks.

1. Commit Early, Commit Often

Each successful increment gets its own commit. Don't accumulate large uncommitted changes.

Work pattern:
  Implement slice → dotnet test → Verify → Commit → Next slice

Not this:
  Implement everything → Hope it works → Giant commit

Commits are save points. If the next change breaks something, you can revert to the last known-good state instantly.

Read the full file on GitHub · 341 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 First seen · 341 lines · 76 tokens per session scan A 54b81b09aded

Subscribe to this mod's changes

git-workflow-and-versioning is a skill published in the GitHub repository peterblazejewicz/claude-plugins (8 stars, last pushed 4mo ago), licensed MIT. It adds 76 tokens to every session and 3,658 once invoked, about $0.0003 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

Other skills, from other repositories

conventional-commit

Draft Conventional Commit messages from local Git changes: one message for staged changes, a revised message for the last commit, or staging groups with a message each for unstaged work. Use when asked for a commit message, to reword or amend the last commit message, how to split or stage changes into commits, or…

JakeTRogers/my-awesome-copilot · 112 tokens

pull-request

Draft a pull request title and Markdown body from the current branch commits and diff, leaving out version bump and changelog bookkeeping, and hand off a gh pr create --editor command so the user reviews the draft in their own editor. Use when asked to draft, prepare, open, or create a pull request or PR description…

JakeTRogers/my-awesome-copilot · 86 tokens

fixup-plan

Map uncommitted working-tree changes to the existing branch commits they belong to, then produce git commit --fixup and autosquash rebase commands for the user to run. Use when asked which commit a change belongs to, to plan fixup commits, to organize changes into fixups, to prepare an autosquash rebase, or after…

JakeTRogers/my-awesome-copilot · 84 tokens

github-pr-workflow

Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.

paperclipai/paperclip · 39 tokens

git-advanced-workflows

Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.

wshobson/agents · 54 tokens

build-and-test

How to build and test .NET projects in the Agent Framework repository. Use this when verifying or testing changes.

microsoft/agent-framework · 26 tokens