git-commit-message

Generate and execute Conventional Commits messages from git diffs.

1|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/langliu/skills --skill git-commit-message-langliu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-commit-message
Source: https://github.com/langliu/skills/tree/main/skills/git-commit-message
Command: npx skills add https://github.com/langliu/skills --skill git-commit-message-langliu

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

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

Core Features & Use Cases

  • Automated Commit Message Generation: Analyzes git diff to suggest appropriate commit types, scopes, and descriptions.
  • Conventional Commits Compliance: Enforces a standardized format for better project management and automated changelog generation.
  • Workflow Integration: Helps in controlling commit boundaries and avoiding the inclusion of sensitive information.

Quick Start

Use the git-commit-message skill to generate and execute a Conventional Commits message based on the current changes.

Frequently Asked Questions about git-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?

Generate conventional commit messages by analyzing staged or unstaged git diffs to determine commit type, scope, and description. The skill inspects code changes and outputs semantically clear messages supporting feat, fix, docs, and other standard types.

What is the conventional commits format and how does it structure version control history?

The conventional commits format structures version control history using standardized types like feat, fix, and refactor. It enforces semantic clarity through explicit commit type, scope, and description fields, enabling automated changelog generation and better project management.

How do I handle breaking changes in automated git commit messages?

Handle breaking changes in automated git commit messages through explicit detection and formatting. The skill analyzes diffs and applies the conventional commits specification to flag breaking changes, ensuring they are clearly communicated in the final commit history.

Can I use this to automate git commits for code review preparation?

Yes, you can automate git commits for code review preparation. The skill analyzes current changes, controls commit boundaries, and executes standardized messages, preventing sensitive information inclusion while ensuring consistent history for review.

Does this skill execute the git commit directly or just generate the message text?

The skill generates and executes the git commit directly. It analyzes the current diffs, formulates the appropriate conventional commits message, and applies it to your version control workflow, automating the entire commit process end to end.