What problem does it solve?
This Skill standardizes Git operations, ensuring secure, well-structured, and human-like commits while preventing common mistakes like pushing secrets or using AI attribution. It automates the tedious parts of Git hygiene, allowing you to focus on coding.
Core Features & Use Cases
- Automated Security Scan: Scans for secrets (API keys, tokens, passwords) before every commit, blocking pushes if found (with a
git-crypt exception), safeguarding your repository.
- Structured Commit Messages: Enforces conventional commit types (feat, fix, docs, etc.) and a human-like, attribution-free format using HEREDOC, improving commit history readability.
- Safe Push Behavior: Prevents accidental pushes by requiring an explicit "push" keyword, and prohibits force pushes to main/master, protecting your codebase.
- Use Case: You've made changes across several files. Ask the AI to "commit my changes with a fix type and a message about fixing the login bug." The AI will scan for secrets, group changes, format the commit message correctly, and commit locally, then wait for an explicit "push" command, ensuring a clean and secure commit history.
Quick Start
Commit all current changes with a 'feat' type and the message "Implement user profile editing."
Then, push the changes to the remote repository.