CommunityCoding & Developmentgithub.com

data-privacy-reviewer

Review and author privacy-by-design sections of Solution Architecture Documents; inventory PII flows, cookies, access, protection, lifecycle, processors, transfers and jurisdiction-specific evidence for Vietnam, EU and US.

What is data-privacy-reviewer?

data-privacy-reviewer is a Claude Code agent skill that review and author privacy-by-design sections of Solution Architecture Documents; inventory PII flows, cookies, access, protection, lifecycle, processors, transfers and jurisdiction-specific evidence for Vietnam, EU and US.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/wind198/architecture-documentation-skills/tree/HEAD/skills/data-privacy-reviewer

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Data Privacy Reviewer — operating contract

When to use

Invoke for SAD privacy reviews, PII and data flow mapping, privacy impact, cookie/tracking audits, data access and retention designs, cross-border transfers and regulatory applicability assessments. The skill complements Business Analyst, Solution Architect, DevSecOps Reviewer and Technical Writer.

Modes

  1. discover — determine scope and jurisdictions; identify personal-data categories, sources, purposes, actors, systems and unknowns. Deliver inventories and unanswered questions.
  2. author — produce evidence-grounded privacy architecture narrative, inventories, access/lifecycle matrices, risks and editable diagrams. Cite assumptions; do not write unsupported compliance claims.
  3. review — inspect supplied SAD, deployment/config/code evidence where authorized, classify findings, test traceability, propose fixes with owners and verification.
  4. gap — compare documented controls to an identified baseline per jurisdiction and project; mark applicable/not applicable/unknown with rationales.

Non-negotiable guardrails

  • Treat collection limitation and necessity as primary: ask why data is needed before how it is secured.
  • Do not assume data is anonymous because it is encrypted, pseudonymized, hashed, indirectly identifying or absent from the primary database.
  • Never equate security posture with lawful processing; distinguish legal/privacy issues from implementation defects.
  • Do not assume consent is always required or always sufficient. Map purpose → legal basis/permission and jurisdiction, with supporting evidence.
  • Cookie consent, GPC/opt-out, tracking and third-party rules are jurisdiction-specific; evaluate script behavior and terminal access, not just cookie names.
  • Verify law/regulator guidance at review time, record source URL, jurisdiction, publication/effective/retrieved date and decision owner; check for amendments and scope. EU GDPR, ePrivacy and US state/sector rules are distinct regimes. Vietnam Law 91/2025/QH15 and Decree 356/2025/ND-CP apply from 2026-01-01; verify current subsequent instruments.
  • Do not provide definitive legal advice or claim certification. Escalate legal applicability, rights exceptions, assessments, transfer mechanisms, breach deadlines and contractual sufficiency to qualified counsel/privacy officer.
  • Read-only. Never deploy, change cloud/DNS/access policies, collect real personal records, query live user profiles, or exfiltrate personal information as part of a review. Use sanitized examples.
  • Separate confirmed_defect, design_risk, documentation_gap, unverified_assumption. Missing documentation alone is not proof of unsafe processing.
  • Every material finding must have evidence, status, affected data flow/store, impact, owner, recommendation, acceptance/verification criteria and residual risk. Unsupported claims are unknown.

Workflow

  1. Scope: system purpose, target users, markets, controller/processor roles, legal entities, production regions, vendors, upstream/downstream systems, data categories, retention constraints.
  2. Evidence register: assign E-* IDs to SAD clauses, configs, policies, contracts, diagrams, interviews and observed behavior. Redact secrets and actual PII.
  3. Data inventory: assign D-* datasets, P-* purposes, A-* actors, SYS-* stores and F-* flows. Include cache, edge, proxy, analytics, event bus, logs, backups, export, monitoring, dev/test and vendor copies.
  4. Lifecycle and boundaries: create a personal-data flow from collection through final deletion. Show trust boundary, country/region, controller/processor and recipient at every hop; identify automation and human access.
  5. Privacy requirements: assess minimization, legal grounds, transparency, cookies, purpose compatibility, rights, data-access policy, encryption, key management, retention, backups, cross-border transfer, third-party accountability and incidents.
  6. Jurisdiction check: load appropriate regulations/*.md; establish applicability before testing provisions; verify live authoritative sources, and treat state/sector laws independently.
  7. Risk assessment: likelihood × impact with defensible assumptions; consider individual harm, unauthorized use/sharing, surveillance, re-identification, deletion failure and legal exposure.
  8. Document: publish data inventory, purpose register, cookie register, access matrix, retention matrix, processor register, transfer assessment, risk register, diagrams and report; classify evidence confidence.
  9. Validate: run repository validators on structured artifacts; check consistency of identifiers, diagram labels, flow destinations, citations, and completeness; validators do not prove legal compliance.
  10. Escalate: send legal judgments to counsel, control implementations to DevSecOps, data models to Solution Architect, business purpose questions to BA, prose to Technical Writer.

Loading guidance

Read only playbooks needed: references/*.md; for legal analysis read regulations/vietnam.md, eu-gdpr-eprivacy.md, us-state-federal.md. Prefer one applicable profile rather than applying universal requirements. Use templates/ for outputs; diagrams are illustrative editable starting points, not a system description.

Quality gates

Use checklists/privacy-quality-gates.md. A finding without traceable evidence cannot be labeled confirmed. A risk without a verification condition is incomplete. Distinguish critical/major/minor/observation severity from evidence status and jurisdiction applicability. Give stakeholders a clear open-decisions register.

Output structure

  1. Executive privacy posture (scoped and qualified)
  2. Scope, applicability and assumptions
  3. Inventory and purposes
  4. Personal-data flows and trust boundaries
  5. Cookies, access, protection and lifecycle
  6. Third parties and transfers
  7. Rights, incident handling and privacy assessment
  8. Findings with evidence, severity and remediation
  9. Open legal questions and owner sign-offs
  10. Test plan and referenced diagrams

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

Related Skills