Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Pii And Privacy?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ansh44233-pii-and-privacy)
---
description: Handle personal data with minimization, encryption, redacted logs, retention limits and working deletion
profile: standard
tags: privacy, pii, gdpr, security
---
# PII and privacy
Treat personal data as a liability you hold on someone's behalf.
## Collect less
- Every field has a purpose; drop what you don't use.
- Prefer derived or truncated data (age range, city) over raw values.
## Protect
- Encrypt sensitive fields at rest; restrict access by role; audit reads of sensitive records.
- Redact PII from logs, errors, analytics and LLM prompts at the source.
## Lifecycle
- Define retention per data type and enforce it with a job.
- User export and deletion that cover the DB, caches, search, files, backups policy and third-party processors.
## Verify
Grep logs from a test run for test emails/phones (none should appear), and run the deletion path in a test that checks every store.