commit-message

Generate Conventional Commits messages by analyzing git diffs.

7|1|Updated Nov 3, 2025
One-click install
npx skills add https://github.com/ar4mirez/samuel --skill commit-message-ar4mirez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-message
Source: https://github.com/ar4mirez/samuel/tree/main/template/.claude/skills/commit-message
Command: npx skills add https://github.com/ar4mirez/samuel --skill commit-message-ar4mirez

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the generation of descriptive and well-formatted commit messages, ensuring consistency and adherence to the Conventional Commits specification.

Core Features & Use Cases

  • Automated Commit Message Generation: Analyzes git diffs to suggest commit messages.
  • Conventional Commits Compliance: Formats messages according to type(scope): description structure.
  • Use Case: When you've finished a bug fix, you can ask the AI to generate a commit message like fix: resolve user login issue with an appropriate body and footer.

Quick Start

Ask the AI to generate a commit message for your staged changes.

Frequently Asked Questions about commit-message

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

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

To generate a conventional commit message from a git diff, the Skill analyzes your staged and unstaged changes to determine the type, scope, and description, formatting the output according to the Conventional Commits specification.

What is the conventional commits format for writing git commit messages?

The conventional commits format structures git commit messages using a `type(scope): description` pattern. This Skill automates that process by analyzing your code changes to produce correctly formatted messages.

How do I write a commit message for staged changes automatically?

You can write a commit message for staged changes automatically by asking the AI to review your git diff. The Skill examines the changes and generates a descriptive message with an appropriate body and footer.

Can I use this to create a commit message for a bug fix?

Yes, you can use this to create a commit message for a bug fix. The Skill analyzes the git diff and generates a standardized message, such as `fix: resolve user login issue`, complete with an appropriate body and footer.

Does this commit message generator work with unstaged changes?

Yes, this commit message generator works with unstaged changes. It requires the analysis of both staged and unstaged git changes to accurately determine the commit type, scope, and description.

What is the best way to ensure commit messages follow conventional commits?

The best way to ensure commit messages follow conventional commits is to automate generation by analyzing git diffs. This Skill formats messages according to the `type(scope): description` structure, ensuring consistency.