git-commit

Enforce conventional commit message types, scope, and descriptions in Git workflows.

1|Updated Jan 2, 2020
One-click install
npx skills add https://github.com/otahontas/nix --skill git-commit-otahontas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/otahontas/nix/tree/main/home/configs/pi-coding-agent/skills/git-commit
Command: npx skills add https://github.com/otahontas/nix --skill git-commit-otahontas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams adopt a standardized git commit message format, improving changelog generation, code review clarity, and project history readability.

Core Features & Use Cases

  • Enforces conventional commit types (feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert) to standardize messages.
  • Guides scope and description to convey intent and impact.
  • Enables automation-friendly changelogs and easier review workflows across multiple contributors.

Quick Start

Use the git-commit skill to craft a conventional commit message for a new feature, e.g., feat(auth): add remember-me support.

Frequently Asked Questions about git-commit

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

FAQPage Schema
What are conventional git commit messages and why use them?

Conventional git commit messages standardize version-control history by enforcing specific types, scopes, and descriptions. This format improves changelog generation, code review clarity, and project readability across collaborative repositories.

How do I format a git commit message for a new feature?

To format a git commit message for a feature, use the conventional commit type 'feat' followed by an optional scope and description, such as 'feat(auth): add remember-me support' to convey clear intent and impact.

What conventional commit types should I use for fixes and documentation?

For fixes and documentation, use the 'fix' and 'docs' conventional commit types. Supported types also include feat, style, refactor, perf, test, build, ci, chore, and revert to standardize various workflow scenarios.

Does enforcing conventional commits work for collaborative repositories?

Yes, enforcing conventional commits works for collaborative repositories by guiding scope and description constraints. This ensures automation-friendly changelogs and easier review workflows across multiple contributors.

What is the best way to structure a git commit message for maintenance tasks?

The best way to structure a git commit message for maintenance tasks is using the 'chore' type with a clear scope and description, ensuring the commit adheres to conventional guidelines for project history readability.