# Commit Message: Write It From the Diff, Nothing Invented

> Generate honest, Conventional Commits messages strictly grounded in your git diffs.

Commit Message: Write It From the Diff, Nothing Invented is a free AI agent skill on Agensi by apitoolbox, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [apitoolbox](https://www.agensi.io/creators/apitoolbox)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0
- Last updated: 2026-12-03
- Security: scan passed (2026-11-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/commit-message-write-it-from-the-diff-nothing-invented
- Tags: code-review, git, conventional-commits, coding-agents, commit-messages, skillmd, diff

## About this skill

Paste a diff and get a commit message that only says what the diff actually does. This skill reads the hunks first, then writes a Conventional Commits message: the right type and scope, an imperative subject, and a BREAKING CHANGE footer when the diff renames or removes something consumers rely on. It never claims fixes, tests, or ticket numbers that are not in the material, and when your summary and the diff disagree, it follows the diff and tells you. If the diff mixes unrelated changes, it splits them into one message per concern instead of blending them into a single vague line. No external service required.

## Known limitations

Cannot run git commands or stage files. Requires a provided diff or description. Will not invent ticket numbers or motivations not present in the input.

## 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: Write It From the Diff, Nothing Invented 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

### Which AI agents or IDEs can I use this skill with?

This skill is built for any AI agent that can process text. Simply paste your git diff output into the chat, and the agent will analyze the hunks to generate your message.

### How does this prevent the AI from making up changes that aren't in my code?

Unlike generic prompts, this skill uses a strict evidence-mapping logic that prevents 'hallucinated' summaries. It only includes claims that are explicitly visible in the code hunks, ensuring your git history is 100% honest.

### Can it handle a large diff that contains both a feature and a bug fix?

Yes. If the skill detects multiple unrelated changes in a single diff, it will recommend an 'Atomic Split' and provide separate commit messages for each logical group of changes.

### Does this skill support breaking changes and specific Conventional Commit types?

The skill follows the Conventional Commits 1.0.0 specification. It automatically identifies the correct type (feat, fix, docs, etc.) and alerts you to breaking changes using the '!' indicator and footer requirements.

### What exactly is included in my purchase?

You receive the specialized skill configuration and the logic required to run it on your preferred agent. This includes the proprietary 'Honesty Rule' instructions and the atomic split recommendation framework.

---

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.
