git-commit

Enforce standardized commit message rules for subject length and imperative mood.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/pukpuklouis/website-blackliving-ecomm --skill git-commit-pukpuklouis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/pukpuklouis/website-blackliving-ecomm/tree/main/.agent/skills/git-commit
Command: npx skills add https://github.com/pukpuklouis/website-blackliving-ecomm --skill git-commit-pukpuklouis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams write clear, consistent commit messages that communicate intent, rationale, and impact, reducing confusion during reviews and future maintenance.

Core Features & Use Cases

  • 7 rules that govern subject formatting, body structure, and tone.
  • Imperative mood enforcement to ensure actionable commits (e.g., "Add", not "Added").
  • Subject length controls (≤ 50 characters) and optional body guidance explaining what/why.
  • Templates & examples to accelerate adoption across the codebase.
  • Use Case: When multiple developers contribute, everyone writes uniform messages, making history easier to read and audit.

Quick Start

Create your first standardized commit using: git commit -m 'Add feature' -m 'Explain why this change is needed.'

Frequently Asked Questions about git-commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce standardized git commit messages across my project?

To enforce standardized git commit messages, this Skill applies 7 rules governing subject formatting, body structure, and imperative tone across any code change workflow. It guides teams to craft concise messages, reducing confusion during reviews.

Why should git commit messages use the imperative mood?

Git commit messages use the imperative mood to ensure actionable, standardized commits. This Skill enforces this tone, requiring phrases like "Add" instead of "Added" so the history reads as clear instructions.

What is the maximum character length for a git commit subject line?

The maximum character length for a git commit subject line is 50 characters. This Skill enforces this subject length control along with capitalization rules and no trailing periods to maintain concise, uniform project history.

Can I use this commit message standard for both feature and bugfix workflows?

Yes, you can use this commit message standard for both feature and bugfix workflows. It applies to any code change workflow, including refactoring, ensuring uniform message formatting across multiple developer contributions.

What is the best way to format git commit bodies to explain code changes?

The best way to format git commit bodies is to provide optional guidance explaining what and why the change was needed. This Skill enforces body structure rules to help teams communicate intent and rationale clearly.

How do I write my first standardized git commit message?

To write your first standardized git commit message, use the template: git commit -m 'Add feature' -m 'Explain why this change is needed.' This format separates the concise subject from the explanatory body.