commit-message

Generates a conventional git commit message from staged and unstaged changes.

6|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/northguild/gmt --skill commit-message-northguild
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: commit-message
Source: https://github.com/northguild/gmt/tree/main/.agents/skills/commit-message
Command: npx skills add https://github.com/northguild/gmt --skill commit-message-northguild

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing clear, consistent commit messages is tedious and often skipped, leading to vague history like "fix stuff" or "updates". This Skill inspects your working tree changes and drafts a commit message that matches your repository's existing conventions, without ever modifying git state. ## Core Features & Use Cases - Diff-aware drafting: Reads git diff HEAD, git diff --cached, and git status --short to understand the nature of each change before writing anything. - Style matching: Studies git log --oneline -10 to replicate your repo's subject-line conventions, including type prefixes, scopes, casing, and length limits. - Safe, read-only operation: Never runs git commit, git add, git push, or any state-modifying command; it outputs a copyable message only. - Use Case: After finishing a bug fix across several files, ask for a commit message and receive a conventional-commit subject like fix(dox): stop clipping the globe plus an optional explanatory body, ready to paste into your terminal. ## Quick Start Ask the assistant to write a commit message for the changes currently in your working tree.

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 git commit message from my changes?▼

Ask the assistant to write a commit message and it will run git diff HEAD, git diff --cached, and git status --short to understand your changes. It then drafts a conventional-commit subject and optional body as a copyable code block.

How to write a conventional commit message with a scope?▼

Use the format type(scope): description, such as feat(domination): calendar boundaries and zone-aware buckets. The Skill checks git log --oneline -10 to match your repo's exact casing, verb tense, and prefix conventions before drafting.

Does this Skill run git commit or modify my repository?▼

No, it only runs read-only git commands like diff, status, and log. It never executes git commit, git add, git push, or any command that modifies git state; it outputs the message text for you to use yourself.

What happens if my changes span multiple unrelated concerns?▼

The Skill produces one message per output and flags when changes clearly belong in separate commits. It suggests splitting the commit rather than inventing a misleading combined subject.

Why does the generated commit message avoid double quotes?▼

The message is designed to be pasted into a shell command wrapped in double quotes, so any embedded double quote would break the command. Backticks are used instead for code and names.