More screenshots

    Works with the AI tools you already use

    CClaude CodeCCursorCCodex CLIGGitHub CopilotGGemini CLI+17 more

    Git Manager.

    by PisgaX

    1

    A high-integrity Git and GitHub state machine for safe, policy-compliant repository management.

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    I've finished the auth fix. Review the diff in auth.ts, stage only the relevant hunks, and commit it with a clear message. Do not push yet.

    Your agent does

    I have inspected the repository state. HEAD is at 8a2f3c1 on branch feat/auth-fix. Staged 2 hunks in src/auth.ts covering the token refresh logic. Verified invariants: 12 unrelated files remain unstaged. Commit created: 5b1d9e2 fix(auth): resolve token refresh race condition

    What you get

    Maintain branch protection by preventing direct commits to trunk.Atomically stage specific hunks while preserving unrelated work.Resolve complex merge conflicts with a verified recovery plan.Automate GitHub PR creation and status check verification.

    About this skill

    The problem

    LLMs often struggle with Git safety, accidentally nuking unstaged work, force-pushing over protected branches, or staging sensitive files via broad glob patterns. Manual Git management through an agent can be risky without a strict state machine to prevent destructive accidents.

    What it does

    • Enforces path-scoped staging and hunk reviews to prevent "git add ." accidents.
    • Maintains protected trunk invariants by blocking direct commits to main/master.
    • Validates repository identity and worktree state before every mutation.
    • Verifies remote state via GitHub CLI (gh) rather than relying on local exit codes.
    • Provides recovery plans for history-changing operations like interactive rebases and conflict resolution.

    Frameworks & tools

    Standard git and gh (GitHub CLI). Designed for use within CLI-integrated environments like Claude Code or Cursor.

    Why this beats prompting it yourself

    DIY prompting usually fails to account for Git's edge cases, like detached HEAD states or in-progress rebases. This skill treats Git as a formal state machine, requiring re-validation of HEAD and the index immediately before execution to ensure no "mid-air collisions" with your own manual work.

    Use cases

    • Safe feature branch management with automatic upstream synchronization.
    • Interactive rebase and conflict resolution with pre-planned recovery steps.
    • Compliant pull request creation and verification using GitHub CLI.
    • Atomic staging of specific hunks while preserving unrelated local changes.

    Known limitations

    Requires standard git and gh binaries installed. Explicitly refuses to run repository-provided scripts, hooks, or custom aliases to maintain security boundaries.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Frequently Asked Questions

    Popular in Workflow Automation