# ✍️ Git Commit Writer

> Generate Conventional Commit messages from your staged git diff: auto-detects type and scope from the changed files, flags breaking changes, and keeps work-in-progress out of the message. Clean, searchable history that plays nicely with automated changelog tools.

✍️ Git Commit Writer is a free AI agent skill on Agensi by JustHandled Labs, in Technical Documentation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [JustHandled Labs](https://www.agensi.io/creators/justhandled)
- Category: [Technical Documentation](https://www.agensi.io/skills/technical-documentation)
- Rating: 5.0 out of 5 from 1 review
- Uses: 15
- Version: 1.1
- Last updated: 2026-06-06
- Security: scan passed (2026-06-05); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/git-commit-writer-1
- Tags: documentation, git, conventional-commits

## About this skill

### What it does

The Git Commit Writer automates the process of crafting high-quality, professional commit messages. It analyzes your staged changes using `git diff --cached` to generate messages following the Conventional Commits specification. It intelligently detects the correct change type, identifies the relevant scope based on your file paths, and flags breaking changes automatically.

### How it works

The skill follows a rigorous multi-step analytical process:

- Verifies staged files via `git status` to ensure it only commits what you've actually added.

- Summarizes impact using `--stat` and inspects logic changes within patch files.

- Applies Scope Detection Rules to map file paths (like `src/auth/`) to logical scopes (like `auth`).

- Evaluates breaking change indicators, such as signature changes or schema modifications.

### Why use this skill

Writing good commits is hard, especially when context-switching. While a basic AI might just summarize what you did, this developer-centric skill ensures your repo history remains clean, searchable, and compatible with automated changelog tools. It prevents common mistakes like including unstaged "work-in-progress" code in the message description or using non-standard types.

### Supported tools

Designed for any AI agent with shell access (CLI), it specifically targets environments like Claude Code, Cursor, and Windsurf where `git` is available in the integrated terminal.

## Known limitations

- Files must be staged via `git add` before running
- Works best with conventional commits format
- Scope detection uses file paths; custom scopes not supported
- Breaking change detection is heuristic-based (may miss some cases)

## 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 ✍️ Git Commit Writer 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 editors is the Git Commit Writer compatible with?

This skill is designed for any AI agent or terminal-based tool with shell access (such as Claude Code, Cursor, or Windsurf) that can execute git commands in a repository.

### Does it include unstaged or "work-in-progress" changes in the generated message?

No, the skill specifically analyzes only your staged changes (using git diff --cached), ensuring your commit message accurately reflects the specific code you intend to commit.

### Does this skill follow a specific style guide for its commit messages?

The skill strictly follows the Conventional Commits specification, automatically identifying the correct type (e.g., feat, fix, chore) and extracting the logical scope based on your project's directory structure.

### How does the skill handle breaking changes in my code?

Yes, the analyzer identifies signature changes, schema modifications, and major logic shifts to proactively flag and format breaking changes within the commit footer.

### Is there any complex configuration required to start using it?

Setup is straightforward; once imported into your agent's environment, it works immediately within any initialized Git repository without requiring additional per-project configuration.

### What exactly is included in the purchase of this skill?

When you purchase this skill, you receive the logic and execution instructions required for your AI agent to perform deep diff analysis and generate standardized messages.

---

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.
