code-suggest-commit

Analyze diffs and context to generate conventional commit messages.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/sirn/dotfiles --skill code-suggest-commit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-suggest-commit
Source: https://github.com/sirn/dotfiles/tree/main/var/agents/skills/code-suggest-commit
Command: npx skills add https://github.com/sirn/dotfiles --skill code-suggest-commit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyze code changes to generate commit messages that follow repository conventions, reducing guesswork and ensuring consistent history.

Core Features & Use Cases

  • Analyzes diffs and context to generate descriptive, conventional commit messages.
  • Suggests one or more commit messages aligned with project guidelines and existing patterns.
  • Provides guidance on when to split changes into multiple commits and how to structure them.

Quick Start

Tell the AI to propose commit messages for the latest changes in the repository.

Frequently Asked Questions about code-suggest-commit

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

FAQPage Schema
How do I generate conventional commit messages from git diffs?

To generate conventional commit messages from git diffs, analyze the changes and context to produce descriptive subjects aligned with repository conventions. This ensures consistent history and reduces guesswork when summarizing code reviews or feature updates.

What is the best way to write commit messages for multi-file changes?

Writing commit messages for multi-file changes works best by analyzing the diff to craft precise, descriptive messages. When changes span multiple concerns, it recommends splitting them into separate commits and suggests appropriate subject lines for each.

Can I use AI to suggest commit messages that match my project guidelines?

You can use AI to suggest commit messages that match project guidelines by analyzing existing patterns and diffs. It provides one or more conventional commit options aligned with repository conventions, ensuring messages follow project-specific formatting rules.

When should I split changes into multiple commits?

You should split changes into multiple commits when a single diff spans multiple concerns. Analyzing the code changes helps identify distinct logical units, allowing you to structure separate, precise commit messages for each feature update or modification.

Does this approach work for generating commit messages during code reviews?

Generating commit messages during code reviews works by analyzing the diff and context to craft conventional, clear messages. It applies to code review scenarios, feature updates, and multi-file changes, ensuring descriptive and precise summaries.