commit-hygiene

commit-hygiene is a skill for Claude Code from contactandrewchl-wq/turtle-mcp. It costs 53 tokens per session (456 once invoked), scanned A, original, MIT.

A set of rules for writing Git commits and pull requests (PRs), including a standard title format and one logical change per commit.

In plain words
What is it for?
It helps create commit messages, organize changes into separate commits, and write PR descriptions covering what changed, why, and how to test it.
Why use it?
It keeps project history readable and makes reviews easier. It also prevents skipped checks, unwanted agent attribution, and rewriting commits that are already published.

Skill for Claude Code

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

Part of the turtle plugin — 26 skills shipped together

Good fit It helps create commit messages, organize changes into separate commits, and write PR descriptions covering what changed, why, and how to test it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/contactandrewchl-wq/turtle-mcp/commit-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 contactandrewchl-wq/turtle-mcp --skill commit-hygiene
Clone the repo
git clone --depth 1 https://github.com/contactandrewchl-wq/turtle-mcp

Made for: Claude Code.

Or install turtle, the plugin that ships this one along with the rest of its 26 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/contactandrewchl-wq/turtle-mcp/commit-hygiene.svg)](https://agentmods.dev/skills/contactandrewchl-wq/turtle-mcp/commit-hygiene)
Your own site
<a href="https://agentmods.dev/skills/contactandrewchl-wq/turtle-mcp/commit-hygiene"><img src="https://agentmods.dev/badge/skills/contactandrewchl-wq/turtle-mcp/commit-hygiene.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 456 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.00053 $0.00456
Opus 5 $0.00026 $0.00228
Sonnet 5 $0.00011 $0.00091
Haiku 4.5 $0.00005 $0.00046

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

Security

Grade A, and why

commit-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 8d 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/commit-hygiene/SKILL.md · 51 lines

What it actually says

Commit hygiene

Mensaje

Formato conventional commits, en imperativo, en el idioma del proyecto:

<tipo>(<scope opcional>): <qué cambió, no por qué>

Tipos: feat, fix, refactor, docs, test, chore, perf, build, ci.

El por qué va en el cuerpo, no en el título. El título describe el cambio, no la tarea ni el PR.

Reglas

  • Un cambio lógico por commit. Si no se puede describir en una frase, son dos.
  • No mezclar refactor con cambio de comportamiento en el mismo commit.
  • Sin --no-verify salvo pedido explícito del usuario. Si el hook falla, arreglá la causa.
  • Sin co-autoría automática del agente. No agregar Co-Authored-By: Claude u otra atribución salvo pedido explícito.
  • Sin amend a commits publicados. Nuevo commit, no reescritura.

PR

  • Título = título del commit principal.
  • Cuerpo: qué, por qué, cómo probarlo (lista verificable).
  • Un PR ≈ un objetivo. Si el diff toca varias áreas no relacionadas, dividilo.

Niveles

  • lite — solo el formato del título.
  • full — formato + cuerpo + reglas duras (por defecto).
  • ultra — además, bloquear PRs sin "cómo probarlo" y sin tests cuando hay cambio de comportamiento.
  • off — desactivada.
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. 8d ago First seen · 51 lines · 53 tokens per session scan A df9bae5e9019

Subscribe to this mod's changes

commit-hygiene is a skill published in the GitHub repository contactandrewchl-wq/turtle-mcp (2 stars, last pushed 2mo ago), licensed MIT. It adds 53 tokens to every session and 456 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-08-31.