compliance-gdpr-privacy-expert
Skill75 starsChanged 40 days agoMITView on GitHub
Expert guide for Data Privacy, GDPR, CCPA, and PDPA compliance. Covers consent management, data retention, privacy-by-design, and audit trails / Panduan kepatuhan Privasi Data, GDPR, dan PDPA.
In this repository149 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/vibes-plug-core.mdcCursor rule
- accessibility-testing-expertSkill
- adaptive-model-cascadeSkill
- affective-computing-emotion-aiSkill
- agentic-coding-workflow-expertSkill
- agentic-memory-architectSkill
- agentic-micro-economy-architectSkill
- ai-code-review-autonomousSkill
- ai-llm-integration-expertSkill
- ai-media-generation-expertSkill
- ai-prompt-engineering-expertSkill
- ai-safety-governance-expertSkill
- angular-expertSkill
- anti-slopSkill
- api-design-expertSkill
- api-gateway-proxy-expertSkill
- app-analyzer-optimizerSkill
- apple-ecosystem-expertSkill
- app-promo-media-expertSkill
- astro-framework-expertSkill
- async-queue-temporal-expertSkill
- authentication-identity-expertSkill
- autonomous-api-drift-healerSkill
- autonomous-red-teamerSkill
- autonomous-tdd-debuggerSkill
- biome-linter-formatter-expertSkill
- blockchain-web3-expertSkill
- brainstormingSkill
- browser-automation-expertSkill
- bun-runtime-expertSkill
- chatbot-messaging-expertSkill
- ci-cd-devops-architectSkill
- cloud-hosting-expertSkill
- coderabbitSkill
- composable-mach-architectSkill
- context-window-engineerSkill
- cron-scheduler-expertSkill
- database-orm-expertSkill
- data-pipeline-etl-expertSkill
- data-telemetry-expertSkill
- data-visualization-expertSkill
- deep-research-analystSkill
- dependency-upgrade-migratorSkill
- design-system-architectSkill
- desktop-electron-expertSkill
- documentation-site-expertSkill
- doku-mcp-serverSkill
- doku-payment-gatewaySkill
- domain-driven-design-expertSkill
- e2e-testing-expertSkill
- ecommerce-expertSkill
- email-notification-expertSkill
- ephemeral-generative-ui-architectSkill
- ephemeral-wasm-sandbox-executorSkill
- error-resilience-expertSkill
- event-driven-architectSkill
- feature-flag-analytics-expertSkill
- file-upload-media-expertSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
When architecting user database schemas that store PII (names, emails, phone numbers, IP addresses).
- Distinctive: line 22
When implementing cookie consent banners and tracking scripts.
- Distinctive: line 23
When the user asks about "GDPR compliance", "data retention", or "account deletion".
- Distinctive: line 24
When building admin dashboards that require secure audit logging.
- Distinctive: line 29
Do not collect data you do not explicitly need.
- Distinctive: line 39
Cookies: Do not load analytical or marketing scripts (Google Analytics, Meta Pixel) until the user has explicitly clicked "Accept".
- Very specific: line 44
Never log actual PII in plain text application logs (e.g., avoid console.log(user)).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Data Privacy & Compliance Expert
English | Bahasa Indonesia
<a name="english"></a>
English
Description
A crucial guide for engineering teams building SaaS applications that handle PII (Personally Identifiable Information). Covers technical implementation patterns for privacy regulations like GDPR (Europe), CCPA (California), and PDPA/UU PDP (Indonesia), including data mapping, consent management, Right to be Forgotten (data erasure), and secure audit trails.
Trigger Conditions
- When architecting user database schemas that store PII (names, emails, phone numbers, IP addresses).
- When implementing cookie consent banners and tracking scripts.
- When the user asks about "GDPR compliance", "data retention", or "account deletion".
- When building admin dashboards that require secure audit logging.
Core Architectural Guidelines
1. Privacy by Design (Data Minimization)
Do not collect data you do not explicitly need.
- Hashing/Encryption: Hash sensitive data (like passwords) and encrypt PII at rest (AES-256) and in transit (TLS 1.3).
- IP Addresses: IP addresses are considered PII under GDPR. Anonymize IP logs (e.g., masking the last octet
192.168.1.0) if used for analytics.
2. The Right to be Forgotten (Soft vs Hard Deletion)
Users must be able to delete their accounts easily.
- Soft Deletion: Flagging a user as
deleted_at = NOW()is useful for immediate UI removal, but it is not compliant with GDPR erasure requests if the data stays indefinitely. - Hard Deletion / Scrubbing: You must implement a background worker that permanently deletes or fully anonymizes soft-deleted records after a grace period (e.g., 30 days).
3. Consent Management
- Cookies: Do not load analytical or marketing scripts (Google Analytics, Meta Pixel) until the user has explicitly clicked "Accept".
- Database: Store the timestamp and version of the Terms of Service/Privacy Policy the user agreed to during registration.
4. Audit Trails
For financial or health data, maintain an append-only audit log of who accessed what PII and when.
- Never log actual PII in plain text application logs (e.g., avoid
console.log(user)).
Orchestration & Integration
- Enhances
database-orm-expertwith schema guidelines for soft-deletion and PII encryption. - Works with
logging-error-tracking-expertto ensure logs are sanitized of PII. - Complements
authentication-identity-expertfor secure user lifecycle management.
<a name="bahasa-indonesia"></a>
Bahasa Indonesia
Deskripsi
Panduan krusial bagi tim engineering yang membangun aplikasi SaaS yang menangani PII (Data Pribadi). Mencakup pola implementasi teknis untuk regulasi privasi seperti GDPR (Eropa) dan UU PDP (Pelindungan Data Pribadi Indonesia). Meliputi manajemen persetujuan (consent), hak untuk dilupakan (penghapusan data), dan rekam jejak audit (audit trails).
Kondisi Pemicu
- Saat merancang skema database yang menyimpan data pribadi (nama, email, nomor telepon).
- Saat mengimplementasikan banner persetujuan cookie (cookie consent).
- Saat merancang fitur penghapusan akun pengguna.
- Saat melakukan logging data sensitif.
Panduan Arsitektur Inti
1. Privasi sejak Desain (Privacy by Design)
Kumpulkan hanya data yang benar-benar dibutuhkan.
- Enkripsi: Enkripsi PII saat diam (at rest) dan bergerak (in transit).
- Alamat IP: IP adalah data pribadi. Anomimkan log IP jika hanya digunakan untuk analitik umum.
2. Hak untuk Dihapus (Right to be Forgotten)
Pengguna harus memiliki tombol yang mudah diakses untuk menghapus akun mereka.
- Soft Delete vs Hard Delete: Mengubah status menjadi
deleted_attidak cukup untuk kepatuhan hukum jika data dibiarkan selamanya. Anda harus membuat cron job yang secara permanen menghapus atau menganonimkan data (mengubah nama menjadi "Deleted User") setelah masa tenggang (misal: 30 hari).
3. Manajemen Persetujuan (Consent)
- Jangan memuat skrip pelacakan pihak ketiga (seperti Facebook Pixel atau Google Analytics) sebelum pengguna memberikan izin eksplisit (Opt-In).
- Simpan rekaman kapan pengguna menyetujui Kebijakan Privasi Anda di database.
4. Pembersihan Log (Log Sanitization)
Pastikan sistem logging aplikasi Anda (Pino, Winston) secara otomatis menyensor (redact) informasi sensitif seperti password, token kartu kredit, dan nomor telepon sebelum mengirimkannya ke sistem agregasi log seperti Datadog atau Sentry.
Integrasi Orkestrasi
- Memperkuat
database-orm-expertterkait skema enkripsi dan penghapusan data. - Bekerja sama dengan
logging-error-tracking-expertuntuk pedoman sanitasi log. - Melengkapi
authentication-identity-expertdalam manajemen siklus hidup pengguna.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

