git-commit-formatter

Format git commits into conventional commit types with signatures.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solves? Inconsistent and poorly formatted commit messages hinder code review, project history, and automated release notes. This skill ensures all your git commits adhere to conventional standards, making your project history clean, readable, and useful.

Core Features & Use Cases

  • Conventional Commit Format: Guides you in creating commits with standard types (feat, fix, docs, etc.) and clear summaries.
  • Detailed Explanations: Prompts for comprehensive body messages explaining the "why" behind changes.
  • Automated Signature: Includes a "Generated with Claude Code" signature for transparency.
  • Use Case: After staging your changes, simply ask this skill to "commit." It will guide you through creating a perfectly formatted commit message, including type, summary, and detailed explanation.

Quick Start

Commit the staged changes with a conventional commit message for a new feature.

Frequently Asked Questions about git-commit-formatter

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

FAQPage Schema
How do I format git commits to follow conventional commit standards?

Conventional commit formatting structures messages with a type (feat, fix, docs, etc.), summary line, and optional body. This skill analyzes your staged changes and git history to generate properly formatted commit messages that classify changes consistently, enforce a concise first line, and include a Claude Code signature for transparency and traceability.

What is a conventional commit and why should I use one?

A conventional commit is a standardized format for git commit messages that includes a type, scope, and description. Conventional commits improve code review clarity, generate readable project history, and enable automated release notes and version bumping—making collaboration and change tracking predictable across teams.

Can I automate commit message generation while keeping them consistent?

Yes. This skill automatically analyzes staged changes and diffs to draft conventional commit messages for feature, fix, documentation, style, refactor, test, chore, and performance changes. It enforces consistent structure, applies safety checks to prevent secrets, and stages changes via heredoc for a complete workflow.

Does this work with my existing git workflow?

This skill integrates into your existing workflow after you stage changes. It reads git status, diffs, and recent history to propose formatted messages. You review and confirm before committing, maintaining full control while eliminating manual formatting and ensuring all commits meet conventional standards.

What safeguards does automated commit formatting include?

The skill includes safety checks to detect and avoid committing secrets or sensitive data. It also enforces a first-line length guideline, validates commit type classification, and provides a transparent signature indicating Claude Code generation—giving you confidence in what's being committed.