ai-commit

Generate atomic conventional commit messages from staged git diffs.

3|Updated Jun 23, 2022
One-click install
npx skills add https://github.com/fbosch/dotfiles --skill ai-commit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-commit
Source: https://github.com/fbosch/dotfiles/tree/main/.agents/skills/ai-commit
Command: npx skills add https://github.com/fbosch/dotfiles --skill ai-commit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate concise, well-structured commit messages from staged git changes, aligned with Conventional Commits and Commitizen conventions.

Core Features & Use Cases

  • Derives type, scope, and description from the staged diff
  • Enforces a maximum 50-character subject line and outputs a single-line subject
  • Supports practical workflows for consistent, automated commit messaging

Quick Start

Analyze the current staged changes and output a single, conventional commit subject line.

Frequently Asked Questions about ai-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 diffs?

To generate conventional commit messages from staged git diffs, analyze the staged changes to derive the type, scope, and a concise subject. This automatically aligns your commits with conventional commits and Commitizen conventions.

What is the character limit for a conventional commit subject line?

The character limit for a conventional commit subject line is a maximum of 50 characters. The generation process enforces this limit and outputs only a single-line subject to ensure concise and consistent commit history.

Can I automate commit message creation for consistent software development workflows?

You can automate commit message creation by deriving atomic messages directly from staged git changes. This supports consistent, automated commit messaging across multiple software development projects without manual formatting.

Does the commit message generator output a full commit body or just the subject?

The commit message generator outputs just the subject line. It derives the type and scope from the staged diff but emits only a single, concise subject line, enforcing a maximum 50-character limit.