New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

GDPR and German DSGVO compliance automation

GDPR/DSGVO Expert

by alirezarezvani · MIT license · ★ 26,349 on GitHub · updated Aug 30

GDPR/DSGVO Expert cover

GDPR and German DSGVO compliance automation. Scans codebases for privacy risks, generates DPIA documentation, tracks data subject rights requests with Art.

---
name: "gdpr-dsgvo-expert"
description: GDPR and German DSGVO compliance automation. Scans codebases for privacy risks, generates DPIA documentation, tracks data subject rights requests with Art. 12(3) one-month deadlines. Use when running GDPR compliance assessments, privacy audits, data protection planning, DPIA generation, or data subject rights (DSAR) management (e.g., 'check this service for GDPR risks', 'track an access request deadline'). Final compliance determinations route to the DPO or legal counsel.
---

# GDPR/DSGVO Expert

Tools and guidance for EU General Data Protection Regulation (GDPR) and German Bundesdatenschutzgesetz (BDSG) compliance.

---

## Table of Contents

- [Tools](#tools)
  - [GDPR Compliance Checker](#gdpr-compliance-checker)
  - [DPIA Generator](#dpia-generator)
  - [Data Subject Rights Tracker](#data-subject-rights-tracker)
- [Reference Guides](#reference-guides)

Overview

Tools and guidance for EU General Data Protection Regulation (GDPR) and German Bundesdatenschutzgesetz (BDSG) compliance.

Manual install (npx, ZIP)
Claude Codenpx skills add alirezarezvani/claude-skills --skill gdpr-dsgvo-expert -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/alirezarezvani/claude-skills/tar.gz/19392f7a0826 \ | tar -xz -C ~/.claude/skills --strip-components=3 claude-skills-19392f7a0826/ra-qm-team/skills/gdpr-dsgvo-expert
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/6e6fb2bd5db4d59e12d9/gdpr-dsgvo-expert.zip" -OutFile "$env:TEMP\gdpr-dsgvo-expert.zip"; Expand-Archive "$env:TEMP\gdpr-dsgvo-expert.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md8.3 KB
  • references/4 files · 38.7 KB
  • scripts/3 files · 55.1 KB
Read the files here
alirezarezvani/19392f78 files
SKILL.md
Show the full text267 lines

GDPR/DSGVO Expert

Tools and guidance for EU General Data Protection Regulation (GDPR) and German Bundesdatenschutzgesetz (BDSG) compliance.


Table of Contents


Tools

GDPR Compliance Checker

Scans codebases for potential GDPR compliance issues including personal data patterns and risky code practices.

# Scan a project directory
python scripts/gdpr_compliance_checker.py /path/to/project

# JSON output for CI/CD integration
python scripts/gdpr_compliance_checker.py . --json --output report.json

Detects:

  • Personal data patterns (email, phone, IP addresses)
  • Special category data (health, biometric, religion)
  • Financial data (credit cards, IBAN)
  • Risky code patterns:
    • Logging personal data
    • Missing consent mechanisms
    • Indefinite data retention
    • Unencrypted sensitive data
    • Disabled deletion functionality

Output:

  • Compliance score (0-100)
  • Risk categorization (critical, high, medium)
  • Prioritized recommendations with GDPR article references

DPIA Generator

Generates Data Protection Impact Assessment documentation following Art. 35 requirements.

# Get input template
python scripts/dpia_generator.py --template > input.json

# Generate DPIA report
python scripts/dpia_generator.py --input input.json --output dpia_report.md

Features:

  • Automatic DPIA threshold assessment
  • Risk identification based on processing characteristics
  • Legal basis requirements documentation
  • Mitigation recommendations
  • Markdown report generation

DPIA Triggers Assessed:

  • Systematic monitoring (Art. 35(3)(c))
  • Large-scale special category data (Art. 35(3)(b))
  • Automated decision-making (Art. 35(3)(a))
  • EDPB-endorsed high-risk criteria (WP248 rev.01)

Data Subject Rights Tracker

Manages data subject rights requests under GDPR Articles 15-22.

# Add new request
python scripts/data_subject_rights_tracker.py add \
  --type access --subject "John Doe" --email "[email protected]"

# List all requests
python scripts/data_subject_rights_tracker.py list

# Update status
python scripts/data_subject_rights_tracker.py status --id DSR-202601-0001 --update verified

# Generate compliance report
python scripts/data_subject_rights_tracker.py report --output compliance.json

# Generate response template
python scripts/data_subject_rights_tracker.py template --id DSR-202601-0001

Supported Rights:

Right Article Deadline
Access Art. 15 One month (Art. 12(3))
Rectification Art. 16 One month (Art. 12(3))
Erasure Art. 17 One month (Art. 12(3))
Restriction Art. 18 One month (Art. 12(3))
Portability Art. 20 One month (Art. 12(3))
Objection Art. 21 One month (Art. 12(3))
Automated decisions Art. 22 One month (Art. 12(3))

Features:

  • Deadline tracking with overdue alerts
  • Identity verification workflow
  • Response template generation
  • Compliance reporting

Reference Guides

GDPR Compliance Guide

references/gdpr_compliance_guide.md

Comprehensive implementation guidance covering:

  • Legal bases for processing (Art. 6)
  • Special category requirements (Art. 9)
  • Data subject rights implementation
  • Accountability requirements (Art. 30)
  • International transfers (Chapter V)
  • Breach notification (Art. 33-34)
German BDSG Requirements

references/german_bdsg_requirements.md

German-specific requirements including:

  • DPO appointment threshold (§ 38 BDSG - 20+ employees)
  • Employment data processing (§ 26 BDSG)
  • Video surveillance rules (§ 4 BDSG)
  • Credit scoring requirements (§ 31 BDSG)
  • State data protection laws (Landesdatenschutzgesetze)
  • Works council co-determination rights
DPIA Methodology

references/dpia_methodology.md

Step-by-step DPIA process:

  • Threshold assessment criteria
  • EDPB-endorsed high-risk indicators (WP248 rev.01)
  • Risk assessment methodology
  • Mitigation measure categories
  • DPO and supervisory authority consultation
  • Templates and checklists

Workflows

Workflow 1: New Processing Activity Assessment
Step 1: Run compliance checker on codebase
        → python scripts/gdpr_compliance_checker.py /path/to/code

Step 2: Review findings and compliance score
        → Address critical and high issues

Step 3: Determine if DPIA required
        → Check references/dpia_methodology.md threshold criteria

Step 4: If DPIA required, generate assessment
        → python scripts/dpia_generator.py --template > input.json
        → Fill in processing details
        → python scripts/dpia_generator.py --input input.json --output dpia.md

Step 5: Document in records of processing activities
Workflow 2: Data Subject Request Handling
Step 1: Log request in tracker
        → python scripts/data_subject_rights_tracker.py add --type [type] ...

Step 2: Verify identity (proportionate measures)
        → python scripts/data_subject_rights_tracker.py status --id [ID] --update verified

Step 3: Gather data from systems
        → python scripts/data_subject_rights_tracker.py status --id [ID] --update in_progress

Step 4: Generate response
        → python scripts/data_subject_rights_tracker.py template --id [ID]

Step 5: Send response and complete
        → python scripts/data_subject_rights_tracker.py status --id [ID] --update completed

Step 6: Monitor compliance
        → python scripts/data_subject_rights_tracker.py report
Workflow 3: German BDSG Compliance Check
Step 1: Determine if DPO required
        → 20+ employees processing personal data automatically
        → OR processing requires DPIA
        → OR business involves data transfer/market research

Step 2: If employees involved, review § 26 BDSG
        → Document legal basis for employee data
        → Check works council requirements

Step 3: If video surveillance, comply with § 4 BDSG
        → Install signage
        → Document necessity
        → Limit retention

Step 4: Register DPO with supervisory authority
        → See references/german_bdsg_requirements.md for authority list

Key GDPR Concepts

  • Consent: Marketing, newsletters, analytics (must be freely given, specific, informed)
  • Contract: Order fulfillment, service delivery
  • Legal obligation: Tax records, employment law
  • Legitimate interests: Fraud prevention, security (requires balancing test)
Special Category Data (Art. 9)

Requires explicit consent or Art. 9(2) exception:

  • Health data
  • Biometric data
  • Racial/ethnic origin
  • Political opinions
  • Religious beliefs
  • Trade union membership
  • Genetic data
  • Sexual orientation
Data Subject Rights

All rights must be fulfilled within one month of receipt (Art. 12(3)). The deadline runs by calendar month, not 30 days, and may be extended by two further months for complex or numerous requests — the data subject must be informed of the extension (with reasons) within the first month:

  • Access: Provide copy of data and processing information
  • Rectification: Correct inaccurate data
  • Erasure: Delete data (with exceptions for legal obligations)
  • Restriction: Limit processing while issues are resolved
  • Portability: Provide data in machine-readable format
  • Object: Stop processing based on legitimate interests
German BDSG Additions
Topic BDSG Section Key Requirement
DPO threshold § 38 20+ employees = mandatory DPO
Employment § 26 Detailed employee data rules
Video § 4 Signage and proportionality
Scoring § 31 Explainable algorithms
1---
2name: "gdpr-dsgvo-expert"
3description: GDPR and German DSGVO compliance automation. Scans codebases for privacy risks, generates DPIA documentation, tracks data subject rights requests with Art. 12(3) one-month deadlines. Use when running GDPR compliance assessments, privacy audits, data protection planning, DPIA generation, or data subject rights (DSAR) management (e.g., 'check this service for GDPR risks', 'track an access request deadline'). Final compliance determinations route to the DPO or legal counsel.
4---
5 
6# GDPR/DSGVO Expert
7 
8Tools and guidance for EU General Data Protection Regulation (GDPR) and German Bundesdatenschutzgesetz (BDSG) compliance.
9 
10---
11 
12## Table of Contents
13 
14- [Tools](#tools)
15 - [GDPR Compliance Checker](#gdpr-compliance-checker)
16 - [DPIA Generator](#dpia-generator)
17 - [Data Subject Rights Tracker](#data-subject-rights-tracker)
18- [Reference Guides](#reference-guides)
19- [Workflows](#workflows)
20 
21---
22 
23## Tools
24 
25### GDPR Compliance Checker
26 
27Scans codebases for potential GDPR compliance issues including personal data patterns and risky code practices.
28 
29```bash
30# Scan a project directory
31python scripts/gdpr_compliance_checker.py /path/to/project
32 
33# JSON output for CI/CD integration
34python scripts/gdpr_compliance_checker.py . --json --output report.json
35```
36 
37**Detects:**
38- Personal data patterns (email, phone, IP addresses)
39- Special category data (health, biometric, religion)
40- Financial data (credit cards, IBAN)
41- Risky code patterns:
42 - Logging personal data
43 - Missing consent mechanisms
44 - Indefinite data retention
45 - Unencrypted sensitive data
46 - Disabled deletion functionality
47 
48**Output:**
49- Compliance score (0-100)
50- Risk categorization (critical, high, medium)
51- Prioritized recommendations with GDPR article references
52 
53---
54 
55### DPIA Generator
56 
57Generates Data Protection Impact Assessment documentation following Art. 35 requirements.
58 
59```bash
60# Get input template
61python scripts/dpia_generator.py --template > input.json
62 
63# Generate DPIA report
64python scripts/dpia_generator.py --input input.json --output dpia_report.md
65```
66 
67**Features:**
68- Automatic DPIA threshold assessment
69- Risk identification based on processing characteristics
70- Legal basis requirements documentation
71- Mitigation recommendations
72- Markdown report generation
73 
74**DPIA Triggers Assessed:**
75- Systematic monitoring (Art. 35(3)(c))
76- Large-scale special category data (Art. 35(3)(b))
77- Automated decision-making (Art. 35(3)(a))
78- EDPB-endorsed high-risk criteria (WP248 rev.01)
79 
80---
81 
82### Data Subject Rights Tracker
83 
84Manages data subject rights requests under GDPR Articles 15-22.
85 
86```bash
87# Add new request
88python scripts/data_subject_rights_tracker.py add \
89 --type access --subject "John Doe" --email "[email protected]"
90 
91# List all requests
92python scripts/data_subject_rights_tracker.py list
93 
94# Update status
95python scripts/data_subject_rights_tracker.py status --id DSR-202601-0001 --update verified
96 
97# Generate compliance report
98python scripts/data_subject_rights_tracker.py report --output compliance.json
99 
100# Generate response template
101python scripts/data_subject_rights_tracker.py template --id DSR-202601-0001
102```
103 
104**Supported Rights:**
105 
106| Right | Article | Deadline |
107|-------|---------|----------|
108| Access | Art. 15 | One month (Art. 12(3)) |
109| Rectification | Art. 16 | One month (Art. 12(3)) |
110| Erasure | Art. 17 | One month (Art. 12(3)) |
111| Restriction | Art. 18 | One month (Art. 12(3)) |
112| Portability | Art. 20 | One month (Art. 12(3)) |
113| Objection | Art. 21 | One month (Art. 12(3)) |
114| Automated decisions | Art. 22 | One month (Art. 12(3)) |
115 
116**Features:**
117- Deadline tracking with overdue alerts
118- Identity verification workflow
119- Response template generation
120- Compliance reporting
121 
122---
123 
124## Reference Guides
125 
126### GDPR Compliance Guide
127`references/gdpr_compliance_guide.md`
128 
129Comprehensive implementation guidance covering:
130- Legal bases for processing (Art. 6)
131- Special category requirements (Art. 9)
132- Data subject rights implementation
133- Accountability requirements (Art. 30)
134- International transfers (Chapter V)
135- Breach notification (Art. 33-34)
136 
137### German BDSG Requirements
138`references/german_bdsg_requirements.md`
139 
140German-specific requirements including:
141- DPO appointment threshold (§ 38 BDSG - 20+ employees)
142- Employment data processing (§ 26 BDSG)
143- Video surveillance rules (§ 4 BDSG)
144- Credit scoring requirements (§ 31 BDSG)
145- State data protection laws (Landesdatenschutzgesetze)
146- Works council co-determination rights
147 
148### DPIA Methodology
149`references/dpia_methodology.md`
150 
151Step-by-step DPIA process:
152- Threshold assessment criteria
153- EDPB-endorsed high-risk indicators (WP248 rev.01)
154- Risk assessment methodology
155- Mitigation measure categories
156- DPO and supervisory authority consultation
157- Templates and checklists
158 
159---
160 
161## Workflows
162 
163### Workflow 1: New Processing Activity Assessment
164 
165```
166Step 1: Run compliance checker on codebase
167 → python scripts/gdpr_compliance_checker.py /path/to/code
168 
169Step 2: Review findings and compliance score
170 → Address critical and high issues
171 
172Step 3: Determine if DPIA required
173 → Check references/dpia_methodology.md threshold criteria
174 
175Step 4: If DPIA required, generate assessment
176 → python scripts/dpia_generator.py --template > input.json
177 → Fill in processing details
178 → python scripts/dpia_generator.py --input input.json --output dpia.md
179 
180Step 5: Document in records of processing activities
181```
182 
183### Workflow 2: Data Subject Request Handling
184 
185```
186Step 1: Log request in tracker
187 → python scripts/data_subject_rights_tracker.py add --type [type] ...
188 
189Step 2: Verify identity (proportionate measures)
190 → python scripts/data_subject_rights_tracker.py status --id [ID] --update verified
191 
192Step 3: Gather data from systems
193 → python scripts/data_subject_rights_tracker.py status --id [ID] --update in_progress
194 
195Step 4: Generate response
196 → python scripts/data_subject_rights_tracker.py template --id [ID]
197 
198Step 5: Send response and complete
199 → python scripts/data_subject_rights_tracker.py status --id [ID] --update completed
200 
201Step 6: Monitor compliance
202 → python scripts/data_subject_rights_tracker.py report
203```
204 
205### Workflow 3: German BDSG Compliance Check
206 
207```
208Step 1: Determine if DPO required
209 → 20+ employees processing personal data automatically
210 → OR processing requires DPIA
211 → OR business involves data transfer/market research
212 
213Step 2: If employees involved, review § 26 BDSG
214 → Document legal basis for employee data
215 → Check works council requirements
216 
217Step 3: If video surveillance, comply with § 4 BDSG
218 → Install signage
219 → Document necessity
220 → Limit retention
221 
222Step 4: Register DPO with supervisory authority
223 → See references/german_bdsg_requirements.md for authority list
224```
225 
226---
227 
228## Key GDPR Concepts
229 
230### Legal Bases (Art. 6)
231 
232- **Consent**: Marketing, newsletters, analytics (must be freely given, specific, informed)
233- **Contract**: Order fulfillment, service delivery
234- **Legal obligation**: Tax records, employment law
235- **Legitimate interests**: Fraud prevention, security (requires balancing test)
236 
237### Special Category Data (Art. 9)
238 
239Requires explicit consent or Art. 9(2) exception:
240- Health data
241- Biometric data
242- Racial/ethnic origin
243- Political opinions
244- Religious beliefs
245- Trade union membership
246- Genetic data
247- Sexual orientation
248 
249### Data Subject Rights
250 
251All rights must be fulfilled within **one month of receipt** (Art. 12(3)). The deadline runs by calendar month, not 30 days, and may be extended by **two further months** for complex or numerous requests — the data subject must be informed of the extension (with reasons) within the first month:
252- **Access**: Provide copy of data and processing information
253- **Rectification**: Correct inaccurate data
254- **Erasure**: Delete data (with exceptions for legal obligations)
255- **Restriction**: Limit processing while issues are resolved
256- **Portability**: Provide data in machine-readable format
257- **Object**: Stop processing based on legitimate interests
258 
259### German BDSG Additions
260 
261| Topic | BDSG Section | Key Requirement |
262|-------|--------------|-----------------|
263| DPO threshold | § 38 | 20+ employees = mandatory DPO |
264| Employment | § 26 | Detailed employee data rules |
265| Video | § 4 | Signage and proportionality |
266| Scoring | § 31 | Explainable algorithms |
267 
View all files on GitHub →

Details

Updated
Aug 30, 2026
License
MIT
Stars on the repo
★ 26,349
Checked
Source
alirezarezvani/claude-skills ↗
Creator
alirezarezvani · 363 listings
View creator

Similar skills

See all →
SkillRun Azure compliance and security audits with azqr plus KeyAzure Compliance & Security Auditingmicrosoft/skills · by microsoftRun Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.★ 3.1k GitHub starsMCPReviews completed implementation for governing-sourceCode reviewershinpr/claude-code-workflows · by shinprReviews completed implementation for governing-source compliance, scope economy, repository quality policy, and material code correctness. Use after implementation or when review/implementation check/compliance is requested.★ 687 GitHub starsSkillImplement GDPR-compliant data handling with consentGdpr data handlingwshobson/agents · by wshobsonImplement GDPR-compliant data handling with consent management, data subject rights, and privacy by design. Use when building systems that process EU personal data, implementing privacy controls, or conducting GDPR compliance reviews.★ 39.9k GitHub starsMCPDraft privacy policies, terms of service, disclaimersLegal advisorwshobson/agents · by wshobsonDraft privacy policies, terms of service, disclaimers, and legal notices. Creates GDPR-compliant texts, cookie policies, and data processing agreements. Use PROACTIVELY for legal documentation, compliance texts, or regulatory requirements.★ 39.9k GitHub starsSkillImplement PCI DSS compliance requirements for securePci compliancewshobson/agents · by wshobsonImplement PCI DSS compliance requirements for secure handling of payment card data and payment systems. Use when securing payment processing, achieving PCI compliance, or implementing payment card security measures.★ 39.9k GitHub starsSkillData privacy and regulatory compliance specialist for GDPRData privacy compliancedavila7/claude-code-templates · by davila7Data privacy and regulatory compliance specialist for GDPR, CCPA, HIPAA, and international data protection laws. Use when implementing privacy controls, conducting data protection impact assessments, ensuring regulatory compliance, or managing data subject rights. Expert in consent management, data minimization, and privacy-by-design principles.★ 32.3k GitHub stars

More from alirezarezvani

SkillResume a paused experiment/ar:ar-resume — Resume Experimentalirezarezvani/claude-skills · by alirezarezvaniResume a paused experiment. Checkout the experiment branch, read results history, continue iterating. Use when the user runs /ar:ar-resume or asks to pick up a previously started autoresearch experiment.★ 26.3k GitHub starsSkillShow experiment dashboard with results, active loops/ar:ar-status — Experiment Dashboardalirezarezvani/claude-skills · by alirezarezvaniShow experiment dashboard with results, active loops, and progress. Use when the user runs /ar:ar-status or asks how an autoresearch experiment is going.★ 26.3k GitHub starsSkillStart an autonomous experiment loop with user-selected/ar:loop — Autonomous Experiment Loopalirezarezvani/claude-skills · by alirezarezvaniStart an autonomous experiment loop with user-selected interval (10min, 1h, daily, weekly, monthly). Uses CronCreate for scheduling. Use when the user runs /ar:loop or asks to run an autoresearch experiment continuously on a schedule.★ 26.3k GitHub starsSkillRun a single experiment iteration/ar:run — Single Experiment Iterationalirezarezvani/claude-skills · by alirezarezvaniRun a single experiment iteration. Edit the target file, evaluate, keep or discard. Use when the user runs /ar:run or asks for one manual autoresearch iteration.★ 26.3k GitHub starsSkillSet up a new autoresearch experiment interactively/ar:setup — Create New Experimentalirezarezvani/claude-skills · by alirezarezvaniSet up a new autoresearch experiment interactively. Collects domain, target file, eval command, metric, direction, and evaluator. Use when the user runs /ar:setup or asks to start optimizing a file with the autoresearch loop.★ 26.3k GitHub starsSkill/cs:boardroom <brief/cs:boardroom — Multi-Role Boardroom Deliberationalirezarezvani/claude-skills · by alirezarezvani/cs:boardroom <brief> — 6-phase multi-role deliberation across the C-suite with Phase 2 isolation, critic pre-screen, and synthesis. Outputs a board memo. Use when a decision spans multiple executive domains — e.g. a pricing change touching finance, positioning, and product, or a raise-vs-cut runway call.★ 26.3k GitHub stars