# Commit Message: Why, Not What

> Git commit messages that explain why a change was made — with the repo's own conventions, real trailers, and no invented motivation.

Commit Message: Why, Not What is a free AI agent skill on Agensi by Trindorai, in Productivity. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Trindorai](https://www.agensi.io/creators/trindorai)
- Category: [Productivity](https://www.agensi.io/skills/productivity)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/commit-message-why-not-what
- Tags: code-quality-review, productivity

## About this skill

The diff already shows *what* changed. `git log` and `git blame` are where someone looks months later to find out *why*. This skill makes your agent write commit messages for that reader.

**What it does**
- Reads the staged diff only, and suggests splitting it when it does more than one logical thing.
- Finds the real reason for the change. If the reason isn't in the diff, the conversation or a linked issue, it asks instead of inventing one.
- Writes an imperative summary line under ~70 characters, matching the repo's existing convention (Conventional Commits, ticket prefixes) only if the repo already uses one.
- Adds a body only when it says something the diff doesn't: motivation, trade-offs, rejected alternatives, what was left out, unexpected side effects.
- Adds proper trailers: `Fixes #`, `BREAKING CHANGE:`, `Co-authored-by:`.
- Includes weak-vs-better examples so the style is unambiguous.

Free. From the author of **AI Harness Setup**, a full Claude Code harness with planning, review and overnight-run workflows.

## Requires

- Git

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Commit Message: Why, Not What skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does Commit Message: Why, Not What do?

Git commit messages that explain why a change was made — with the repo's own conventions, real trailers, and no invented motivation.

### Which AI agents support Commit Message: Why, Not What?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Commit Message: Why, Not What?

Connect your AI agent to Agensi through MCP, then ask it to use Commit Message: Why, Not What on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
