git-plugin/skills/git-maintain/SKILL.md
Repo maintenance — gc, branch pruning, stash cleanup, fsck. Use when asked to clean up the repo, run git gc, delete merged branches, prune stashes, or shrink .git.
npx skillsauth add laurigates/claude-plugins git-maintainInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| 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 |
git branch --show-currentgit status --porcelain=v2 --branchgit branch -vv --format='%(refname:short) %(upstream:short) %(upstream:track)'git stash listdu -sh .gitParse these parameters from the command (all optional):
--prune: Remove unreachable objects and optimize repository--gc: Run git garbage collection (aggressive)--verify: Verify integrity of git objects--branches: Clean up merged branches only--stash: Clean up stashes only--all: Run all maintenance tasks (default if no flags specified)Perform repository maintenance and cleanup based on the flags provided.
.gitignore and removing with git rm --cachedgit branch -d# Prune unreachable objects
git prune
# Run garbage collection
git gc --aggressive
# Repack objects
git repack -ad
# Show size improvement
du -sh .git
git fsck --full --strict
Report any issues found.
These operations are safe and non-destructive:
git gc - Garbage collectiongit prune - Prune unreachable objectsgit fsck - Verify integrityThese require user confirmation:
git branch -d - Delete branchesgit stash drop - Drop stashestools
Scaffold a new ComfyUI custom-node repo (pyproject, CI, release-please, vitest+pytest, JS extension skeleton) in the picker/gesture vein. Use when bootstrapping or init-ing a comfyui node pack.
tools
Orchestrate a ComfyUI node pack from idea to registry: scaffold, create + seed the repo, open the gitops adoption PR. Use when releasing or spinning up a new comfyui node pack.
testing
macOS EndpointSecurity/EDR high CPU & battery drain. Use when Kandji ESF / XProtect pegs a core; trace the exec storm via powermetrics + eslogger.
development
odiff pixel-by-pixel image diffing. Use when comparing screenshots, detecting visual regressions, diffing before/after PNGs, asserting golden images.