# Professional Commit

> Audit Git changes and generate atomic, professional Conventional Commits with a safe approval-based workflow.

Professional Commit is a free AI agent skill on Agensi by Ahmad Ikbal Djaya, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Ahmad Ikbal Djaya](https://www.agensi.io/creators/ahmad-ikbal-djaya)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0
- Last updated: 2026-11-19
- Security: scan passed (2026-11-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/professional-commit
- Tags: code-review, git, workflow-automation, productivity, development-tools

## About this skill

Stop dealing with messy Git history and vague commit messages. This skill enforces a professional, atomic workflow by auditing your changes and proposing structured commits before touching your index. It ensures every change has a clear intent and follows your repository specific conventions without risking accidental data loss.

### What it does
- **Audit changes** classifies staged, unstaged, and untracked files to detect intent.
- **Enforce conventions** detects and applies repository-specific styles or Conventional Commits.
- **Ensure atomicity** splits unrelated features, fixes, and refactors into independent commits.
- **Safety checks** scans for secrets, credentials, and conflict markers before staging.
- **Validate builds** runs targeted tests and linters relevant to the changed scope.

### How it works
1. The skill audits the working tree and identifies your repository's commit history and rules.
2. It proposes a commit plan including exact file paths, excluded files, and a drafted message.
3. You provide explicit approval for the proposed plan.
4. The skill stages the specific files and executes the commit using standard Git hooks.

### Frameworks & tools
Works with any Git repository. It detects configuration from tools like `commitlint`, `husky`, and standard project manifests like `package.json`, `pyproject.toml`, or `Cargo.toml`.

### Why this beats prompting it yourself
Generic prompts often stage the entire directory or hallucinate commit history. This skill follows a mandatory audit-plan-approve flow that prevents secret leakage and maintains atomic history by inspecting the actual diff hunks.

### Use cases
- Drafting professional Conventional Commits for open-source contributions.
- Splitting a large day of work into clean, reviewable atomic commits.
- Enforcing commit message standards across a team without manual policing.
- Auditing changes for accidental secrets or build artifacts before staging.

### Known limitations
Does not support `git push` or history rewriting operations like squash or amend. Requires a local Git environment and will not bypass failed pre-commit hooks.

## Requires

- Node.js
- 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 Professional Commit 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

### How does 'professional commit' improve my Git workflow compared to standard commits?

This skill automates the creation of 'Conventional Commits' by auditing your code diffs, grouping related changes into atomic units, and drafting professional messages that follow your project's specific style and rules.

### Will this skill automatically commit my code without my review?

No, the skill operates on a strict 'audit-plan-approve' workflow where it proposes a commit plan for your review; it will only stage and commit files once you have provided explicit approval.

### Does this skill support custom commit conventions or specific project configurations?

It is designed to work with any Git-based environment and can detect existing configurations from tools like commitlint, Husky, and standard package manifests (like package.json or pyproject.toml).

### How does the skill handle sensitive information like API keys or secrets?

The skill performs a safety audit before staging any files, specifically scanning your diffs for credentials, secrets, and merge conflict markers to prevent them from entering your version history.

### What is included in the purchase of the 'professional commit' skill?

The purchase includes the full skill definition, updates to support evolving Git workflows, and the logic required to detect intent across staged, unstaged, and untracked files.

### Can I use this skill to squash existing commits or push to remote repositories?

While it excels at creating new, atomic commits, the skill does not currently support history-altering commands like git push, squash, or amend to ensure the safety and integrity of your local repository.

---

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.
