commit-messages

Validate commit messages against a standardized format before commits.

41|4|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/nette/claude-code --skill commit-messages-nette
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-messages
Source: https://github.com/nette/claude-code/tree/main/plugins/nette-dev/skills/commit-messages
Command: npx skills add https://github.com/nette/claude-code --skill commit-messages-nette

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces a standardized commit message format before changes are recorded in version control, helping teams maintain clear histories and readable logs.

Core Features & Use Cases

  • Pre-commit validation: Validate commit messages against a defined style (lowercase, proper tense, subject formatting) before a commit is finalized.
  • Templates and guidance: Provide consistent templates and examples for features, fixes, and docs to accelerate messaging decisions.
  • Hook integration: Seamlessly integrate with Git hooks to enforce rules locally and in CI workflows when configured.

Quick Start

Enable the pre-commit hook in your repository and attempt a test commit to see the assistant's suggested message.

Frequently Asked Questions about commit-messages

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

FAQPage Schema
How do I enforce a standardized git commit message format before changes are recorded?

Pre-commit validation checks commit messages against a defined style before changes are finalized, using Git hooks to block non-compliant commits and ensure consistent repository history.

What does a pre-commit hook check when validating commit message style?

A pre-commit hook validates commit message style by checking lowercase formatting, proper tense, and subject formatting, ensuring feature, fix, and docs commits follow consistent templates before changes are recorded in version control.

Can I use commit message templates for features, fixes, and docs in my local workflow?

Yes, you can use commit message templates for features, fixes, and docs in local workflows. The skill provides consistent templates and examples that guide messaging decisions and integrate seamlessly with Git hooks.

Does this pre-commit validation work with CI workflows or only locally?

This pre-commit validation works with both CI workflows and local environments. It seamlessly integrates with Git hooks to enforce commit message rules locally and can be configured to enforce rules within CI workflows.

Why should I use a Git hook to enforce commit message style instead of manual reviews?

Using a Git hook automates commit message style validation before changes are recorded, preventing inconsistent histories and unreadable logs without relying on manual reviews to ensure every feature, fix, and docs commit follows the standard.