From grc-lead
Write a Data Protection Impact Assessment (DPIA) for high-risk personal data processing. Required by GDPR Article 35 when processing is likely to result in high risk to individuals. Produces a structured assessment with risks, mitigations, and DPO review.
npx claudepluginhub hpsgd/turtlestack --plugin grc-leadThis skill is limited to using the following tools:
Write a [Data Protection Impact Assessment](https://gdpr-info.eu/art-35-gdpr/) (DPIA) for $ARGUMENTS. A DPIA is mandatory under GDPR Article 35 when processing is likely to result in high risk to the rights and freedoms of individuals — including profiling, large-scale processing of special categories, systematic monitoring of public areas, and systematic/extensive automated evaluation of perso...
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Compresses source documents into lossless, LLM-optimized distillates preserving all facts and relationships. Use for 'distill documents' or 'create distillate' requests.
Write a Data Protection Impact Assessment (DPIA) for $ARGUMENTS. A DPIA is mandatory under GDPR Article 35 when processing is likely to result in high risk to the rights and freedoms of individuals — including profiling, large-scale processing of special categories, systematic monitoring of public areas, and systematic/extensive automated evaluation of personal aspects (ML scoring, behavioural analytics, risk profiling) used to make or inform decisions about individuals.
Before assessing risk, fully document what the processing involves:
### Processing Description
| Aspect | Detail |
|---|---|
| **What personal data** | [List specific data categories — name, email, location, health, financial, behavioural, etc.] |
| **Whose data** | [Data subjects — customers, employees, children, patients, public] |
| **Purpose** | [Why this processing is needed — be specific, not "business purposes"] |
| **How processed** | [Collection method, storage, analysis, automated decisions, profiling] |
| **Retention period** | [How long data is kept and deletion/anonymisation policy] |
| **Recipients** | [Who receives the data — internal teams, processors, third countries] |
| **Data flows** | [Source → processing → storage → output — include cross-border transfers] |
Scan the codebase for data models, API schemas, and configuration that reveal what data is collected and how it flows. Use Glob and Grep to find relevant schemas, models, and privacy-related configuration.
Output: Completed processing description table with data flow diagram.
Evaluate whether the processing is justified under GDPR Article 5 principles:
### Necessity and Proportionality
| Principle | Assessment | Evidence |
|---|---|---|
| **Lawful basis** | [Which Art. 6 basis — consent, contract, legitimate interest, etc.] | [Where this is documented/implemented] |
| **Purpose limitation** | [Is data used only for the stated purpose?] | [Code paths that access the data] |
| **Data minimisation** | [Is every field necessary? Could any be removed?] | [Fields collected vs fields actually used] |
| **Accuracy** | [How is data kept accurate? Can subjects correct it?] | [Update mechanisms, validation] |
| **Storage limitation** | [Is retention period justified? Is deletion automated?] | [TTL configs, cleanup jobs, retention policies] |
| **Integrity and confidentiality** | [Encryption at rest/transit, access controls, audit logging] | [Security measures in place] |
For each principle, provide a verdict: Met, Partially met (with remediation needed), or Not met (blocks processing).
Output: Proportionality assessment table with verdicts and evidence.
Assess risks from the individual's perspective, not the organisation's. Consider what harm could occur if data is lost, stolen, misused, or inaccurate.
### Risk Assessment
| # | Risk | Description | Likelihood | Severity | Overall Risk |
|---|---|---|---|---|---|
| R1 | [Risk name] | [What could happen to the individual] | [Low/Medium/High] | [Low/Medium/High] | [Low/Medium/High/Very High] |
| R2 | ... | ... | ... | ... | ... |
Risk categories to evaluate (assess each — mark N/A if genuinely not applicable):
Likelihood × Severity matrix:
| Low severity | Medium severity | High severity | |
|---|---|---|---|
| High likelihood | Medium | High | Very High |
| Medium likelihood | Low | Medium | High |
| Low likelihood | Low | Low | Medium |
Output: Completed risk table with all applicable categories assessed.
For every risk rated Medium or above, define specific mitigations:
### Mitigation Measures
| # | Measure | Risk(s) addressed | Implementation status | Residual risk |
|---|---|---|---|---|
| M1 | [Specific technical or organisational measure] | R1, R3 | [Implemented / In progress / Planned] | [Must be lower than inherent risk] |
| M2 | ... | ... | ... | ... |
Mitigation categories:
Every risk must map to at least one mitigation. Every mitigation must reduce residual risk below the inherent risk level.
Output: Mitigation table with residual risk ratings demonstrating risk reduction.
Provide an assessment section for DPO review:
### DPO Review
| Item | Assessment |
|---|---|
| **DPIA required?** | [Yes — state which Art. 35 trigger applies] |
| **Processing lawful?** | [Yes/No — cite lawful basis and evidence] |
| **Proportionate?** | [Yes/No — are all principles met?] |
| **Risks adequately mitigated?** | [Yes/No — are all residual risks acceptable?] |
| **DPO recommendation** | [Proceed / Proceed with conditions / Do not proceed] |
| **Conditions (if any)** | [What must be done before processing begins] |
| **Review date** | [When this DPIA should be reviewed — max 12 months] |
**DPO signature:** _______________ **Date:** _______________
Output: DPO review section with clear recommendation.
Assess whether Article 36 prior consultation is required:
### Supervisory Authority Consultation
| Question | Answer |
|---|---|
| **Any residual risks rated High or Very High after mitigation?** | [Yes/No] |
| **Can residual risk be further reduced?** | [Yes/No — what has been tried] |
| **Prior consultation required?** | [Yes — if residual risk remains high despite mitigations / No] |
| **Supervisory authority** | [Relevant DPA — e.g., ICO, CNIL, BfDI] |
| **Consultation timeline** | [Must consult before processing begins; DPA has 8 weeks to respond] |
Prior consultation is required when: residual risk remains high despite mitigations and the controller cannot sufficiently reduce the risk.
Output: Consultation determination with rationale.
# DPIA: [Processing Activity Name]
**Version:** [number] | **Date:** [date] | **Owner:** [role] | **Status:** [Draft/Under review/Approved]
## 1. Processing Description
[From Step 1 — data, subjects, purpose, flows, retention, recipients]
## 2. Necessity and Proportionality
[From Step 2 — principle-by-principle assessment with verdicts]
## 3. Risk Assessment
[From Step 3 — risk table with likelihood, severity, overall rating]
## 4. Mitigation Measures
[From Step 4 — measure table with residual risk ratings]
## 5. DPO Review
[From Step 5 — recommendation and conditions]
## 6. Supervisory Authority Consultation
[From Step 6 — determination and rationale]
## Appendices
- A. Data flow diagram
- B. Legal basis analysis
- C. Third-party processor list
/grc-lead:compliance-audit — audit GDPR compliance across the system. Use to validate that DPIA mitigations are implemented organisation-wide./grc-lead:risk-assessment — broader risk methodology. The DPIA risk approach aligns with the organisation's risk framework.