cleanup-git-worktrees
A maintainer skill in the LobeHub repository for auditing and removing stale Git worktrees and local branches.
Was der Skill vermittelt
A maintainer skill in the LobeHub repository for auditing and removing stale Git worktrees and local branches. A bundled shell script fetches and prunes the remote, looks up each branch's pull request state with the GitHub CLI and classifies every worktree as deletable, needing manual review or protected, ignoring noise and scratch files. The agent shows one grouped table and deletes only after a single explicit approval, passing exact branch names; the script re-checks each target and refuses ones that are not candidates or are in use. It explains how to prove squash or rebase merges, never removes main, canary or the current worktree, and audits again afterwards.
Funktionen
- Classify Git worktrees as deletable or protected
- Check pull request state for each branch
- Remove approved worktrees and branches
- Prove squash-merged branches landed
Überblick
- Herausgeber
- LobeHub
- Tool
- GitHub
Installation
Das Projekt dokumentiert keine Installationsschritte, die wir bestätigen konnten. Zur Anleitung des Projekts
Was enthalten ist
- agents/openai.yaml
- scripts/cleanup.sh
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Dieser Skill enthält Skripte, die dein Agent ausführen kann.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | GitHub | |
| Herausgeber | LobeHub | Quelle |
| Offizieller Status | In der Dokumentation nicht angegeben | |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Ja | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | NOASSERTION | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 11. Nov. 202684.974 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Quellen
- Skill-Datei (SKILL.md)github.com/lobehub/lobehub · Belegt: Enthält Skripte17. Nov. 2026
- GitHub-Repositorygithub.com/lobehub/lobehub · Belegt: Herausgeber, Aktivität11. Nov. 2026
- Skill-Datei (SKILL.md)github.com/lobehub/lobehub · Belegt: Lizenz10. Nov. 2026
- Ordner im Repository (cleanup-git-worktrees)github.com/lobehub/lobehub · Belegt: Enthält Skripte10. Nov. 2026