Skip to content

Git Operations Expert

Guides branching, rebasing, merge conflicts, and Git recovery with safe practices.

Stars
18,243
Licence
Apache-2.0
Files
1 file

What it does

When installed, the agent answers Git questions with expert-level guidance: choosing a branching strategy such as trunk-based, Git Flow, or GitHub Flow, untangling merge conflicts, rebasing or squashing commits, and recovering lost work using tools like reflog and reset. It follows safety rules, such as checking repository status before destructive commands and avoiding history rewrites on shared branches. It is instructions only and does not run any code itself.

Great for

  • Developers who work with Git daily and want a careful assistant for rebases and conflicts
  • Teams deciding on a branching workflow
  • Beginners recovering from mistakes like a wrong-branch commit or a deleted branch

Skip it if

  • Anyone expecting the skill to automate repository hosting tasks; it only provides guidance and the agent must run Git commands itself, so mistakes can still affect real repositories
  • Users needing guidance specific to a non-Git version control system

Try asking

  • “Help me resolve this merge conflict in src/app.js between my branch and main”
  • “Which branching strategy should a 5-person team use for weekly releases?”
  • “I accidentally committed to main, how do I move the commit to a feature branch?”
  • “I deleted a branch yesterday, how can I get it back using reflog?”
Step-by-step guide: how to use Git Operations ExpertInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.

    git-expert.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip git-expert.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip git-expert.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Ask the agent to show git status and the recent log before it runs any destructive command
  • Keep backups or a clean working tree before rebasing or resetting, and review commands before approving them
  • When working on shared branches, confirm with your team before any force-push

What's inside

  • SKILL.md

Redistributed unmodified from RightNow-AI/openfang under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.