theafh/ai-modules/git-refresh
Refresh a local git repo back to a clean current default branch: fetch/prune, detect the remote HEAD, fast-forward main/master by --ff-only, delete merged local branches, and offer gated cleanup for upstream-gone, squash-merged, stale, or force-delete branch pruning. Use when the user asks to clean up branches, refresh main, refresh master, delete merged branches, get back to a clean main, prune stale local branches, or tidy local branches after merged PRs. Invoke only on that explicit request i
Agent skill · version 0.0.0-main.1795944250.gb9bc15b · from theafh/ai-modules
Install
npx yarkr-cli add skill:theafh/ai-modules/git-refreshWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:theafh/ai-modules/git-refresh
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:theafh/ai-modules/git-refreshOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:theafh/ai-modules/git-refreshWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.