git-commit

Generate conventional git commit messages from staged changes and diffs.

15|2|Updated Aug 16, 2025
One-click install
npx skills add https://github.com/aspiers/ai-config --skill git-commit-aspiers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit
Source: https://github.com/aspiers/ai-config/tree/main/.claude/skills/git-commit
Command: npx skills add https://github.com/aspiers/ai-config --skill git-commit-aspiers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamline and standardize your git history by generating well-formed commits that follow conventional commits, ensuring clarity and consistency across the project timeline.

Core Features & Use Cases

  • Enforces conventional commit style and atomic commits
  • Analyzes git status and diffs to craft accurate, meaningful messages
  • Advises on splitting large changes into multiple focused commits
  • Produces descriptive subject lines, optional body text, and a Co-authored-by footer when collaborating

Quick Start

Describe the changes you want to commit and I will generate a conventional commit message.

Frequently Asked Questions about git-commit

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

FAQPage Schema
How do I generate conventional commit messages from staged git changes?

To generate conventional commit messages, the Skill analyzes your git status and git diff of staged changes to produce a descriptive subject, an optional body, and a Co-authored-by footer. It ensures clear, atomic commits without performing destructive staging actions.

What is the best way to write atomic git commits for complex changes?

Writing atomic git commits is facilitated by analyzing the staged diff and advising on splitting large changes into multiple focused commits. This ensures your version control history remains clean, consistent, and focused on individual logical changes.

Can I use conventional commits to standardize my project's git history?

Yes, you can use conventional commits to standardize your project's git history. The Skill enforces the conventional commit standard by crafting well-formed messages with descriptive subjects and optional bodies, streamlining clarity across the development timeline.

Does this approach to crafting commit messages require manual staging?

Crafting commit messages with this approach requires existing staged changes, as it analyzes git status and git diff. It strictly avoids staging or other destructive actions without explicit permission, meaning you must stage your files manually first.

How do I include co-authorship information in my git commit messages?

To include co-authorship information in git commit messages, the Skill automatically appends a Co-authored-by footer when collaborating. It analyzes your staged changes to generate the complete conventional commit message with the appropriate attribution.

When should I split large changes into multiple conventional commits?

You should split large changes into multiple conventional commits when the staged diff encompasses multiple logical changes. The Skill advises on this separation to maintain atomic commits, ensuring each message accurately describes a single, focused update.