pia-generation
它能做什么
这项技能起草隐私影响评估,即对一项新产品如何处理个人数据以及其带来何种风险的书面审查。适合隐私团队和产品人员。
适用场景
- ✓当某个团队计划推出一项收集或使用个人数据的新功能时。
- ✓当有人询问某个项目是否需要隐私影响评估时。
- ✓当产品需求文件在上线前需要进行隐私审查时。
技能链接
https://github.com/anthropics/claude-for-legal/blob/main/privacy-legal/skills/pia-generation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们要在应用中加入位置共享功能。请为它撰写隐私影响评估。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能会先检查是否需要评估,然后向产品团队提问,如果你分享了产品需求文件,它会读取该文件。它会撰写评估,附上条件清单和指定的负责人,并转交审批。
技术内容(原始 SKILL.md)
作者在 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
常见问题
它可以读取我们的产品需求文件吗?
可以。如果你分享该文件,这项技能可以从中提取细节,而不必逐一询问。
它会批准评估吗?
不会。它会把草稿转交你指定的人进行审批。
对于每个小改动都有用吗?
不一定。这项技能会先检查该改动是否需要完整的评估。
详情
作者的原始描述
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.
热度
- GitHub 星标
- 9.9k
- 排名
- #12169
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/29
评论
- …
同一仓库的更多技能
ai-inventory
9.9k帮你的智能体按系统维护一份符合欧盟 AI 法案的 AI 工具清单,记录每个系统的角色、风险等级和分类依据。
aia-generation
9.9k帮你的智能体为某个应用场景撰写 AI 影响评估,涵盖风险、监管分类、政策契合度和建议的附加条件。
cold-start-interview
9.9k帮你的智能体通过设置访谈并根据你的政策文件建立实践档案,从而了解你的 AI 治理实践如何运作。
customize
9.9k帮你的智能体修改 AI 治理实践档案中的某一部分,例如风险态度、联系人或政策立场,无需完整重新设置。