commit

Generate Conventional Commits messages with enforced subject structure.

2.8k|212|Updated Nov 2, 2025
One-click install
npx skills add https://github.com/mitsuhiko/agent-stuff --skill commit-mitsuhiko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/mitsuhiko/agent-stuff/tree/main/skills/commit
Command: npx skills add https://github.com/mitsuhiko/agent-stuff --skill commit-mitsuhiko

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams maintain a clean, navigable git history by generating standardized commit messages in the Conventional Commits style.

Core Features & Use Cases

  • Standardization: Enforces subject format <type>(<scope>): <summary> for all commits.
  • Guidance: Suggests scope and type based on changes and project conventions.
  • Body support: Allows an optional body to describe rationale and impact.

Quick Start

Stage your changes and run the commit tool to produce a Conventional Commits-style subject for the current changes.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I generate conventional commit messages for staged git changes?

To generate conventional commit messages, stage your changes and run the commit tool to produce a standardized subject formatted as <type>(<scope>): <summary> based on the current code changes.

What is the correct format for a conventional commit subject line?

A conventional commit subject line follows the structure <type>(<scope>): <summary>. The tool suggests the appropriate scope and type based on your specific changes and project conventions.

Can I include a body in my conventional commit message?

Yes, you can include an optional body in your conventional commit message to describe the rationale and impact of the code changes alongside the generated subject line.

Do I need to manually sign off commits when using this automated commit message generator?

No, you should avoid signing off commits. The tool guides users to review staged changes and generates the commit message without adding a sign-off.

What's the best way to maintain a clean git history for incremental changes?

The best way to maintain a clean git history is to apply this tool during development workflows to create standardized conventional commits for small incremental changes, features, fixes, and docs.