commits

Validate commit messages against conventional commit standards.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/nist0/CoDev --skill commits-nist0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commits
Source: https://github.com/nist0/CoDev/tree/main/.github/skills/commits
Command: npx skills add https://github.com/nist0/CoDev --skill commits-nist0

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures consistency in commit messages and history, facilitating readable changelogs and safe backports.

Core Features & Use Cases

  • Conventional Commit Formatting: Provides guidelines and formatting rules for commit messages.
  • Commit Type Classification: Offers a reference for conventional commit types and usage scenarios.
  • Merge Strategy: Details the different merge strategies and when to apply them.
  • Commit Verification: Includes a checklist to self-review commit quality.

Quick Start

Run the 'validate-commits' script to check the quality of your commit messages.

Frequently Asked Questions about commits

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

FAQPage Schema
How do I enforce conventional commit formatting in a Git repository?

Conventional commit formatting is enforced by validating commit messages against standard type categorization and structure rules. This ensures a standard format and consistency across all commits, facilitating readable changelogs and safe backports for engineering teams.

What are the conventional commit types and when should I use them?

Conventional commit types classify the nature of changes, such as features or fixes, to maintain a structured and readable code history. The Skill provides a reference for these commit types and their specific usage scenarios to ensure proper message categorization.

What is the best way to self-review Git commit messages before pushing?

The best way to self-review commit messages is by running a validation script against your local Git history. This verifies message structure, type categorization, and merge integrity using an included checklist to ensure commit quality and convention compliance.

How do I maintain a clean Git history when dealing with different merge strategies?

Maintaining a clean Git history with different merge strategies requires applying the correct merge approach for each scenario. The Skill details various merge strategies and provides guidelines on when to apply them to preserve merge integrity and history consistency.

Can I check code repository commit consistency without installing external dependencies?

Yes, you can check commit consistency without external dependencies because the Skill operates with zero dependencies. It uses built-in scripts and references to validate commit practices and enforce standard formatting directly within your code repository.