# Deterministic Git Commits & SemVer Pro

> Token-saving Git inspection, Conventional Commits, and automated Semantic Versioning for AI coding agents.

Deterministic Git Commits & SemVer Pro is a paid AI agent skill on Agensi by Julia, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1.99 (one-time purchase)
- Creator: [Julia](https://www.agensi.io/creators/spxzhu)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- 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/deterministic-git-commits-semver-pro
- Tags: code-review, automation, devops

## About this skill

### Overview
A deterministic, token-saving Git commit and Semantic Versioning (SemVer) skill tailored for modern AI coding assistants and agents (Claude Code, Cursor, Codex, Windsurf, Antigravity, OpenClaw, Roo Code).

### Why sgit-commit?
Standard prompting often wastes thousands of context tokens running repetitive `git status`, `git branch`, and `git diff` queries, or hallucinates inaccurate commit messages. `sgit-commit` couples structured agent playbooks with lightweight, deterministic Python standard-library scripts:

1. **Single-Shot Multi-Threaded Inspection (`inspect_repo.py`)**: Captures HEAD, branch, operations, status, and diff stats concurrently in one instant call.
2. **Conventional Commits 1.0.0 with Categorized Breakdown**: Standardized `<type>(<scope>): <summary>` with categorized bullet points (Features, Bug Fixes, Deprecations, Performance, Refactoring, etc.).
3. **Automated 3-Segment Semantic Versioning (`commit.py version`)**: Baselines against committed HEAD, increments patch segment (or specified bump), and bundles version sync atomically.
4. **Atomic Submit with Strict Boundaries (`commit.py submit`)**: Verifies no unapproved files exist in the index, stages selected files, and commits while preserving GPG signatures and Git hooks.
5. **Zero External Dependencies**: Pure Python 3.10+ standard library. No pip install required.

### Supported Platforms
- Claude Code (`~/.claude/skills/sgit-commit/`)
- Cursor / Windsurf / Codex (`~/.agents/skills/sgit-commit/`)
- Antigravity (`~/.gemini/config/skills/sgit-commit/`)

## Requires

- Python
- Git

## Known limitations

Requires Python 3.10+ and local Git CLI. No support for force-pushes or --no-verify. Release tagging and remote pushing require separate explicit user requests.

## 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 Deterministic Git Commits & SemVer Pro skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What core problems does the 'sgit commit' skill solve for developers?

This skill automates the generation of Conventional Commit messages, calculates SemVer patch increments, and performs atomic git operations, saving you from manual diff reading and formatting.

### What are the technical requirements to run this skill in my environment?

The skill requires Python 3.10 or higher and the Git CLI installed on your local machine to execute the specialized repository management scripts.

### How does this skill prevent errors like hallucinated version numbers or incorrect commit messages?

Unlike basic prompts, this skill uses local Python scripts to verify your actual Git state, preventing hallucinations and ensuring your commit messages accurately reflect the staged diff.

### Can I use 'sgit commit' to stage only specific files instead of the entire directory?

Yes, the skill is designed for atomic commits, allowing you to isolate and stage specific files relevant to your task while ignoring unrelated changes in your worktree.

### Does the skill automatically push code to my remote repository without my review?

For safety, the skill follows a 'human-in-the-loop' model, meaning it will always propose a plan for your review and requires explicit confirmation before performing any commit or version bump.

### Does 'sgit commit' support commit messages in languages other than English?

The skill detects your worktree context and can generate commit message bodies in either English or Chinese, making it versatile for global development teams.

---

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.
