commit-message

Analyze Git changes and generate Conventional Commits messages.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/brennancheung/CourseAI --skill commit-message-brennancheung
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit-message
Source: https://github.com/brennancheung/CourseAI/tree/main/codex/skills/commit-message
Command: npx skills add https://github.com/brennancheung/CourseAI --skill commit-message-brennancheung

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of clear, structured, and informative Git commit messages, ensuring consistency and quality in your project's version history.

Core Features & Use Cases

  • Automated Analysis: Analyzes current Git changes (git status, git diff) and recent commit history for context.
  • Structured Message Generation: Crafts messages following the Conventional Commits specification (type, scope, subject, body).
  • Use Case: After making several code changes, you can ask this Skill to generate a commit message that accurately reflects the modifications and their purpose, saving you time and improving readability for collaborators.

Quick Start

Use the commit-message skill to analyze my current git changes and suggest a commit message.

Frequently Asked Questions about commit-message

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

FAQPage Schema
How do I generate a conventional commit message from staged Git changes?

To generate a conventional commit message, the skill analyzes your staged Git changes and recent commit history, then crafts a structured message with type, scope, subject, and body. It reviews git status and git diff to ensure factual and readable output.

What is the Conventional Commits specification for structuring Git messages?

The Conventional Commits specification structures Git messages using a defined format of type, scope, subject, and body. This skill applies that specification by analyzing your code modifications and generating imperative subjects that clearly describe the modifications.

Can I automatically analyze git diff to write an imperative commit subject?

Yes, you can automatically analyze git diff to write an imperative commit subject. The skill reviews staged and unstaged diffs alongside recent logs to generate factual, readable messages adhering to version control best practices.

Does this commit message generator work with my existing version control workflow?

This commit message generator integrates with your existing version control workflow by running standard git commands like status, diff, and log. It requires no external dependencies to analyze changes and suggest structured messages.

What is the best way to write informative Git commit bodies for code review?

The best way to write informative Git commit bodies for code review is to automate analysis of your current changes. The skill evaluates diffs and recent logs to produce structured, factual messages that improve readability for collaborators.

Why do my Git commit messages lack context from recent repository history?

Git commit messages often lack context when recent repository history is ignored. This skill reviews your last three commits using git log to understand conventions and generate a structured message that fits your project's version history.