writing-commit-messages

Generate git commit messages following Tenzir's format standards.

2|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/tenzir/claude-plugins --skill writing-commit-messages
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-commit-messages
Source: https://github.com/tenzir/claude-plugins/tree/main/plugins/git/skills/writing-commit-messages
Command: npx skills add https://github.com/tenzir/claude-plugins --skill writing-commit-messages

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent or unclear Git commit messages hinder code review, debugging, and overall project history comprehension. This Skill automates adherence to Tenzir's commit message standards, ensuring every commit is informative, easy to understand, and contributes to a clean, traceable project history.

Core Features & Use Cases

  • Standardized Format: Automatically apply the <subject> and <body> structure with character limits, imperative mood, and no ending punctuation.
  • User-Centric Messaging: Focus on the user's capabilities and needs, not just implementation details, for better context and understanding.
  • Best Practices: Get instant guidance on maintaining one logical change per commit, committing early and often, and referencing issues for traceability.
  • Use Case: You've made a change and need to commit it. Instead of manually crafting a message that might not meet team standards, you can use this Skill to generate a compliant subject line and body, ensuring your commit history is clean and useful for future reference.

Quick Start

Use the writing-commit-messages skill to draft a commit message for a bugfix that resolves issue #123.

Frequently Asked Questions about writing-commit-messages

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

FAQPage Schema
How do I write Git commit messages that follow best practices?

Git commit messages should use imperative mood with a subject under 50 characters, capitalized first letter, no trailing period, and a body wrapped at 72 characters that explains what and why rather than how. This ensures consistency and improves code review and project history readability.

What's the correct format for a Git commit message?

Use a subject line (under 50 characters, imperative mood, no period) followed by a blank line and body text (wrapped at 72 characters). Include one logical change per commit and optionally reference related issues for traceability.

How do I commit changes with a message that meets team standards?

Draft a subject line in imperative mood under 50 characters with a capitalized first letter and no period, then add a body explaining what changed and why. Reference issue numbers when applicable to link commits to tracked work.

Why should commit messages focus on what and why instead of how?

Commit messages that explain what changed and why provide context for future code review and debugging. The code itself shows how; messages that document intent and rationale make the project history more useful for understanding design decisions.

Can I reference issues in my Git commit messages?

Yes, include issue references in commit message bodies to link changes to tracked work. This improves traceability and helps teams connect code changes to requirements, bugs, or feature requests.

What happens if my commit message doesn't follow the standards?

Non-standard commit messages create inconsistency in project history, making debugging and code review harder. Adhering to format requirements—subject length, imperative mood, capitalization, and character wrapping—keeps the repository clean and queryable.