pia-generation
What it does
This skill drafts a privacy impact assessment, a written review of how a new product handles personal data and what risks it carries. It is for privacy teams and product staff.
When to use it
- βWhen a team plans a new feature that collects or uses personal data.
- βWhen someone asks whether a privacy impact assessment is needed for a project.
- βWhen a product requirements document needs a privacy review before launch.
Skill link
https://github.com/anthropics/claude-for-legal/blob/main/privacy-legal/skills/pia-generation/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βWe are adding location sharing to the app. Write the privacy impact assessment for it.β
5 new skills a week. 1 minute to read.
How it works
The skill first checks whether an assessment is required, then asks the product team questions or reads a product requirements document if you share one. It writes the assessment with a list of conditions and named owners, and it routes it for sign-off.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
/pia-generation
- Load
~/.claude/plugins/config/claude-for-legal/privacy-legal/CLAUDE.mdβ PIA house style (trigger, structure, depth, sign-off). - Run the workflow below.
- Check: is a PIA actually needed? (House trigger + research the mandatory-assessment triggers for each applicable regime β cite primary sources, verify currency.)
- Intake: ask the product-team questions. Can pull from PRD if provided.
- Write PIA in house format. Include privacy policy consistency check.
- Output with conditions list and named owners. Route for sign-off.
/privacy-legal:pia-generation "Location sharing feature"
/privacy-legal:pia-generation
PRD: [Drive link]
PIA Generation
Matter context
Matter context. Check ## Matter workspaces in the practice-level CLAUDE.md. If Enabled is β (the default for in-house users), skip the rest of this paragraph β skills use practice-level context and the matter machinery is invisible. If enabled and there is no active matter, ask: "Which matter is this for? Run /privacy-legal:matter-workspace switch <slug> or say practice-level." Load the active matter's matter.md for matter-specific context and overrides. Write outputs to the matter folder at ~/.claude/plugins/config/claude-for-legal/privacy-legal/matters/<matter-slug>/. Never read another matter's files unless Cross-matter context is on.
Destination check
Before producing output, check where it's going. If the user has named a destination (a channel, a distribution list, a counterparty, "everyone"), ask whether it's inside the privilege circle. Public channels, company-wide lists, counterparty/opposing counsel, vendors, and clients (for work product) waive the protection. When the destination looks outside the circle, flag it and offer (a) the privileged version for legal only, (b) a sanitized version for the broader channel, or (c) both β don't silently apply a privileged header and then help paste it somewhere the header won't protect it. See the canonical ## Shared guardrails β Destination check in this plugin's CLAUDE.md.
Purpose
A PIA is a conversation with the product team, captured. It asks: what data, why, how long, who sees it, what could go wrong. This skill structures that conversation and writes the output in this team's format β the one learned from the seed PIA during cold-start.
Jurisdiction assumption
This assessment assumes the jurisdictional scope specified in your configuration. Privacy rules, assessment triggers, and lawful bases vary materially by jurisdiction (GDPR vs. state consumer privacy laws vs. sectoral). If the processing activity, controller, or affected data subjects fall under a different jurisdiction, this analysis may not apply as written.
Load prior context on this feature / activity
Before writing a new PIA, check the outputs folder for prior work on the same feature, processing activity, or counterparty. Read ~/.claude/plugins/config/claude-for-legal/privacy-legal/CLAUDE.md β ## Outputs for the path. Scan for:
- Prior
use-case-triageresults covering this activity β the triage's risk rating, mandatory conditions, and called-out concerns are the entry point for the PIA. - Prior
pia-generationoutputs for the same or an overlapping activity β a superseding PIA should reconcile (what changed, what carried over). A PIA that silently produces different conclusions than a prior PIA on the same activity is a contradiction a reviewing attorney cannot see. - Prior
dpa-reviewoutputs for vendors in scope β the DPA review's findings inform the PIA's analysis of subprocessor / cross-border / retention risk.
If a prior output is found, cite it in the PIA:
"Prior triage ([date]) rated this [risk level] and required [conditions]. This PIA builds on that finding β [which conditions are satisfied, which remain, which are re-scoped]."
If a prior PIA exists:
"This PIA supersedes the [date] PIA because [reason β scope change, new data category, vendor change, regulatory change]. Conclusions carried over: [X]. Conclusions revised: [Y, because Z]."
Carry severity from upstream as a floor per the cross-skill severity floor rule in ~/.claude/plugins/config/claude-for-legal/privacy-legal/CLAUDE.md β ## Shared guardrails. A use-case-triage that rated the activity high-risk cannot become a PIA that concludes low-risk without stating why and what changed.
If no prior output is found, say so explicitly β "No pr
FAQ
Can it read our product requirements document?
Yes. If you share the document, the skill can pull the details from it instead of asking every question.
Does it approve the assessment?
No. It routes the draft to the people you name for sign-off.
Is it useful for every small change?
Not always. The skill first checks whether the change needs a full assessment at all.
Details
Original description by the author
Generate a Privacy Impact Assessment in house format for a new feature, product, or processing activity, using the structure learned from your seed PIA. Use when the user says "write a PIA", "privacy impact assessment for", "do we need a PIA for this", "privacy review this feature", or describes a new data processing activity.
Popularity
- GitHub stars
- 9.9k
- Ranking position
- #12169
- License
- Apache-2.0
- Updated
- 10/29/2026
Comments
- β¦
More skills from this repository
ai-inventory
9.9kHelps your agent keep a per-system inventory of AI tools under the EU AI Act, recording each system's role, risk tier and basis for classification.
aia-generation
9.9kHelps your agent write an AI impact assessment for a use case, covering risks, regulatory classification, policy fit and recommended conditions.
cold-start-interview
9.9kHelps your agent learn how your AI governance practice works by running a setup interview and building a practice profile from your policy documents.
customize
9.9kHelps your agent change one part of your AI governance practice profile, such as risk posture, contacts or policy positions, without a full setup.
Similar skills
technical-documentation
394kHelps your agent write and review clear technical docs and agent instruction files, so people and AI tools can follow them easily.
architecture-decision-records
280kHas your agent record important project structure decisions. It helps to understand the reasoning behind choices and maintain a clear history of changes.
code-tour
280kLets your agent create step-by-step code walkthroughs with exact file and line references. Useful for intros, explanations, and reviews.