Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
roin-orca avatar

Git Commit Guidelines

  • Updated February 28, 2026
  • roin-orca/agent-skills

A skill with rules for writing clear, consistent git commit messages covering structure, subject, body, and scope. A developer uses it when writing commits, reviewing commit quality, or setting commit conventions.

Key points

  • Subject-line + body structure with imperative mood under 72 chars
  • One logical change per commit; explain what and why, not how

Git Commit Guidelines by the numbers

  • Data as of Jul 8, 2026 (Skillselion catalog sync)
npx skills add https://github.com/roin-orca/agent-skills --skill git-commit-guidelines

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Last updatedFebruary 28, 2026
Repositoryroin-orca/agent-skills

What it does

Provides git commit message best practices for structure, subject lines, body, and scope to keep commit history clear and consistent.

Files

SKILL.mdMarkdownGitHub ↗

Git Commit Guidelines

Best practices for writing clear, consistent git commit messages.

When to Apply

Reference these guidelines when:

  • Writing commit messages
  • Reviewing pull requests for commit quality
  • Setting up commit conventions for a new project

Rules

RuleSummary
structureUse subject line + blank line + body format
subject-lineKeep subject under 72 chars, imperative mood, no trailing period
bodyExplain what and why, not how
scopeOne logical change per commit

Quick Reference

Structure

Every commit message should have a short subject line. For non-trivial changes, follow with a blank line and a body that explains context.

Subject Line

  • Use imperative mood: "Add feature" not "Added feature"
  • Keep under 72 characters
  • Capitalize the first word
  • Do not end with a period

Body

  • Wrap at 72 characters
  • Explain what changed and why, not how
  • Reference issue numbers when applicable

Scope

  • Each commit should represent one logical change
  • Separate refactoring from behavior changes
  • Separate whitespace/formatting fixes from functional changes

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.