
This is one of those unglamorous tools that can save you from a GDPR nightmare or embarrassing security incident. It gives you ready-to-use regex patterns for detecting emails, SSNs, phone numbers, and credit cards in log messages, plus a simple redaction function that replaces them with labeled placeholders. The real value is the logging policy template that spells out exactly what's safe to log and what isn't, which is surprisingly helpful when onboarding new developers who might not think twice about logging user input. The patterns are basic and US-focused, so you'll need to extend them for international formats, but it's a solid starting point that beats reinventing this wheel.
npx -y skills add patricio0312rev/skills --skill pii-redaction-logging-policy-builder --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.