Works with the AI Agents you already use

    Git Repo Tidier

    by megaartaiking-cmd

    1

    Write clean commit messages, generate changelogs, check repo health, and list branches with git. Use when the user or agent wants to tidy up a git repository or describe its changes.

    Free

    Security scanned
    Git Repo Tidier

    Git Repo Tidier

    Example session with this skill installed

    What should I write as a commit message?

    • Read your context and instructions
    • Compiled the git repo tidier

    First, a quick health check of your repo, before suggesting anything:

    • Branch: main
    • Last commit: a1b2c3d 2026-11-19 Add login page
    • Changed files: 2
    • Untracked files: 0

    Suggested commit message for your staged changes:

    update docs: README.md

    This is a draft — please edit it to say why, not just what. For example, if you updated the README because the login page changed, a better message would be 'update docs: describe new login page'.

    Nothing was committed or pushed. I only suggest messages; I never commit, push, or delete a branch unless you explicitly ask.

    Other things I can do in this repo

    • Generate a changelog from history, for example '## 2026-11-19 - Add login page'.
    • List branches and which ones are merged, so you can see which branches could be deleted. I only suggest deleting a branch that is marked merged, and only if you ask.
    README.md

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

    About this skill

    Managing a git repository often leads to messy commit histories and stale branches. This skill provides a set of read-only tools to audit repo health, generate changelogs, and draft commit messages based on actual diffs.

    What it does

    • Analyze repo health by reporting current branch status, last commit, and pending changes.
    • Draft commit messages using staged files to ensure messages match the actual code changes.
    • Generate changelogs from git history within a specific date range.
    • Audit branch status by identifying which local branches have been merged and are safe for cleanup.

    How it works

    1. Verify git is installed and the current directory is a valid repository.
    2. Run a health check to see uncommitted or untracked files.
    3. Suggest a commit message based strictly on files currently in the staging area.
    4. Extract commit history to build a formatted changelog for documentation.

    Frameworks & tools

    This skill interfaces with standard Git CLI via a Python wrapper gittool.py. It operates entirely locally without pushing data to any cloud service.

    Why this beats prompting it yourself

    Generic LLM prompts often hallucinate commit history or suggest messages for the wrong files. This skill uses direct output from git log and git diff to ensure every suggestion is grounded in your actual code state.

    Use cases

    • Drafting descriptive commit messages that follow a consistent style.
    • Generating a "What's New" list for stakeholders or release notes.
    • Identifying merged branches that are cluttering your local environment.
    • Checking for untracked files before a major release or deployment.

    Known limitations

    Does not perform write operations like commit, push, or delete. Requires Python and Git to be available in the local environment.

    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

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 8 days ago

    • Free with an Agensi account

    Software
    GitPython 3.10+

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed8 days ago

    What's inside

    Frequently Asked Questions

    This skill acts as a read-only auditor that analyzes your local git diffs and logs to generate accurate commit messages and changelogs, preventing the hallucinations and inaccuracies common with manual prompting.

    The skill requires a local installation of Git and Python. It works by interfacing with the Git CLI through a included Python wrapper to pull real-time data from your repository.

    No, this skill is designed for safety and operates in a read-only capacity. It can analyze and suggest changes, but it will never execute commands like `git commit`, `push`, or `branch -d` automatically.

    You will receive the `gittool.py` wrapper, the integration logic for your AI agent, and a comprehensive guide on how to connect the skill to your local development environment.

    The skill is built to be framework-agnostic and can be integrated into most AI agent platforms that support local tool calling or Python-based extensions.

    Absolutely. Since the skill uses your local git history to generate changelogs, you can specify date ranges to create documentation for specific sprints, releases, or project milestones.

    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.

    Free