Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Commit Rules

A shared rule set defining commit message style and hard technical constraints for any skill that creates git commits.

Dev & CodingBeginner★ 405⑂ 32AI score 7/10Last updated: Sep 28, 2026

What it does

  • Tells Claude to inspect git log -n 10 --oneline and match the repository's existing commit style.
  • Enforces message conventions: imperative mood, present tense, subject ≤100 characters, no commit body — everything in one line.
  • Locks in technical constraints: use git commit -m "..." directly (no heredoc, since the sandbox blocks temp files), never bypass commit signing (--no-gpg-sign), and ask the user when signing fails.
  • Forbids leaking local-only .turbo/ details (filenames, step numbers, headings) into commit messages.

Who it's for

  • Developers who want consistent, high-quality commit messages enforced automatically.
  • Anyone using GPG-signed commits who wants to guarantee the agent never disables signing.
  • People building multiple custom skills that should share one commit policy.

Examples

  1. You say "commit this" — Claude checks the last 10 commits and writes a one-line message in the same tone.
  2. A commit fails because a signing key prompt needs approval — Claude asks you how to proceed instead of silently skipping the signature.
  3. A release or PR skill references this file so both reuse the identical commit rules.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/tobihagemann/turbo/HEAD/claude/skills/commit-rules/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the claude/skills/commit-rules folder from the GitHub repo tobihagemann/turbo into my ~/.claude/skills/commit-rules/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/tobihagemann/turbo.git && mkdir -p ~/.claude/skills && cp -r turbo/claude/skills/commit-rules ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Create the skills directory: mkdir -p ~/.claude/skills
  3. Clone the repo: git clone https://github.com/tobihagemann/turbo.git
  4. Copy the skill: cp -r turbo/claude/skills/commit-rules ~/.claude/skills/
  5. (Optional) Edit ~/.claude/skills/commit-rules/SKILL.md to adjust or remove the .turbo/ specific rule for your own project.
  6. Restart Claude Code and try "commit following the commit rules" to confirm it loads.