git-workflow-and-versioning

git-workflow-and-versioning is a skill for Claude Code from shennawardana23/skillme. It costs 68 tokens per session (2,086 once invoked), scanned A, original, Apache-2.0.

A guide to using Git for commits, branches, releases, version numbers, and changelogs. Git stores code history, while semantic versioning gives users a consistent meaning for changes to a released package.

In plain words
What is it for?
Making focused commits, managing short-lived branches, resolving conflicts, choosing version bumps, tagging releases, and writing changelogs.
Why use it?
It helps keep the main branch deployable, makes changes easier to review or undo, and communicates upgrade risk clearly to users.

Skill for Claude Code

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

Part of the skillme plugin — 137 skills, 2 commands shipped together

Good fit Making focused commits, managing short-lived branches, resolving conflicts, choosing version bumps, tagging releases, and writing changelogs.

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

Made for: Claude Code.

Or install skillme, the plugin that ships this one along with the rest of its 137 skills, 2 commands.

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/shennawardana23/skillme/git-workflow-and-versioning/github.svg)](https://agentmods.dev/skills/shennawardana23/skillme/git-workflow-and-versioning)
Your own site
<a href="https://agentmods.dev/skills/shennawardana23/skillme/git-workflow-and-versioning"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/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/shennawardana23/skillme/git-workflow-and-versioning"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/git-workflow-and-versioning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,086 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.00068 $0.02086
Opus 5 $0.00034 $0.01043
Sonnet 5 $0.00014 $0.00417
Haiku 4.5 $0.00007 $0.00209

Measured 6d ago against content hash c7d66c1c30fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 6d 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-and-versioning/SKILL.md · 214 lines

How it starts

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

Git Workflow and Versioning

Commits are save points, branches are sandboxes, and history is documentation. A version number is the separate promise you make to consumers of your code — the moment anything outside your own working copy depends on a piece of code, "latest on main" stops being a sufficient answer to "what am I running, and is it safe to upgrade?"

Trunk-based development (default)

Keep main always deployable. Work in feature branches that merge back within 1–3 days — long-lived branches accumulate merge risk every day they exist, and DORA/Accelerate research consistently correlates trunk-based development with high-performing engineering teams. Prefer a feature flag over a long-lived branch for anything incomplete (see ci-cd-and-automation).

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

Commit discipline

Commit each working increment, not one giant commit at the end — each commit is a point you can revert to if the next change breaks something. Each commit does one logical thing; don't mix a refactor with a feature, or formatting with behavior change, in the same commit.

# Good: atomic, self-contained commits
a1b2c3d feat: add reservation cancellation endpoint
d4e5f6g refactor: extract status-transition validation to its own function
h7i8j9k test: add table-driven tests for cancellation edge cases

# Bad: everything mixed together
x1y2z3a add cancellation, fix unrelated bug, reformat whole file, bump deps

Messages explain why, not just what:

feat: add email validation to registration endpoint

Prevents malformed addresses from reaching the database. Uses the
same validation approach as auth.ts for consistency.

Types: feat, fix, refactor, test, docs, chore. Target ~100–300 lines per commit/PR; split anything approaching 1000 lines.

Branching

feature/<short-description>   feature/reservation-cancellation
fix/<short-description>       fix/duplicate-charge-on-retry
chore/<short-description>     chore/bump-go-version
refactor/<short-description>  refactor/reservation-service

Read the full file on GitHub · 214 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. 6d ago First seen · 214 lines · 68 tokens per session scan A c7d66c1c30fc

Subscribe to this mod's changes

git-workflow-and-versioning is a skill published in the GitHub repository shennawardana23/skillme (2 stars, last pushed 12d ago), licensed Apache-2.0. It adds 68 tokens to every session and 2,086 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

git-workflow-and-versioning

Structures git workflow practices. Use when making any code change. Use when committing, branching, resolving conflicts, splitting uncommitted work in a messy working tree into clean atomic commits, opening or reviewing a pull request (PR), pushing to a remote, or when you need to organize work across multiple…

addyosmani/agent-skills · 89 tokens

comet-safe-delivery

A Chinese-language procedure for safely delivering specified Comet changes through Git. It covers checking worktrees and unrelated edits, staging exact files, validating hooks, and authorized commits or pushes.

rpamis/comet · 78 tokens

implement-suggestion

Implements review-comment suggestions across one or more PRs. Multi-PR mode (default when $ARGUMENTS contains PR URLs; empty $ARGUMENTS auto-detects the active PR) per PR: resolves a worktree, fetches every actionable comment from both human teammates AND AI code-review bots (claude[bot], coderabbitai[bot], …)…

mthines/agent-skills · 314 tokens

pr-review

One-shot read-only review of a GitHub PR — dispatches the pr-reviewer agent and reports its verdict and findings without touching your code. The short entry point for "review this PR" when you do not want an apply-and-converge loop. Also writes maintainer relevance rules via /pr-review remember . Invoke with…

mthines/agent-skills · 78 tokens

conventional-commits

Enforce, validate, lint, and manage Conventional Commits across git repositories. Generates semantic changelogs and installs git hooks. Use this skill whenever the user mentions commit messages, commit conventions, conventional commits, semantic versioning, changelogs, commit linting, git hooks for commits, or wants…

hankunpeng/skills · 85 tokens

changelog

Use when writing a changelog or release notes. Covers what belongs in one, writing for users rather than for git, semantic versioning, and documenting breaking changes so nobody is surprised.

nimadorostkar/Claude-Skills-collection · 40 tokens