/git-gud:ggfrom git-gud
Operates the gg CLI for stacked diffs, stacked PRs/MRs, including setup, editing, syncing, landing, and recovery workflows.
Ships in git-gud. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use the installed gg CLI as runtime truth. Inspect before acting, load one
workflow reference at a time, mutate only within the user's authority, then
verify the affected local and remote state.
| Action | Agent authority |
|---|---|
| Read repository and stack state | Run immediately |
| Make requested local stack edits | Allowed when implied by the task |
Push or create/update PRs or MRs with gg sync | Only when publishing or syncing is requested |
| Drop commits or bypass immutability | Surface affected targets and obtain explicit approval |
| Land | Obtain explicit confirmation immediately before execution |
Use --force, --ignore-immutable, or --admin | Never infer; require explicit approval |
Run git status --short, then the smallest relevant structured gg inspection.
Stop on unrelated dirty state or ambiguous ownership.
| User intent | Primary reference |
|---|---|
| Initialize, reconfigure, configure shell integration or completions, enter, navigate within, or inspect a stack | setup and inspection |
| Amend, absorb, split, reorder, unstack, drop, rebase, restack, reconcile, lint, or run per-commit commands | editing stacks |
| Publish, update, or monitor PRs or MRs | syncing and reviews |
| Land or clean stacks | landing and cleanup |
| Resolve conflicts, undo, or recover interrupted work | recovery |
| Integrate a native client or MCP surface | native clients |
Read one primary reference at a time. If the outcome spans phases, read the next reference only when entering that phase. Read recovery additionally only after an error or interrupted state.
gg <command> --help for installed flags.ImmutableTargets before requesting an override.Report completed actions, remote effects, current blockers, and any approval still required. Never describe pending CI, review, merge-train, or merge state as complete.
references/editing-stacks.md (opens in a new tab)references/landing-and-cleanup.md (opens in a new tab)references/native-clients.md (opens in a new tab)references/recovery.md (opens in a new tab)references/setup-and-inspection.md (opens in a new tab)references/syncing-and-reviews.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mrmans0n/git-gud --plugin git-gudOther plugins' skills for the same job