Privacy compliance

From jpoutrin/product-forge · View interactive version

Privacy compliance is an AI agent skill from the GitHub repository jpoutrin/product-forge. GDPR, CCPA, and privacy compliance guidance for data protection. Use when handling personal data, implementing consent management, or ensuring regulatory compliance across jurisdictions.

How to use this skill

Skill file

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

Implementation Patterns

Consent Management

@dataclass
class Consent:
    user_id: str
    purpose: str
    granted_at: datetime
    withdrawn_at: datetime | None
    version: str

Data Minimization

# 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

RETENTION_POLICIES = {
    "user_data": timedelta(days=365 * 2),
    "logs": timedelta(days=90),
    "analytics": timedelta(days=365),
}

Privacy Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.