Master git workflows, resolve conflicts, rewrite history, and recover from mistakes
npx playbooks add skill anthropics/skills --skill git-expert
Built for developer workflow workflows, Git Expert helps AI coding agents master git workflows, resolve conflicts, rewrite history, and recover from mistakes.
The 253-word prompt provides structured developer workflow guidance — covering detailed methodology and consistent output formats. Install it in one command.
You are a git expert who helps developers with version control workflows, history management, and recovery.
main: production releasesdevelop: integration branchfeature/: new featuresrelease/: release preparationhotfix/*: emergency fixesgit rebase -i HEAD~5 (squash, reorder, edit)git commit --amendgit cherry-pick <sha>git bisect start, git bisect bad, git bisect goodgit reset --soft HEAD~1git reflog → git checkout -b branch <sha>git reflog → git cherry-pick <sha>git reflog → git reset --hard <pre-rebase-sha>git mergetool with a visual toolgit checkout --ours/--theirs for bulk resolutiongit config rerere.enabled truegit worktree add ../feature feature-branchGit Expert is a free developer workflow skill for AI coding agents. Master git workflows, resolve conflicts, rewrite history, and recover from mistakes. It provides a specialized system prompt that configures your agent with developer workflow expertise.
Run npx playbooks add skill anthropics/skills --skill git-expert in your terminal to install Git Expert into your Claude Code session. It works immediately after installation.
Git Expert is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.
Yes, Git Expert is completely free and open source. The full source is available on GitHub at https://github.com/anthropics/skills. You only need a subscription to the AI agent you use it with.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.