What problem does it solve?
PII Guard prevents accidental personal-data exposure by checking outbound content before it leaves your workspace, helping you stop leaks in high-risk workflows like pushes, posts, messages, and publishing.
Core Features & Use Cases
- Hard-block scanning: Detects protected names, emails, phone numbers, wallet addresses, organizations, websites, keywords, and custom regex patterns before external transmission.
- Global git enforcement: Installs a pre-push hook that scans diffs across repositories on the machine and blocks pushes when sensitive data is found.
- CLI and history checks: Scans files, directories, text input, stdin, and git history to catch both current leaks and older committed secrets.
- Use Case: A developer is about to publish a change set containing a personal email address and wallet address; the scanner finds the match, reports it, and stops the push until the data is removed or explicitly overridden.
Quick Start
Run the setup script from the skill directory to create your personal patterns file, install the global pre-push hook, and enable leak scanning before outbound actions.