Skip to main content
skill CX Codex

privacy-compliance — Claude Code skill: what it does, how to install

privacy-compliance is a Claude Code skill that helps AI agents design consent tracking, data minimization, and retention policies under GDPR, CCPA, LGPD, and PIPEDA.

MIT 1 installs ★ 16 updated 2026-03-01

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add jpoutrin/product-forge --skill privacy-compliance -a claude-code
Open on GitHub

What privacy-compliance does

This skill supplies reference checklists and Python implementation snippets for data privacy mandates. It covers key regional differences across EU/EEA, California, Brazil, and Canada, outlining lawful processing bases alongside subject rights such as erasure and portability.

The reference material includes a structured Consent dataclass for tracking grant and revocation events, Pydantic schemas enforcing data minimization, and sample retention dictionaries. A dedicated privacy checklist covers vendor agreements, breach response, and public policies.

Because user-invocable is set to false, users do not call this skill manually. The assistant draws upon its instructions automatically during database modeling or privacy reviews.

What it helps with

  • structure consent grant and withdrawal tracking in code
  • verify schema compliance against data minimization principles
  • define data retention schedules for logs and user profiles
  • run privacy compliance checks against GDPR and CCPA standards

Example prompts for the agent

  • Implement a Python dataclass to track user consent versions and withdrawals
  • Audit our user profile schema so we collect strictly necessary fields
  • Review our vendor integration plan against the privacy checklist requirements

How to install privacy-compliance

1Skills CLI (Vercel)

npx skills add jpoutrin/product-forge --skill privacy-compliance -a claude-code

2Manually: put the files in place

~/.claude/skills/privacy-compliance/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/privacy-compliance/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about privacy-compliance

How to install privacy-compliance in Claude Code?

Run npx skills add jpoutrin/product-forge --skill privacy-compliance -a claude-code. The skill file will be placed in ~/.claude/skills/privacy-compliance/SKILL.md.

What does privacy-compliance do?

It equips the model with privacy regulations spanning GDPR, CCPA/CPRA, LGPD, and PIPEDA. The agent references these rules to design privacy-conscious code architectures.

Can privacy-compliance be triggered directly with a slash command?

No, it specifies user-invocable: false. Your assistant reads the guidelines whenever relevant topics arise during coding sessions.

Source text

SKILL.md · MIT
---
name: privacy-compliance
description: GDPR, CCPA, and privacy compliance guidance for data protection. Use when handling personal data, implementing consent management, or ensuring regulatory compliance across jurisdictions.
user-invocable: false
---

# Privacy Compliance Skill

This skill provides guidance for GDPR, CCPA, and other privacy regulations.

## Key Regulations

| Regulation | Region | Key Requirements |
|------------|--------|------------------|
| GDPR | EU/EEA | Consent, data rights, breach notification |
| CCPA/CPRA | California | Right to know, delete, opt-out |
| LGPD | Brazil | Similar to GDPR |
| PIPEDA | Canada | Consent, limited collection |

## GDPR Requirements

### Lawful Bases for Processing
1. Consent
2. Contract
3. Legal obligation
4. Vital interests
5. Public task
6. Legitimate interests

### Data Subject Rights
- Right to access
- Right to rectification
- Right to erasure ("right to be forgotten")
- Right to data portability
- Right to object

## Implementation Patterns

### Consent Management
```python
@dataclass
class Consent:
    user_id: str
    purpose: str
    granted_at: datetime
    withdrawn_at: datetime | None
    version: str
```

### Data Minimization
```python
# Only collect what's necessary
class UserRegistration(BaseModel):
    email: str  # Required for account
    name: str   # Required for personalization
    # Don't collect: age, gender, location unless needed
```

### Data Retention
```python
RETENTION_POLICIES = {
    "user_data": timedelta(days=365 * 2),
    "logs": timedelta(days=90),
    "analytics": timedelta(days=365),
}
```

## Privacy Checklist

- [ ] Privacy policy published and accessible
- [ ] Consent obtained before data collection
- [ ] Data subject rights implemented
- [ ] Data minimization practiced
- [ ] Retention policies defined
- [ ] Breach notification process ready
- [ ] DPA (Data Processing Agreement) with vendors

© jpoutrin · MIT · jpoutrin/product-forge

Similar skills

All skills for Security →

Project sponsors

Companies that keep this analytics open