commit-description

Generate commit titles and bodies from git diffs and repository style.

Updated Aug 14, 2012
One-click install
npx skills add https://github.com/dakotahp/dotfiles --skill commit-description
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-description
Source: https://github.com/dakotahp/dotfiles/tree/main/dot_config/claude/skills/commit-description
Command: npx skills add https://github.com/dakotahp/dotfiles --skill commit-description

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates a concise commit title and descriptive body by analyzing the changes in the working tree and the repository's existing commit style.

Core Features & Use Cases

  • Automated commit-message generation: produce a short title and detailed body from diffs and commit history.
  • Context-aware guidance: incorporate optional context like ticket numbers or intent to tailor the message.
  • Style alignment: matches the project's conventional commits or existing messaging conventions.

Quick Start

Ask the AI to generate a commit title and body from the current git diff, following the repository's conventions.

Frequently Asked Questions about commit-description

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

FAQPage Schema
How do I generate a commit message from a git diff automatically?

Yes, you can tailor the generated commit message by providing optional context like ticket numbers or specific development intent, which the Skill incorporates alongside the analyzed git diff and existing contribution guidelines.

Does this automated commit message generator work with conventional commits?

Yes, the automated commit message generator works with conventional commits by reading existing contribution guidelines and the repository's commit log to match your project's specific messaging conventions and coding style.

What is the best way to write descriptive git commit titles from code changes?

The best way to write descriptive git commit titles from code changes is to analyze the working tree diff and repository log, allowing the Skill to format a short title and detailed body aligned with your project's history.

Can I include ticket numbers when generating git commit messages from diffs?

Yes, you can include ticket numbers when generating git commit messages from diffs by providing optional context, which the Skill uses to tailor the final commit title and descriptive body to your workflow.

How does matching existing commit style work when generating messages from diffs?

Matching existing commit style works by analyzing the repository's git log and contribution guidelines, ensuring the generated commit title and body align with the formatting and conventions already present in the project.