suggest-commit-message

Generate semantic Git commit messages from `git diff HEAD` in English or Japanese.

10|1|Updated Jun 10, 2018
One-click install
npx skills add https://github.com/masutaka/dotfiles-public --skill suggest-commit-message
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: suggest-commit-message
Source: https://github.com/masutaka/dotfiles-public/tree/main/.claude/skills/suggest-commit-message
Command: npx skills add https://github.com/masutaka/dotfiles-public --skill suggest-commit-message

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps developers write clear, concise, and standardized Git commit messages by analyzing code changes.

Core Features & Use Cases

  • Automated Message Generation: Suggests commit messages based on git diff HEAD.
  • Language Support: Supports both English and Japanese commit messages.
  • Semantic Commit Format: Adheres to Semantic Commit Messages standards with appropriate prefixes (feat, fix, chore, etc.).
  • Use Case: After making several code changes, you can use this Skill to get a well-formatted commit message that accurately describes your changes, ensuring consistency in your project's commit history.

Quick Start

Use the suggest-commit-message skill to generate a commit message in English for your current changes.

Frequently Asked Questions about suggest-commit-message

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

FAQPage Schema
How do I generate a git commit message from staged and unstaged code changes?

To generate a git commit message, this Skill analyzes `git diff HEAD` to understand your staged and unstaged code changes, then produces a summary line and optional body detailing the modifications.

What is a semantic commit message and what prefixes does this format support?

A semantic commit message uses standardized prefixes like `feat`, `fix`, `chore`, `docs`, `style`, `refactor`, and `test` to categorize changes. This Skill analyzes your git diff and applies the appropriate prefix automatically.

Can I generate commit messages in Japanese or English from a git diff?

Yes, you can generate commit messages in both English and Japanese. The Skill analyzes your `git diff HEAD` and outputs a semantic commit message with a summary line and optional body in your chosen language.

How do I ensure my project's commit history follows semantic commit standards automatically?

To ensure your commit history follows semantic commit standards, this Skill analyzes `git diff HEAD` and generates messages with appropriate prefixes like `feat` or `fix`, maintaining consistency across your project history.

Does this commit message generator work without external dependencies or API keys?

Yes, the commit message generator works without external dependencies. The metadata lists no dependencies, allowing it to directly analyze your `git diff HEAD` and output semantic commit messages immediately.