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 Data Privacy Gdpr?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/adityaaatiwari-data-privacy-gdpr-anvil)
---
name: data-privacy-gdpr
description: "Implement GDPR privacy controls cleanly: data minimization, consent logs, DSAR exports, cascading erasure, and retention TTLs"
---
<!-- Generated by `anvil plugin build` from catalog/. Edit the catalog, not this file. -->
# Data privacy & GDPR
Use when storing personal data (PII), designing user account deletion, or building compliance workflows.
## Minimization and retention
- Store only PII required for the stated feature purpose, separate analytics identifiers via pseudonymization/hashing, and keep PII out of URLs and raw logs.
- Define explicit retention TTLs for logs, sessions, exports, and backups with automated scheduled purges.
- Record timestamped consent state (`purpose`, `version`, `grantedAt`, `withdrawnAt`) cleanly when consent-based processing applies.
## DSAR and right to erasure
- Implement asynchronous DSAR export jobs producing complete, portable JSON/CSV bundles scoped strictly to authenticated user identity.
- On deletion requests, remove or irreversibly anonymize personal fields across primary tables, object storage, search indexes, caches, and third-party webhooks/processors—keeping only legally mandated accounting stubs anonymized.
## Verify
Run end-to-end deletion tests verifying zero leftover email/name/IP strings across tables, search indexes, and queues after erasure completes.