<< All versions

Skill v1.0.0

currentAutomated scan100/100
dianyike/claude-code-insights/commit-style
──Details
PublishedNovember 5, 2026 at 09:58 PM
Content Hashsha256:82f1af8705852870...
Git SHAfcee8ad82607
──Files
Files (1 file, 2.3 KB)
SKILL.md2.3 KBactive
SKILL.md · 59 lines · 2.3 KB

name: commit-style description: > Project-specific commit message format (verb-led, sentence case, single line, no conventional-commits prefix). Use when drafting a commit message, staging changes for commit, amending, squashing, or when user asks to commit, or runs git commit. metadata: version: "1.0.0"


Commit Message Style

Format

<Verb> <what changed>

  • Sentence case: capitalize the first letter only
  • Verb-led: start with an imperative verb (see the verb table below)
  • Single line: no body or footer unless the user explicitly asks for one
  • No type prefix: do not use conventional-commits type: or type(scope): format
  • Concise: aim for under 72 characters

Why: This matches the project's existing git history. Consistent verb-led messages make git log --oneline scannable without extra ceremony.

Parallel items

Use commas to list related changes in one commit:

Consolidate rules: add examples, merge TDD/error sections, reduce overlap

A colon separates the high-level intent from the details when a commit touches multiple concerns.

Common verbs and when to use them

VerbUse when
AddIntroducing something new
FixCorrecting broken behavior
UpdateChanging existing content or config
RemoveDeleting code, files, or features
RefactorRestructuring without behavior change
ReworkSignificant redesign of an existing piece
StandardizeMaking things consistent
HardenStrengthening security or robustness
TrimRemoving unnecessary parts

Scope

This skill applies only when the user asks for a commit. Claude does not create commits unsolicited (see workflow.md). The format here applies to commit subjects — not PR titles, branch names, or tag annotations unless the user asks for consistency.

Gotchas

  • Do not append 🤖 Generated with Claude Code footers or Co-Authored-By: trailers unless the user explicitly requests them — the project's git log is clean and this repo's convention is trailer-free
  • When unsure of tone or verb choice, run git log --oneline -20 and mirror recent style rather than guessing
  • The verb table is a starting set, not exhaustive — pick a better-fitting imperative verb when the listed ones don't match the change
All versions