git-workflow-and-versioning

git-workflow-and-versioning is a skill for Claude Code, Codex from oleg494/coding-kit. It costs 48 tokens per session (1,003 once invoked), scanned C, original, MIT.

A set of practices for using Git, a tool that records code changes, to organize development, branches, commits, releases, and version numbers.

In plain words
What is it for?
Use it to plan branches, make focused commits, resolve conflicts, choose release version updates, add tags, and write changelogs.
Why use it?
It keeps changes understandable and recoverable, reducing confusion when several changes are happening or when conflicts occur.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to plan branches, make focused commits, resolve conflicts, choose release version updates, add tags, and write changelogs.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/oleg494/coding-kit/git-workflow-and-versioning/github.svg)](https://agentmods.dev/skills/oleg494/coding-kit/git-workflow-and-versioning)
Your own site
<a href="https://agentmods.dev/skills/oleg494/coding-kit/git-workflow-and-versioning"><img src="https://agentmods.dev/badge/skills/oleg494/coding-kit/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/oleg494/coding-kit/git-workflow-and-versioning"><img src="https://agentmods.dev/badge/skills/oleg494/coding-kit/git-workflow-and-versioning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,003 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00048 $0.01003
Opus 5.5 $0.00019 $0.00401
Sonnet 5.5 $0.00010 $0.00201
Haiku 4.5 $0.00005 $0.00100

Measured 2d ago against content hash 2376180b534e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

git-workflow-and-versioning scanned grade C with 1 finding 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 2d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

Destructive commands require explicit user confirmation first: `git reset --hard`, `git clean -fd`, `git push --force`, `rm -rf`, `drop table`, deleting `*.db`. Reversible commands — no ceremony.
.agents/skills/git-workflow-and-versioning/SKILL.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 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.

Core Principles

Trunk-Based Development (Recommended)

Keep main always deployable. Work in short-lived feature branches (1-3 days).

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

1. Commit Policy (Single Sourced)

Commits happen when the user asked or when the repo's standing convention explicitly declares them (never silently expanded by an autonomous skill). When committing, commit clean, logical increments — don't accumulate unbounded uncommitted changes.

2. Atomic Commits

Each commit does one logical thing:

# Good: Each commit is self-contained
a1b2c3d Add task creation endpoint with validation
d4e5f6g Add task creation form component
h7i8j9k Connect form to API and add loading state

# Bad: Everything mixed together
x1y2z3a Add task feature, fix sidebar, update deps, refactor utils

3. Descriptive Messages

feat: add email validation to registration endpoint

Prevents invalid email formats from reaching the database.
Uses Zod schema validation at the route handler level.

Types: feat, fix, refactor, test, docs, chore

4. Keep Concerns Separate

Don't combine formatting changes with behavior changes. Don't combine refactors with features. Each type of change should be a separate commit.

5. Size Your Changes

~100 lines  → Easy to review, easy to revert
~300 lines  → Acceptable for a single logical change
~1000 lines → Split into smaller changes

Branching Strategy

main
  ├── feature/task-creation    ← One feature per branch
  ├── feature/user-settings    ← Parallel work
  └── fix/duplicate-tasks      ← Bug fixes
  • Use the repository's intended base branch, not an assumed main.
  • Keep related changes reviewable; split genuinely independent work.
  • Merge, delete branches or introduce feature flags only when the task calls for them.

Read the full file on GitHub · 121 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. 2d ago Changed 2376180b534e
  2. 8d ago Changed · -12 tokens per session c7a96080998f
  3. 11d ago Changed 3a2b1b350234
  4. 25d ago Changed a5a77ad601be
  5. 26d ago Changed 51422a900c4d
  6. 1mo ago Changed e41176d4e486
  7. 1mo ago Changed · -5 lines f065ad3078b4
  8. 1mo ago Changed 0a5c2f9117db
  9. 1mo ago Changed · +2 lines 893617768227
  10. 1mo ago First seen · 124 lines · 60 tokens per session scan C 5b212f087764

Subscribe to this mod's changes

git-workflow-and-versioning is a skill published in the GitHub repository oleg494/coding-kit (3 stars, last pushed 2d ago), licensed MIT. It adds 48 tokens to every session and 1,003 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). 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