
from agentic-security63
Pre-write privacy review that classifies PII/PHI/PCI, traces where data flows, and generates a DATA_FLOW.md record before code that touches sensitive fields is
This skill performs a pre-write privacy review whenever code touches potentially sensitive user data (PII, PHI, PCI, GDPR special categories, or confidential business data). It classifies fields, traces storage/transit/third-party processors, maps applicable jurisdictions and regulations, and writes a structured DATA_FLOW.md entry to the project's scratchpad.
Invoke before editing or writing code that reads, logs, stores, or transmits user-identifiable data — e.g., adding a new field to an API, instrumenting logs, or integrating a processor like Sentry or OpenAI. It should run as a gate in code review or automated pre-commit checks for sensitive fields.
Agents that perform code edits, code-review automation, or compliance scanning can use this (Codex, Claude Code, static analysis bots). The guidance is implementation-agnostic but assumes access to repo files and the ability to append to a project scratchpad.
This skill has not been reviewed by our automated audit pipeline yet.