agentleFS
BuilderCedBuilderCed/agent-skills/skills/compliance/gdpr-data-protection/SKILL.md

gdpr-data-protection

Skill2 starsChanged 7 months agoMITView on GitHub

Implement GDPR (Reg 2016/679) data protection — DPIA templates, Art.30 processing records, data subject rights, legal bases, and cross-border transfers.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every processing activity needs exactly one legal basis:

    line 42
  2. Distinctive:

    Before collecting any personal data:

    line 57
  3. Distinctive:

    Every controller must maintain a record of processing activities:

    line 66
  4. Distinctive:

    Does not implement consent management UI

    line 139
  5. Distinctive:

    Does not configure cookie banners

    line 140
  6. Distinctive:

    Does not perform the DPIA risk assessment (guides structure)

    line 141
  7. Distinctive:

    Does not replace a DPO or legal counsel

    line 142

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

GDPR Data Protection

DISCLAIMER: This skill provides guidance only. It does not constitute legal advice. Always verify with a Data Protection Officer or legal professional.

When to Use

  • Designing systems that process personal data
  • Conducting a Data Protection Impact Assessment (DPIA)
  • Creating Article 30 processing records
  • Implementing data subject rights (access, deletion, portability)
  • Evaluating legal bases for data processing
  • Planning cross-border data transfers

Step 1: Identify Legal Basis (Article 6)

Every processing activity needs exactly one legal basis:

Legal BasisWhen to UseExample
Consent (6.1.a)User actively opts in, can withdraw anytimeNewsletter signup
Contract (6.1.b)Processing necessary to fulfill a contractDelivering purchased goods
Legal obligation (6.1.c)Required by lawTax record retention
Vital interests (6.1.d)Protecting someone's lifeEmergency medical data
Public interest (6.1.e)Official authority or public taskGovernment services
Legitimate interest (6.1.f)Balanced against data subject's rightsFraud prevention, security

Consent requirements: freely given, specific, informed, unambiguous, easy to withdraw.

Step 2: Data Minimization Checklist

Before collecting any personal data:

  1. Is this data necessary for the stated purpose?
  2. Can the purpose be achieved with less data?
  3. Can the data be anonymized or pseudonymized?
  4. Is the retention period defined and minimal?
  5. Are access controls in place (who can see what)?

Step 3: Article 30 Processing Record

Every controller must maintain a record of processing activities:

Processing Activity: [Name]
Controller: [Organization name, contact]
DPO Contact: [If applicable]
Purpose: [Specific, explicit purpose]
Legal Basis: [From Step 1]
Data Categories: [e.g., name, email, IP address]
Data Subjects: [e.g., customers, employees]
Recipients: [Who receives the data, including processors]
Third Country Transfers: [If any, with safeguard mechanism]
Retention Period: [Specific duration or criteria]
Security Measures: [Encryption, access control, etc.]

Step 4: Data Subject Rights

Respond within 1 month (extendable to 3 months for complex requests):

RightArticleWhat to Implement
Access15Provide copy of all personal data held
Rectification16Correct inaccurate data
Erasure ("right to be forgotten")17Delete data when no longer needed
Restriction18Limit processing while disputes are resolved
Portability20Export data in machine-readable format
Object21Stop processing based on legitimate interest
Automated decisions22Human review of automated decisions with legal effects

Step 5: DPIA (Data Protection Impact Assessment)

Required when processing is "likely to result in a high risk":

  • Large-scale processing of special categories (health, biometrics)
  • Systematic monitoring of public areas
  • Automated decision-making with legal effects
  • New technologies with unknown risks

DPIA Structure (CNIL template)

  1. Description: Processing, purposes, data flows, retention
  2. Necessity and proportionality: Legal basis, minimization, rights
  3. Risk assessment: Likelihood x severity for confidentiality, integrity, availability
  4. Measures: Technical and organizational measures to mitigate risks

Step 6: Cross-Border Transfers

Personal data leaving the EEA requires a transfer mechanism:

MechanismWhen
Adequacy decisionCountry deemed adequate by EC (e.g., UK, Japan, South Korea)
Standard Contractual Clauses (SCCs)Contract-based, most common
Binding Corporate RulesIntra-group transfers
Derogations (Art. 49)Explicit consent, contract necessity (limited use)

Post-Schrems II: SCCs must include a Transfer Impact Assessment (TIA) evaluating whether the recipient country's laws undermine the protections.

Penalties

Violation TypeMax Fine
Administrative (Art. 83.4)EUR 10M or 2% of global turnover
Core principles, rights, transfers (Art. 83.5)EUR 20M or 4% of global turnover

France-Specific (CNIL)

  • Cookie consent: prior opt-in required (no cookie walls)
  • Child consent: 15 years (not 16 as in GDPR default)
  • DPIA tool: cnil.fr/fr/outil-pia (free, open source)
  • DPO designation mandatory for: public bodies, large-scale systematic monitoring, large-scale special categories

What This Skill Does NOT Do

  • Does not implement consent management UI
  • Does not configure cookie banners
  • Does not perform the DPIA risk assessment (guides structure)
  • Does not replace a DPO or legal counsel

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.