---
name: compliance-gdpr-f9eb0ab68a2c
description: |
  GDPR compliance implementation: Subject Access Requests (30-day), right to erasure,
  consent management, data retention policies, 72-hour breach notification, lawful basis,
  PII detection, data minimization. PostgreSQL RLS for data isolation.
  Use when implementing GDPR features, data subject rights, consent flows, breach response.
allowed-tools: Read, Grep, Glob
---

# GDPR Compliance Implementation

## When to use
- Implementing Subject Access Requests (SAR) and right to erasure
- Designing consent management systems
- Setting up data retention and automatic deletion
- Planning 72-hour breach notification workflow
- Choosing lawful basis for data processing

## Core principles
1. **Privacy by design** — build privacy in from the start; retrofitting is 10x harder
2. **Data minimization** — collect only what you need for the stated purpose
3. **72 hours for breach notification** — to supervisory authority; 30 days for SAR response
4. **Consent must be specific and withdrawable** — "I agree to terms" does not cover marketing emails
5. **Document the lawful basis** — legitimate interest requires a balancing test; consent is not always the right choice

## References available
- `references/data-mapping.md` — retention schedules, lawful basis matrix, data flow mapping, PII inventory
- `references/consent-management.md` — consent record schema, grant/withdraw patterns, audit trail requirements
- `references/dsar-procedures.md` — SAR workflow (30-day), right to erasure with financial compliance exceptions, breach notification steps

## Assets available
- `assets/dpia-template.md` — Data Protection Impact Assessment template for high-risk processing


---
Source attribution: rnavarych
Original project: https://github.com/rnavarych/alpha-engineer/blob/c5b74102c7fd584af3d344ba7c331a7bbec3c729/plugins/billy-milligan/skills/product/compliance-gdpr/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2024-2026 Raman Navarych

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: rnavarych
Original project: https://github.com/rnavarych/alpha-engineer/blob/c5b74102c7fd584af3d344ba7c331a7bbec3c729/plugins/billy-milligan/skills/product/compliance-gdpr/SKILL.md
Attribution basis: Source repository record

Fields of work: Data & Analytics, Legal, Operations
Roles: Business Process Analyst, Compliance Officer, Data Analyst, Data Scientist, Legal Operations
Specialties: API, Database
Tools: Glob, Grep, PostgreSQL
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: c4c7584a811968a1b1c07a042af56fff13f928c77b55b252188ac61e9002099b
