commit-message

Generate formatted conventional commit messages from staged git changes.

8|1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/Olatisunkanmi/claudefiles --skill commit-message-olatisunkanmi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-message
Source: https://github.com/Olatisunkanmi/claudefiles/tree/main/skills/commit-message
Command: npx skills add https://github.com/Olatisunkanmi/claudefiles --skill commit-message-olatisunkanmi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the creation of conventional commit messages for changes that have been staged, eliminating guesswork and ensuring consistency across commits.

Core Features & Use Cases

  • Generate a conventional commit string with type, scope, and subject based on the staged diffs.
  • Enforce subject length of 50 characters or less and provide an optional detailed body wrapped at 72 characters.
  • Provide example commits and guidance on choosing type (e.g., fix, feat, docs) and scope.

Quick Start

Use the commit-message skill to generate a conventional commit message for the currently 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 staged git changes?

To generate a conventional commit message, the skill parses your git staging area diffs and creates a formatted string with type, scope, and subject. It automatically structures the output to match standard conventional commit guidelines.

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

The conventional commit subject limit is strictly set to 50 characters or less. If you include an optional detailed body, the text is automatically wrapped at 72 characters to maintain readability in git logs.

How do I choose the correct type and scope for a conventional commit?

Choosing the correct type and scope involves selecting categories like feat, fix, or docs based on the staged changes. The skill parses the diff to provide guidance and examples for accurately determining the appropriate type and scope.

Can I automate conventional commit message creation in my git workflow?

Yes, you can automate conventional commit message creation by integrating this skill into your software development workflow. It eliminates manual guesswork by parsing staged diffs and enforcing consistent commit hygiene across your project.

Does this conventional commit generator work without any external dependencies?

Yes, this conventional commit generator works without external dependencies. It operates directly within your environment to parse the currently staged changes and output the formatted commit string.

Why should I use conventional commits for my code reviews and changelogs?

Using conventional commits improves changelog clarity and streamlines code reviews. The skill ensures your commit history follows a standardized format with proper types and scopes, making automated changelog generation and tracking easier.