Privacy review

From event4u-app/agent-config · View interactive version

Privacy review is an AI agent skill from the GitHub repository event4u-app/agent-config. Use when reviewing data flows, support macros, refund templates for GDPR/CCPA/HIPAA fit — regime, consent, PII redaction (email, order-id), breach triage. Triggers 'is this GDPR-safe', 'PII redact'.

How to use this skill

Skill file

privacy-review

When to use

Do NOT use as a substitute for qualified privacy counsel (this skill produces the non-lawyer cognition that prepares the counsel conversation), as a contract-level read (route to contracts-cognition (P5); P5 composes this skill for data-clause depth), or for privacy-platform SaaS configuration / audit-tool administration.

Cognition cluster

Cross-wing handoff

Procedure

Step 0: Bind the regulatory-regime floor

Read the J1 regulatory-regime slot for the customer-segment and geography in scope. For each applicable regime, name:

  1. Which data subjects does it protect? (EU residents → GDPR; California residents → CCPA/CPRA; US patients in covered entities → HIPAA).
  2. What categories does it gate? (GDPR special categories; HIPAA PHI; CCPA "sensitive personal information").
  3. What lawful-basis / consent shape does it require? (GDPR Art. 6 + Art. 9; HIPAA authorization; CCPA notice + opt-out).

Multiple regimes can apply simultaneously; the floor is the strictest applicable.

Step 1: Map the data flow

For the feature / integration / vendor in scope, enumerate every hop:

  1. Collection — what data category, from whom, where, with what notice / consent.
  2. Processing — who processes (us, sub-processor), where, for what purpose.
  3. Storage — where stored (region, system), encrypted at rest, retention default.
  4. Transfer — cross-border hops, transfer mechanism (SCC, adequacy, BCR).
  5. Disclosure — who sees it (internal roles, third parties, government-access risk).
  6. Deletion — retention end-state, data-subject-rights workflow, hard-delete vs soft-delete.

A flow without all six hops named is not mapped; it's assumed. Force the enumeration.

Step 2: Compute the regulatory-regime delta

For each hop × each applicable regime, name the obligation:

  1. Lawful basis / consent — what's the basis for this hop under this regime; is it documented; is it user-affirmative where required.
  2. Notice — what notice was given at the collection hop; does it cover the downstream hops.
  3. DPA / BAA / SCC — for each sub-processor / cross-border hop, what contract is required; is it in place.
  4. Data-subject rights — for each hop, can we deliver access / deletion / portability / objection within the regime's window.
  5. Breach-notification surface — what's the notification timeline (GDPR 72 h, HIPAA 60 d, CCPA varies), to whom, with what content.

Gaps = obligations un-met. Surface them, don't smooth them.

Step 3: Consent design read

For each lawful-basis claim:

  1. Is the basis defensible? (legitimate-interest balancing test documented; consent freely given / specific / informed / unambiguous; contractual necessity actually necessary).
  2. Is withdrawal as easy as granting? (GDPR Art. 7.3; CCPA opt-out parity).
  3. Are sensitive categories handled with explicit consent / authorization?

Consent-as-checkbox-at-signup is the canonical failure mode. Inversion check: "if a regulator inspects the consent flow tomorrow, what would they find un-defensible?"

Step 4: Breach-impact triage

For each data category × hop, size the breach tail:

  1. Volume — how many subjects per hop.
  2. Sensitivity — special-category / PHI / financial / identity-document presence.
  3. Notification surface — 72-hour clock starts when; who notifies (us as controller, vendor as processor); content requirements.
  4. Regulatory-fine exposure — GDPR up to 4 % global turnover or €20M; HIPAA tiered; CCPA per-record statutory damages.

A hop without a sized breach-tail is unstressed.

Step 5: Validate the privacy read before emitting

Before producing the artifact, verify three things:

  1. Hop coverage — confirm all six data-flow hops (collection, processing, storage, transfer, disclosure, deletion) were inspected; silent skips mean the flow was not mapped.
  2. Regime delta completeness — assert every applicable regime was checked for lawful basis, notice, DPA/BAA/SCC, data-subject rights, breach notification; un-checked obligations are gaps in disguise.
  3. Counsel handoff — verify the artifact explicitly flags which findings need privacy-counsel sign-off vs which are operational decisions; this skill does not replace counsel.

All three must pass. If any fails, return to the failing step.

Step 6: Emit the privacy-review note

Produce the privacy-review artifact for the feature owner, legal / counsel, and DPO if applicable. The artifact is the non-lawyer cognition that prepares the counsel conversation and gates the ship decision; it is not the legal opinion.

Related Skills

WHEN to use this

WHEN NOT to use this

When the agent should load this

Output

  1. data-flow-map.md — six hops × what / who / where / how-long / who-else per hop.
  2. regime-delta.md — applicable regimes × obligations × gaps per hop.
  3. consent-design-note.md — lawful-basis defensibility, withdrawal parity, sensitive-category handling.
  4. breach-impact-triage.md — sized tail per category × hop; notification clock; fine exposure.
  5. counsel-handoff.md — findings that need counsel sign-off vs operational decisions.

Gotcha

Do NOT

Runnable example

Growth-stage SaaS adds an EU customer cohort; existing US-only flow now serves EU data subjects.

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.