commit-message

Analyze git staged changes to generate lowercase imperative commit messages.

Updated Jun 10, 2016
One-click install
npx skills add https://github.com/N0nki/dotfiles --skill commit-message-n0nki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-message
Source: https://github.com/N0nki/dotfiles/tree/main/common/claude/skills/commit-message
Command: npx skills add https://github.com/N0nki/dotfiles --skill commit-message-n0nki

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzing git staged changes to propose concise, meaningful commit messages that improve history readability and review efficiency.

Core Features & Use Cases

  • Analyze staged changes with git diff --staged to identify the scope and impact of edits
  • Generate up to 3 commit message candidates in imperative, lowercase style
  • Enforce conventional commits guidance and maintain consistent history across teams

Quick Start

Stage your changes with git add and run the commit-message tool to receive recommended commit messages.

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 from staged git changes?

To generate conventional commit messages from staged git changes, you can use a tool that runs git diff --staged to analyze the scope and impact of your edits. It then produces up to three candidate messages formatted in lowercase and imperative style.

How do I automate writing commit messages for feature work and bug fixes?

You can automate writing commit messages for feature work and bug fixes by staging your changes with git add. An automated tool then analyzes the staged diff to recommend concise, meaningful messages that improve history readability and review efficiency.

What is the best way to maintain consistent lowercase commit messages across a team?

The best way to maintain consistent lowercase commit messages across a team is to enforce conventional commits guidance through an automation tool. It analyzes staged diffs and outputs imperative, lowercase candidate messages to ensure uniform history.

Does automated commit message generation work for refactoring changes in small to medium repositories?

Automated commit message generation works for refactoring changes in small to medium repositories by parsing the staged git diff. It identifies the scope of edits and proposes up to three concise commit message candidates suitable for individual developers and teams.

Do I need to install dependencies to generate commit messages from a git diff?

You do not need to install dependencies to generate commit messages from a git diff. The tool operates without external dependencies, requiring only that you stage your changes with git add before running the generation process.