Skip to content

Guide · Agent skill

How to use the GDPR Engineering Guide agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The gdpr-compliant skill is a reference guide that teaches an AI agent to apply GDPR privacy practices while it writes or reviews software. It is for developers, tech leads and architects who build systems that store user accounts, emails or other personal data. After following this guide you will know what the skill changes in the agent's behaviour, how to install it, how to trigger it with plain requests and what limits to keep in mind.

GDPR Engineering Guidegithub/awesome-copilot · MIT

Quick start

  1. 1Download the ZIP. Download the gdpr-compliant skill ZIP file from this page.
  2. 2Unzip into a skills folder. Unzip it into ~/.claude/skills/ for personal use, or into your project's .claude/skills/ folder for a shared setup.
  3. 3Or upload in the Claude apps. In the Claude apps, open Settings, go to Capabilities, then Skills, and upload the skill.
  4. 4Describe your task in plain language. Ask for help with an API, data model, logging change or pull request, and mention personal data where it applies.
  5. 5Review the output. Check the agent's suggestions against your own requirements and your legal advice.

What is an agent skill and what does this one do?

An agent skill is a folder of instructions that an AI coding agent loads when a task matches the skill's description. This skill, named gdpr-compliant, is built from CNIL developer guidance and GDPR Articles 5, 25, 32, 33 and 35. Its central rule is: collect less, store less, expose less, retain less.

When the skill is active, the agent checks its work against a checklist of privacy practices. For example, it applies data minimisation to models and DTOs, masks card numbers so only the last four digits show, anonymises IP addresses in logs, returns generic error messages, and requires a retention period for every table that holds personal data.

  • Designing APIs: no personal data in URL paths or query strings, and ownership checks on every resource.
  • Data models: separate create, read and update objects, and a RetentionExpiresAt field on personal data tables.
  • Logging: mask the last octet of IPv4 addresses, and never log passwords, tokens or full request bodies that may contain personal data.
  • Passwords and secrets: Argon2id or bcrypt for hashing, and a KMS for secrets.
  • Retention and deletion: scheduled jobs rather than manual clean-up.

Install the skill from the ZIP file

Download the ZIP file for this skill from this page. Unzip it into one of two locations. For a personal setup that applies to all your projects, unzip it into ~/.claude/skills/. For a single project, unzip it into that project's .claude/skills/ folder so it is shared with everyone who works in the repository.

If you use the Claude apps instead, open Settings, go to Capabilities, then Skills, and upload the skill there.

  • Personal install: ~/.claude/skills/
  • Project install: .claude/skills/ inside your project
  • Claude apps: Settings → Capabilities → Skills, then upload

Check what the skill needs before you rely on it

The skill lists no required tools or packages. It does not run scripts and does not use the network, so installing it does not add executable code to your machine. The skill is made of Markdown instructions and reference files: SKILL.md, references/data-rights.md and references/Security.md.

The skill does not scan your code or enforce anything by itself. It guides the agent's suggestions and reviews. Your own tests, linters and review process are still what catch problems.

How do you trigger the skill with natural requests?

You do not need a special command. The skill's description lists the tasks it covers, so the agent loads it when your request involves personal data or privacy. Describe the work in plain language and mention the privacy angle if you want to be sure.

The description names triggers such as designing APIs, writing data models, building authentication flows, implementing logging, handling user data, writing retention or deletion jobs, reviewing pull requests for privacy compliance, and questions framed as "is this GDPR-compliant?".

  • "Review this pull request for GDPR privacy issues."
  • "Design the data model for user profiles with a retention policy."
  • "Is this logging code GDPR-compliant?"
  • "Write a nightly job that deletes inactive accounts after 12 months."
  • "Add a data export endpoint for users."

What does the agent produce with this skill?

The output is guidance applied to your code or design. For a logging change, the agent should point out which values must not be logged and suggest masking IP addresses. For an API, it should check authentication, ownership validation and error responses. For a data model, it should ask for a retention period and a RetentionExpiresAt column.

The skill's reference files also cover user rights endpoints, such as a data export at GET /api/v1/me/data-export and erasure at DELETE /api/v1/me, plus encryption and envelope encryption patterns. Ask the agent to load the relevant reference when you need that detail.

Safety notes and limits

The skill is engineering guidance inspired by CNIL and GDPR articles. It is not legal advice and cannot decide your legal basis for processing. For that you need a lawyer or your Data Protection Officer.

Do not rely on the skill alone to prove compliance in a production audit. It is a guide, and its visible text is the only part you can check directly. The skill also does not apply to projects outside the GDPR, where following its rules may add cost without benefit.

  • Not a substitute for legal advice or a Data Protection Officer.
  • Not an audit tool and not a code scanner.
  • Not needed for non-EU or non-GDPR projects.

Tips for getting better results

Give the agent concrete context. Name the table, endpoint or log statement you are changing, and say what personal data it touches. Specific input produces specific advice.

Use the skill during design, not only at the end. The skill's rules are easiest to apply when a table or endpoint is first created, because the guidance says retention and collection limits should be set at schema design time.

  • Paste the code or schema you want reviewed, not just a description.
  • Ask for the reason behind each suggestion so you can judge it.
  • Check the agent's output against your legal team's requirements.

What people use it for

  • Reviewing a pull request that adds a new user profile field for privacy issues.
  • Designing a users table with CreatedAt and RetentionExpiresAt columns.
  • Adding IP anonymisation to application logs before they are shipped to a logging service.
  • Writing a scheduled job that deletes or anonymises records after their retention period.
  • Checking an authentication flow for generic error messages and secure password hashing.

Frequently asked questions

Is the GDPR Engineering Guide skill free to use?

The listing states the skill is released under the MIT licence. Check the licence file in the repository for the exact terms before you redistribute it.

What do I need to install the gdpr-compliant skill?

The skill lists no required tools. It does not run scripts and does not use the network. You only need an agent that supports skills and a place to unzip the folder.

Where do I put the skill folder?

Unzip it into ~/.claude/skills/ for personal use or into your project's .claude/skills/ folder for a shared setup. In the Claude apps, upload it under Settings, Capabilities, then Skills.

Does this skill make my code GDPR-compliant?

No. The skill gives the agent a checklist to apply while it designs or reviews code. It does not scan your code or enforce rules, and it is not legal advice.

How is this different from a GDPR code scanner?

A scanner checks code automatically for patterns. This skill is guidance the agent follows during design and review. Use it alongside your own tests, linters and review process rather than as a replacement for them.

Can I use this skill for a project outside the EU?

The listing says the rules do not apply to non-EU or non-GDPR projects. Following them there may add cost without benefit, so use the skill only where GDPR applies.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits developers, tech leads and architects building systems with user accounts, emails or other personal data who want privacy practices built into their agent's suggestions. It is a useful reference and review aid, but it is not a legal opinion, a code scanner or proof of compliance. If you need a formal audit or legal basis decisions, use a lawyer or Data Protection Officer and a dedicated compliance tool.

Download the skill