Automates repository maintenance by cleaning up Git branches, organizing code, and concealing AI tool artifacts for better privacy and repository health.
Git Hygiene Guardian is a comprehensive maintenance skill for Claude Code that ensures your repositories stay clean, organized, and private. It consolidates routine tasks like stale branch identification, commit quality checks, and dead code removal into a unified workflow. A standout feature is its AI tool artifact detection, which audits .gitignore files to prevent sensitive data from AI coding assistants—such as conversation logs and cache files from tools like Cursor, Aider, and Claude Code—from being accidentally committed to version control.
主要功能
01Detection and removal of orphaned code and temporary artifacts
02Built-in support for 15+ major AI coding assistant patterns
03Interactive dry-run mode for safe repository modifications
04Comprehensive AI tool artifact audit and .gitignore enforcement
05Automated Git branch and commit history hygiene
061 GitHub stars
使用场景
01Privacy audits to prevent AI conversation logs and prompt history from leaking into public repos.
02Periodic repository health checks to manage technical debt and remove stale development branches.
03End-of-session cleanup to ensure a pristine repository state before pushing changes.