# Commit, PR and Changelog Forge — From the Real Diff

> Reads a unified diff and drafts a lint-checked conventional commit, a PR body with explicit gaps and a Keep-a-Changelog fragment — type and scope from changed paths, subject from the functions and endpoints actually added, BREAKING CHANGE from removed definitions, routes and flags.

Commit, PR and Changelog Forge — From the Real Diff is a free AI agent skill on Agensi by SHUN. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [SHUN](https://www.agensi.io/creators/66shun66)
- Version: 1.0
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/commit-pr-and-changelog-forge-from-the-real-diff
- Tags: code-quality-review, devops-cloud, technical-documentation

## About this skill

Commit messages are claims about a diff, and most are written without reading it.

This skill reads it. Type comes from the changed paths (tests only → test, docs only → docs, workflows → ci, manifests → build, new definitions or routes → feat, rename both sides → refactor, else fix). Scope comes from the source module. The subject is built from the function, class, endpoint and flag names the diff adds, so "update stuff" is not producible.

Includes a parser-level linter: type in the allowed set, subject ≤ 72 chars, no trailing period, no past tense, lowercase scope. Exit codes 0/1/2 map to PASS/WARN/BLOCK for a commit-msg hook.

Outputs: commit_message.txt (git commit -F), pr_body.md (What changed / Why / How it was checked / Risk / Rollback, with [[FILL]] where only the author can write), changelog_fragment.md (Added/Fixed/Changed/Removed), commit_report.md (subject, two alternatives, lint table), commit_draft.json. --type and --scope override the heuristics.

## Requires

- Python 3.9+
- Git

## Known limitations

Does not know why the change exists. Heuristic type detection can misread mixed diffs; override with --type/--scope. Does not split a diff, rewrite history, or summarise a commit range.

## 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, PR and Changelog Forge — From the Real Diff 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, PR and Changelog Forge — From the Real Diff do?

Reads a unified diff and drafts a lint-checked conventional commit, a PR body with explicit gaps and a Keep-a-Changelog fragment — type and scope from changed paths, subject from the functions and endpoints actually added, BREAKING CHANGE from removed definitions, routes and flags.

### Which AI agents support Commit, PR and Changelog Forge — From the Real Diff?

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, PR and Changelog Forge — From the Real Diff?

Connect your AI agent to Agensi through MCP, then ask it to use Commit, PR and Changelog Forge — From the Real Diff 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.
