Back to Skills

commit-message

Generates clear commit messages from git diffs. Use when writing commit messages or reviewing staged changes.

1,544stars170forksUpdated 1/23/2026

Security Assessment

Safe(100/100)
Security Score100/100

About commit-message

The 'commit-message' skill is designed to help developers generate clear and concise commit messages directly from git diffs. By leveraging this skill, users can easily create commit messages that adhere to best practices, which is especially useful during code reviews or when preparing to commit staged changes. It automates the process of summarizing code changes and ensures that each commit message is both informative and standardized, improving communication and clarity within development teams. This skill helps reduce the cognitive load of writing commit messages by providing helpful suggestions based on the diffs between staged files.

FAQ

How do I use the 'commit-message' skill?

To use the 'commit-message' skill, run 'git diff --staged' to view the changes you've made. The skill will suggest a commit message, including a concise summary under 50 characters, a detailed description, and the affected components.

What are the best practices for commit messages suggested by the skill?

The skill follows two key best practices for commit messages: use the present tense, and explain what was changed and why it was changed, rather than how it was done.

Are there any specific requirements for using this skill?

The 'commit-message' skill works with git diffs, so it's required to have staged changes in your git repository. It is compatible with any git-based version control system.

What does the suggested commit message include?

The suggested commit message will include a short summary (under 50 characters), a detailed description of the changes, and a list of the affected components.

Install commit-message

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill