git-clean-merged-branch
Pass
Audited by Gen Agent Trust Hub on Jun 20, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill performs routine Git maintenance tasks such as fetching updates, switching to the default branch, and deleting merged branches. These operations are consistent with the skill's stated purpose.
- [SAFE]: It implements safety guards, including a check for uncommitted or untracked changes (
git status --porcelain) to prevent accidental data loss. - [SAFE]: The inclusion of a verification logic for squash and rebase merges using
git patch-idand the GitHub CLI (gh) demonstrates a security-conscious approach to branch deletion, ensuring that local work is truly represented in the upstream merge commit before a force-delete (git branch -D) is performed. - [SAFE]: The skill uses well-known tools (
git,gh) and does not download or execute code from untrusted remote sources.
Audit Metadata