commit-message

Generate conventional commit messages from git diff --staged output.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/gitcoder27/trading-backtester-v1 --skill commit-message-gitcoder27
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: commit-message
Source: https://github.com/gitcoder27/trading-backtester-v1/tree/main/.agent/skills/commit-message
Command: npx skills add https://github.com/gitcoder27/trading-backtester-v1 --skill commit-message-gitcoder27

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate concise conventional commit messages from git diff --staged output.

Core Features & Use Cases

  • Automatic Message: Create a single-line Conventional Commits message from the current staged changes.
  • Scope Inference: Infer scope from modified files or user-provided context to improve traceability.
  • Use Case: Before committing, run this tool to ensure messages follow the project conventions and are easy to understand.

Quick Start

Use the commit-message skill to generate a Conventional Commit message from the current 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 from staged git diffs?▼

A conventional commit message summarizes staged git diffs into a single type(scope): description line by parsing the git diff --staged output and applying formatting rules. This ensures your staged changes are described concisely and follow project conventions.

What is the conventional commits format for summarizing code changes?▼

The conventional commits format summarizes code changes into a single-line message structured as type(scope): description. It categorizes features, fixes, docs, and chore updates to make commit history easier to understand and trace.

How do I infer the scope for a conventional commit from modified files?▼

You can infer the scope for a conventional commit from modified files by analyzing the paths and components changed in the staged diff. Alternatively, user-provided context can be supplied to improve traceability and accuracy.

Can I use automated commit message generation for large pull requests?▼

Yes, automated commit message generation works for large pull requests by parsing staged diffs across all modified files. It applies conventional commits formatting to summarize features, fixes, and chore updates into a single concise line.

Does commit-message work without external dependencies or components?▼

Yes, this commit message generation runs without external dependencies or components. It directly parses the git diff --staged output and applies conventional commits formatting rules to output the single-line message.