commit-message

Generate Conventional Commits messages from git diffs.

33|5|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/Sir-chawakorn/power-ranger-toolkit --skill commit-message-sir-chawakorn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-message
Source: https://github.com/Sir-chawakorn/power-ranger-toolkit/tree/main/src/skills/commit-message
Command: npx skills add https://github.com/Sir-chawakorn/power-ranger-toolkit --skill commit-message-sir-chawakorn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of meaningful, standardized commit messages that adhere to the Conventional Commits specification, ensuring consistency and improving the clarity of your project's history.

Core Features & Use Cases

  • Automated Commit Message Generation: Analyzes code changes to suggest appropriate commit types, scopes, and descriptions.
  • Conventional Commits Adherence: Ensures all commit messages follow a structured format for better readability and automated tooling integration.
  • Use Case: After making several code changes, you can invoke this Skill to generate a commit message like feat(auth): implement two-factor authentication or fix(api): resolve user data retrieval error, complete with an optional body explaining the changes and referencing issues.

Quick Start

Use the commit-message skill 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 conventional commit messages automatically from git diffs?

To generate conventional commit messages automatically, you can use a tool that analyzes your staged git diffs to determine the appropriate commit type, scope, and description. This Skill evaluates code changes to produce messages adhering to the Conventional Commits specification.

What is the conventional commits format for structuring git version control history?

The conventional commits format structures git version control history by using standardized types like feat, fix, docs, and refactor. This structured approach ensures consistent readability and enables automated changelog generation for better project maintainability.

How do I write a conventional commit message for a code refactor?

Writing a conventional commit message for a code refactor involves categorizing the change with the appropriate type, such as 'refactor'. This Skill analyzes your git diff to suggest the correct type, scope, and a clear description based on the specific code modifications.

Can I automate changelog generation using conventional commit messages?

Automating changelog generation is a direct benefit of using conventional commit messages. By ensuring all commit messages follow a structured format with specific types like feat and fix, automated tooling can reliably parse the history to generate and maintain project changelogs.

Do I need to manually stage code changes before generating a conventional commit message?

You need to stage your code changes in git before generating a conventional commit message. The Skill operates by analyzing the staged git diff to determine the commit type, scope, and description, requiring existing version control changes as input.

Why should I use conventional commits instead of unstructured git commit messages?

Using conventional commits instead of unstructured git commit messages improves project maintainability and history clarity. It enforces a consistent format across the team, making version control history easier to read and enabling automated tooling integration for changelogs.