commit-name

Generate imperative git commit messages from staged changes.

Updated Feb 23, 2026
One-click install
npx skills add https://github.com/schirrmacher/coding --skill commit-name
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-name
Source: https://github.com/schirrmacher/coding/tree/main/skills/commit-name
Command: npx skills add https://github.com/schirrmacher/coding --skill commit-name

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing clear, concise commit messages is tedious and error-prone; this Skill generates an imperative, easy-to-read subject that describes the change and a brief body with non-obvious details when needed.

Core Features & Use Cases

  • Generates a subject line from the staged diff that is short, lowercase, and imperative
  • Produces up to three bullet points in the body to explain non-obvious changes
  • Works across code, config, and docs updates in typical software projects

Quick Start

Run the tool after staging changes to generate a concise commit message.

Frequently Asked Questions about commit-name

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

FAQPage Schema
How do I automatically generate a git commit message from staged changes?

To automatically generate a git commit message from staged changes, use this tool after staging your files. It analyzes the staged diff to produce a concise, imperative subject line and optional body bullets for non-obvious details.

What is the correct format for an imperative commit message subject line?

An imperative commit message subject line should be lowercase, max 50 characters, and end without a period. This tool automatically formats the generated subject from your staged diff to fulfill these specific constraints.

Can I generate commit messages for both code and documentation updates?

Yes, you can generate commit messages for both code and documentation updates. The tool works across typical project changes, including code, config, and docs, to create appropriate subjects and body explanations.

How do I add bullet points to a commit message body for non-obvious changes?

To add bullet points to a commit message body for non-obvious changes, the tool optionally produces up to three bullets. Each generated bullet is constrained to 80 characters to explain non-obvious details from the staged diff.

What is the best way to write concise git commit messages from a diff?

The best way to write concise git commit messages from a diff is to automate the process. This tool reads the staged diff and generates a short, imperative subject with optional body bullets, avoiding tedious and error-prone manual writing.