change-hygiene

change-hygiene is a skill for Claude Code, Codex from 05-deepak-patidar/claude-skills. It costs 83 tokens per session (1,131 once invoked), scanned A, original, MIT.

A guide to version-control work: commits, branches, pull requests, reviews, and merge conflicts. Version control records code changes so teams can review them and undo or understand them later.

In plain words
What is it for?
Use it when preparing commits, planning branches, opening or reviewing pull requests, resolving conflicts, or organizing a large change.
Why use it?
It keeps project history understandable and makes changes easier to review, revert, or investigate. Separating unrelated work also reduces confusion during collaboration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when preparing commits, planning branches, opening or reviewing pull requests, resolving conflicts, or organizing a large change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/05-deepak-patidar/claude-skills/change-hygiene
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 05-deepak-patidar/claude-skills --skill change-hygiene
Clone the repo
git clone --depth 1 https://github.com/05-deepak-patidar/claude-skills

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 change-hygiene

README.md
[![agentmods](https://agentmods.dev/badge/skills/05-deepak-patidar/claude-skills/change-hygiene/github.svg)](https://agentmods.dev/skills/05-deepak-patidar/claude-skills/change-hygiene)
Your own site
<a href="https://agentmods.dev/skills/05-deepak-patidar/claude-skills/change-hygiene"><img src="https://agentmods.dev/badge/skills/05-deepak-patidar/claude-skills/change-hygiene/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 change-hygiene

Your own site · 80×15
<a href="https://agentmods.dev/skills/05-deepak-patidar/claude-skills/change-hygiene"><img src="https://agentmods.dev/badge/skills/05-deepak-patidar/claude-skills/change-hygiene.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,131 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.00083 $0.01131
Opus 5 $0.00042 $0.00566
Sonnet 5 $0.00017 $0.00226
Haiku 4.5 $0.00008 $0.00113

Measured 12d ago against content hash aa81629d23bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

change-hygiene 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 12d 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.

change-hygiene/SKILL.md · 41 lines

How it starts

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

Change Hygiene

Version control is not a backup system; it's your project's memory and undo button. Every discipline here serves two moments: the reviewer trying to verify your change today, and the debugger (human or AI) trying to understand it at 2 a.m. next year. Sloppy history taxes both, forever — and in AI-assisted development, where code volume is 10×, history hygiene is what keeps the firehose reviewable.

Commits — the unit of undo

  • One logical change per commit, and the build passes at every commit. This is what makes git bisect a superpower and revert a one-liner instead of surgery. "WIP", "fixes", "more changes" commits get squashed before they reach the shared branch.
  • The message: subject line says what in imperative mood ("Reject payments exceeding invoice balance"), body says why and what alternative you rejected — the code already shows the what; only the message can carry the why (same rule as code comments, code-quality). A year later, git log on a file should read as the file's biography.
  • Never mix refactoring with behavior change in one commit — the single most valuable habit in this skill. A reviewer can verify "no behavior change" or "this one behavior changed", never both in one diff (legacy-code-changes, code-quality).
  • Commit generated files, lockfiles yes (dependency-discipline); build artifacts, secrets, .env no — and anything secret that ever touches history is burned: rotate it (threat-model-security), don't just delete the line.

Branches — short-lived or they rot

  • Branch per change, merged within days. A branch alive for weeks is a merge conflict with interest accruing — the cure is slicing the work smaller (requirements-to-spec Gate 3), not rebasing harder.
  • The default branch is sacred: always deployable, protected (no direct pushes, CI required), and never force-pushed. Force-push on your own unshared branch is fine and good (clean up before review); on anything shared it's rewriting someone else's memory.
  • Big features that can't merge in days: merge them anyway, dark — behind a feature flag, wired but off (deployment-safety). Long-lived feature branches are where integration bugs breed unseen.
  • Merge conflicts are resolved by understanding both intents, not by picking a side that compiles. After any nontrivial resolution, run the tests for both features' paths — the conflict marker is where two authors' assumptions collided.

Read the full file on GitHub · 41 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. 12d ago First seen · 41 lines · 83 tokens per session scan A aa81629d23bc

Subscribe to this mod's changes

change-hygiene is a skill published in the GitHub repository 05-deepak-patidar/claude-skills (4 stars, last pushed 2mo ago), licensed MIT. It adds 83 tokens to every session and 1,131 once invoked, about $0.0004 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-08-31.