--- name: "dpdpa-gdpr-review-parth-desai" description: "Performs structured compliance review, clause redlining, and drafting suggestions for legal documents (privacy policies, data processing agreements, vendor and SaaS contracts) against India's DPDPA 2023 and the EU GDPR. Flags clauses as compliant, at-risk, or non-compliant with reasoning, and proposes ready-to-use model replacement language." metadata: author: "Parth Desai" license: "agpl-3.0" version: "2026-05-20" --- # DPDPA & GDPR Legal Review Skill Performs structured compliance review, redlining, and drafting suggestions on legal documents against **DPDPA 2023** (India) and **GDPR** (EU/EEA). Produces annotated output with: - โœ… Compliant clauses - โš ๏ธ Suspect / at-risk clauses (with reasoning) - ๐Ÿ”ด Non-compliant / missing clauses - ๐Ÿ“ Redline suggestions (proposed replacement language) --- ## Step 1 โ€” Identify Scope On receiving a document, determine: 1. **Applicable law(s)**: DPDPA, GDPR, or both (based on parties, jurisdiction, data subjects) 2. **Document type**: Privacy Policy / DPA / SaaS Agreement / Employment Contract / Vendor Agreement / NDA / Other 3. **Data types mentioned**: personal data, sensitive personal data (SPD), children's data, health, financial > If jurisdiction or parties are ambiguous, state your assumption clearly before proceeding. --- ## Step 2 โ€” Clause Extraction & Mapping Parse the document into logical clause groups. Map each to the relevant legal obligation: | Clause Group | DPDPA Reference | GDPR Reference | |---|---|---| | Purpose of processing | ยง6 โ€“ Notice | Art. 13/14 โ€“ Transparency | | Lawful basis / consent | ยง6โ€“ยง9 | Art. 6 / Art. 7 | | Data fiduciary / controller identity | ยง8 | Art. 13(1)(a) | | Data principal / subject rights | ยง11โ€“ยง14 | Art. 15โ€“22 | | Data retention / erasure | ยง8(7), ยง13 | Art. 5(1)(e), Art. 17 | | Cross-border transfer | ยง16 | Art. 44โ€“49 | | Children's data / parental consent | ยง9 | Art. 8 | | Grievance / DPO contact | ยง8(10), ยง13(5) | Art. 37โ€“39 | | Security obligations | ยง8(5) | Art. 32 | | Breach notification | ยง8(6) | Art. 33/34 | | Data processor obligations | ยง8(2)โ€“(3) | Art. 28 | | Sub-processor / consent manager | ยง3(5), ยง8(2) | Art. 28(2) | --- ## Step 3 โ€” Compliance Analysis For each clause group, apply checks from `references/dpdpa-checklist.md` and `references/gdpr-checklist.md`. ### Redline Format When flagging or rewriting a clause, use this format: ``` โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ CLAUSE: [Clause title / section number] STATUS: โš ๏ธ SUSPECT | ๐Ÿ”ด NON-COMPLIANT | โœ… COMPLIANT LAW: DPDPA ยง__ | GDPR Art. __ ISSUE: [Plain-language explanation of risk] ORIGINAL TEXT: "[paste original clause]" REDLINE SUGGESTION: "[Proposed replacement or addition]" RISK LEVEL: HIGH | MEDIUM | LOW โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ ``` --- ## Step 4 โ€” Summary Report After full analysis, output a **Compliance Summary** table: ``` ## Compliance Summary | Area | DPDPA Status | GDPR Status | Risk | |------|-------------|------------|------| | Consent mechanism | โš ๏ธ Weak | โœ… OK | Medium | | Data retention | ๐Ÿ”ด Missing | ๐Ÿ”ด Missing | High | | Children's data | N/A | โš ๏ธ Unclear | Medium | | Cross-border transfer | โš ๏ธ Unaddressed | โœ… SCCs present | High | | Breach notification | โœ… Present | โœ… Present | Low | ... Overall Risk: HIGH / MEDIUM / LOW Recommended Actions: [numbered list] ``` --- ## Step 5 โ€” Drafting Suggestions For every `๐Ÿ”ด NON-COMPLIANT` or `โš ๏ธ SUSPECT` finding, provide: 1. **Why it's risky** (legal exposure, penalty risk under DPDPA or GDPR) 2. **Model clause** (ready-to-use replacement language) 3. **Optional: Alternative formulation** if context is ambiguous Reference `references/model-clauses.md` for standard clause templates. --- ## Behaviour Rules - **Never give definitive legal advice.** Frame output as legal review assistance; recommend counsel review for final decisions. - **Be specific**: cite exact DPDPA section or GDPR article for every finding. - **Flag children's data immediately** โ€” highest risk tier under both laws. - **Sensitive Personal Data (SPD)** under DPDPA (health, financial, biometric, caste, religion, sexual orientation) = automatic HIGH risk flag. - **Special category data** under GDPR Art. 9 = automatic HIGH risk flag. - If document is in mixed language (e.g., English + Hindi), analyse both portions. - Do not summarize without completing full clause-by-clause review first. --- ## Reference Files | File | When to Read | |------|-------------| | `references/dpdpa-checklist.md` | DPDPA-specific clause checks | | `references/gdpr-checklist.md` | GDPR-specific clause checks | | `references/model-clauses.md` | Ready-to-use replacement clause language | Load the relevant reference(s) before beginning analysis.