Git Automation — Commit Messages, PRs & Changelogs

    by Pavithran

    1

    The base agent can draft them — badly: vague subjects, past tense, invented reasons, 'tests pass' with no test ever run.

    $8

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Git Automation — Commit Messages, PRs & Changelogs

    Example session with this skill installed

    I've staged changes in src/auth and added a new test. What should my commit message be?

    • Read your context and instructions
    • Compiled the git automation

    I have analyzed the staged diff for your changes. The diff shows 3 additions and 2 deletions in src/auth/service.py and a new test file in tests/auth_test.py.

    Commit Message Suggestion

    feat(auth): add exponential backoff to login retry logic
    
    What:
    - `src/auth/service.py` (+3/-2): implements sleep delay in retry loop
    - `tests/auth_test.py` (+15/-0): adds unit test for backoff timing
    
    Why: [FILL IN — Why is this backoff necessary now?]
    
    Refs: #104
    

    Next steps

    1. Replace the Why: placeholder with the specific reason for this change (e.g., to reduce load on the auth server during outages).
    2. Run python3 scripts/commit_message.py --validate message.txt to confirm the format.
    3. Execute git commit -m "$(cat message.txt)" once you are satisfied.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Every developer writes the same three texts over and over: the commit message, the PR description, the changelog entry. The base agent can draft them — badly: vague subjects, past tense, invented reasons, 'tests pass' with no test ever run. This skill does it properly, from your real git history: 1) Commit-message writer. Reads git diff --cached and writes a conventional-commit message — correct type and scope from the diff, imperative subject under 72 characters, a BREAKING CHANGE: footer when a public function is removed or a signature changes. It refuses to guess on empty or 20-file messy diffs, and it never invents the why: the reason is flagged for you to fill in, because a diff cannot know why a change exists. 2) PR description generator. Reads the branch log and diff stat and fills a complete PR template: summary, why, every commit listed, files grouped by area, breaking changes, and a testing checklist derived from what actually changed (docs-only PRs don't get test claims they can't keep). 3) Changelog tool. Turns a release's commits into a Keep-a-Changelog version section and merges it into your CHANGELOG.md — new version between Unreleased and the last release, released sections never rewritten, breaking entries first. What's inside: SKILL.md (step-by-step process, decision tables, good/bad examples, pass/fail criteria), four Python scripts (standard library only — no network, no credentials, no writes except the changelog file you name), three reference guides, and seven real before/after examples. Tested, honestly: 12 varied cases run against real git repositories — bugfix, feature, rename refactor, breaking change, docs-only, multi-file, empty diff, messy 21-file diff, 6-commit PR, single-commit PR, changelog from history, changelog update. 12/12 pass the skill's own criteria, and the full outputs are in TEST-REPORT.md. The limits are stated there too: test diffs were Python/Markdown, and the skill text itself hasn't been run inside every agent yet. Works in Claude, ChatGPT, Cursor, Codex and Gemini CLI — any agent that reads SKILL.md. Python 3.8+ only; no installs, no accounts.

    Requires local Python 3. Does not perform Git operations (commit/push) automatically. Cannot analyze unstaged work or empty diffs.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 8 days ago

    Software
    Git

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed8 days ago

    What's inside

    Frequently Asked Questions

    This skill automates the creation of high-quality Git artifacts—such as conventional commits and PR descriptions—by analyzing your actual staged diffs to ensure your project history is accurate and professional without the manual effort.

    The skill is compatible with any AI agent that can execute local Python scripts and has access to a Git CLI environment, making it versatile for most modern developer workstations.

    You will receive the core automation scripts, pre-configured agent instructions for diff analysis, and a guide on how to integrate the skill into your local Git workflow.

    The skill uses deterministic Python scripts to parse your actual Git stats and diffs, ensuring that the generated messages are grounded in code reality rather than the hallucinations common with generic prompts.

    While the skill analyzes code to detect breaking changes and generate summaries, it does not perform functional code reviews, resolve merge conflicts, or handle rebase operations.

    Setup is straightforward: once you import the skill into your agent, you simply need to ensure you have Python 3 and Git installed on your system to begin analyzing your staged changes.

    New in DevOps & Cloud

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.