What problem does it solve?
This Skill acts as a crucial gatekeeper before code commits, preventing the accidental inclusion of secrets, security vulnerabilities, or broken tests in your codebase.
Core Features & Use Cases
- Secret Scanning: Detects and flags hardcoded API keys, passwords, and other sensitive credentials.
- Security Antipatterns: Identifies common dangerous coding practices that could lead to vulnerabilities.
- Test & Lint Checks: Ensures code changes do not break existing tests or violate linting rules.
- Use Case: Before committing a change, run this skill to automatically scan staged files for accidentally exposed API keys or insecure code patterns, ensuring a cleaner and more secure commit history.
Quick Start
Run the guard skill to perform pre-commit safety checks on staged files.