/install openclaw-skill-git-manager
git-manager
Summary
git-manager orchestrates advanced repository maintenance by combining bisecting, branch cleanup, stash handling, and log analysis into a cohesive guidance skill. It keeps teams safe by pairing every destructive recommendation with an explicit verification or rollback prompt before running commands that rewrite history.
Triggers
git managerbisect issuecleanup branchesstash helpanalyze git logsafe git ops
Workflow
- Assess repository health – start with
git status, reviewgit fetch --all, and record the current branch/tag. Prompt the user: "Are we on the branch that should move forward, or is a temporary diagnostic branch mounted?" - Bisect troubleshooting – when isolating regressions, run
git bisect startwith the known good/bad commits and iteratively test. After each reproduce attempt, ask for confirmation beforegit bisect good/bad. Offer the safety reminder: "Bisect rewrites HEAD; stash or commit open work first." - Branch cleanup – use
git branch --mergedversusgit branch --no-mergedto find stale branches. Recommendgit branch -d \x3Cbranch>for merged work andgit branch -Donly after re-confirming the target branch via a safety prompt to avoid deleting active work. - Stash management – suggest
git stash list/git stash showto catalogue hidden work. Encourage naming stashes withgit stash push -m "description"and verify the exact entries beforegit stash drop/pop, reminding the user to keep a copy (git stash branch \x3Cname>) if they need extra safety. - Log analysis – guide through
git log --oneline --graph --decorate,git reflog, andgit log @{u}to understand recent operations. Offer commands likegit show \x3Ccommit>for inspection and highlight the importance of reviewing commit messages before reverting or cherry-picking. - Safety prompts – before destructive commands (e.g.,
reset --hard,git clean -fd, branch deletion,rebase,push --force), run the two-step destructive confirmation protocol: (1) display the current branch name and HEAD commit hash or tag, verify the target commit, and remind the user to take a backup action (tag, temporary branch, stash, export patch, etc.); (2) require an explicit textualYESreply before running the command. Always pair the recommendation withgit status,git log -1, or agit tagsnapshot so the user can see exactly what would change, and prefergit push --force-with-leaseover--forceunless the situation explicitly warrants the risk.
Deliverables
- Provide step-by-step command sets for diagnostics (bisect, log review, stash recovery).
- Keep a safety checklist in every response: check HEAD, stash status, remote tracking state, and backup plan (tag or branch) before rewriting history.
- Offer follow-up summary: what was touched, what is stashed, and what commands to run next for cleanup.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-skill-git-manager - After installation, invoke the skill by name or use
/openclaw-skill-git-manager - Provide required inputs per the skill's parameter spec and get structured output
What is Git Manager?
Advanced Git operations support for bisecting regressions, cleaning up branches, managing stash workflows, and analyzing commit/history state. Use when users... It is an AI Agent Skill for Claude Code / OpenClaw, with 431 downloads so far.
How do I install Git Manager?
Run "/install openclaw-skill-git-manager" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Git Manager free?
Yes, Git Manager is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Git Manager support?
Git Manager is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Git Manager?
It is built and maintained by pp (@ppopen); the current version is v1.0.1.