git-workflow-and-versioning

git-workflow-and-versioning is a skill for Claude Code, Codex from oleg494/coding-kit. It costs 95 tokens per session (2,590 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 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,590 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.00095 $0.02590
Opus 5.5 $0.00038 $0.01036
Sonnet 5.5 $0.00019 $0.00518
Haiku 4.5 $0.00010 $0.00259

Measured 13d ago against content hash b5f0a6362f4a, 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 13d 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.

`git reset --hard`, `git clean -fd`, `git push --force`, `rm -rf`,
.agents/skills/git-workflow-and-versioning/SKILL.md · 265 lines

How it starts

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

Git Workflow and Versioning

Git is the safety net: commits are save points, branches are sandboxes, history is documentation.

Core principles

Trunk-based development (recommended)

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

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

Commit when the work asks for it

Commits happen when the user asked for them or the repository's standing convention declares them; an autonomous skill never expands that on its own (OPS §1). When committing, commit clean logical increments rather than one unbounded pile of uncommitted change.

Atomic commits

Each commit does one logical thing:

a1b2c3d Add task creation endpoint with validation
d4e5f6g Add task creation form component
h7i8j9k Connect form to API and add loading state

# not: "Add task feature, fix sidebar, update deps, refactor utils"

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.

Keep concerns separate

Don't combine formatting with behavior, or a refactor with a feature. Each kind of change gets its own commit, so a revert takes back exactly one thing.

Size (heuristics, not gates)

~100 lines  → easy to review, easy to revert
~300 lines  → fine for one logical change
~1000 lines → split into smaller changes

Branching

main
  ├── feature/task-creation    ← one feature per branch
  ├── feature/user-settings    ← parallel work
  └── fix/duplicate-tasks      ← bug fixes
  • Base on the branch the repository intends, not an assumed main.
  • Keep changes reviewable; split genuinely independent work.
  • Merge, delete branches, or introduce feature flags only when the task calls for it.

Read the full file on GitHub · 265 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. 13d ago Changed b5f0a6362f4a
  2. 22d ago Changed 0edb1718b2ce
  3. 1mo ago Changed · +144 lines · +47 tokens per session 43d03e841557
  4. 1mo ago Changed 73a537c47df7
  5. 1mo ago Changed 3beedebe9f8a
  6. 1mo ago Changed 8f8168e69bee
  7. 1mo ago Changed 2376180b534e
  8. 1mo ago Changed · -12 tokens per session c7a96080998f
  9. 1mo ago Changed 3a2b1b350234
  10. 2mo ago First seen · 121 lines · 60 tokens per session scan C a5a77ad601be

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 13d ago), licensed MIT. It adds 95 tokens to every session and 2,590 once invoked, about $0.0004 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

git-workflow-and-versioning compared with skills from other repositories

git-workflow-and-versioning next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
git-workflow-and-versioningoleg494/coding-kitSkill313d agoMITC95Claude Code, Codex
git-conventional-commitspedroiff0/awesome-skillsSkill1todayMITA36Claude Code, Codex
git-workflow-and-versioningGuillemRoca/agent-skills-androidSkill71mo agoMITA77Claude Code
ship-itnortonx/ai-tooling-freeSkill31mo agoMITA61Claude Code
gitjxoesneon/CielSkill11mo agoApache-2.0A19Claude Code, Codex
auto-commitmystilleef/spae-frameworkSkill25d agoMITC19Claude Code
quick-pushdinglebear-ai/dendriteSkill12mo agoAGPL-3.0A99Claude Code, Codex