git-maintain

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

When to Use This Skill

Use this skill when... Use the alternative when...
Running git gc, repacking objects, or shrinking the .git directory Use git-coworker-check first if other agents may be writing to the same checkout
Pruning merged local branches and old stashes Use git-cli-agentic for read-only branch/stash queries without mutating state
Verifying repo integrity with git fsck Use git-security-checks for secret scanning rather than object integrity
Cleaning up a checkout before a long-lived feature branch goes stale Use git-rebase-patterns to clean up commit history rather than the object store

Context

  • Current branch: !git branch --show-current
  • Git status: !git status --porcelain=v2 --branch
  • Local branches: !git branch -vv --format='%(refname:short) %(upstream:short) %(upstream:track)'
  • Stash list: !git stash list
  • Repository size: !du -sh .git

Parameters

Installs
1
GitHub Stars
58
First Seen
Jul 31, 2026
git-maintain — laurigates/claude-plugins