commit-rules

commit-rules is a skill for Claude Code, Codex from tobihagemann/turbo. It costs 22 tokens per session (213 once invoked), scanned A, original, MIT.

A shared set of rules for writing Git commit messages and staging changes. It defines the expected style, length, tense, and signing requirements.

In plain words
What is it for?
Guiding staged commits, matching recent commit style, writing concise imperative subjects, and handling signing failures correctly.
Why use it?
It keeps commits consistent with the project’s existing history and avoids unclear or unsupported commit practices.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool.

Good fit Guiding staged commits, matching recent commit style, writing concise imperative subjects, and handling signing failures correctly.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/tobihagemann/turbo/commit-rules/github.svg)](https://agentmods.dev/skills/tobihagemann/turbo/commit-rules)
Your own site
<a href="https://agentmods.dev/skills/tobihagemann/turbo/commit-rules"><img src="https://agentmods.dev/badge/skills/tobihagemann/turbo/commit-rules/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 commit-rules

Your own site · 80×15
<a href="https://agentmods.dev/skills/tobihagemann/turbo/commit-rules"><img src="https://agentmods.dev/badge/skills/tobihagemann/turbo/commit-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 213 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00022 $0.00213
Opus 5.5 $0.00009 $0.00085
Sonnet 5.5 $0.00004 $0.00043
Haiku 4.5 $0.00002 $0.00021

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

Security

Grade A, and why

commit-rules 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 21d 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.

claude/skills/commit-rules/SKILL.md · 21 lines

What it actually says

Commit Rules

Commit Message Rules

  • Match the style from git log -n 10 --oneline
  • Concise and descriptive
  • Imperative mood, present tense
  • Aim for ≤100 characters in the subject
  • No commit description—summarize everything in the message
  • Don't reference .turbo/ content (filenames, acceptance criteria, step numbers, headings) in commit messages. .turbo/ is gitignored, so these references would be opaque to anyone reading without local copies.

Technical Constraints

  • Use git commit -m "message" directly—do not use heredoc syntax (sandbox blocks temp file creation)
  • Never bypass commit signing (--no-gpg-sign, -c commit.gpgsign=false). If signing fails, use AskUserQuestion to let the user resolve it—they may need to approve a key prompt.
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. 21d ago Changed · -6 tokens per session 5c22ab8ecf2d
  2. 1mo ago First seen · 21 lines · 28 tokens per session scan A 45fa072bf2f3

Subscribe to this mod's changes

commit-rules is a skill published in the GitHub repository tobihagemann/turbo (414 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 213 once invoked, about $0.0001 per session on Opus 5.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-30.

Related

Other skills, from other repositories

ape-commit

Defines how to write and format git commit messages. Use this skill whenever the user asks you to write, draft, suggest, or format a git commit message, summarize changes into a commit, or help stage and describe code changes. Trigger even for casual requests like "write me a commit for this" or "what should my commit…

arpitbbhayani/ape-skills · 72 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. Trigger on "write release notes for v2.3", "update the changelog", "is this a major or minor version bump". Do not use for…

nimadorostkar/Claude-Skills-collection · 95 tokens

git-workflow

Use for branching, committing, history repair, and release hygiene. Covers atomic commits, rebase versus merge, bisect, reflog recovery, and undoing mistakes safely. Trigger on "undo my last commit", "i messed up a rebase", "squash these commits", "find which commit broke this". Do not use for pipeline and deploy…

nimadorostkar/Claude-Skills-collection · 85 tokens

git-commit-helper

Intelligent commit message generator that enforces Conventional Commits and links changes to Jira issues for traceability.

tkolleh/skills · 26 tokens

glab-gpg-key

A GitLab command for managing GPG keys used to sign commits, which helps verify who created them.

serejaris/kimi-skills · 66 tokens

agy-delegate

Delegate coding tasks to the Google Antigravity CLI (agy) only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.

lingxling/awesome-skills-cn · 35 tokens