pia-generation
Skill này làm gì
Skill này soạn đánh giá tác động quyền riêng tư (PIA), tức một bản rà soát bằng văn bản về cách sản phẩm mới xử lý dữ liệu cá nhân và những rủi ro nào đi kèm. Skill dành cho nhóm quyền riêng tư và nhân viên sản phẩm.
Khi nào nên dùng
- ✓Khi một nhóm lên kế hoạch cho tính năng mới thu thập hoặc dùng dữ liệu cá nhân.
- ✓Khi ai đó hỏi liệu một dự án có cần đánh giá tác động quyền riêng tư không.
- ✓Khi một tài liệu yêu cầu sản phẩm cần rà soát quyền riêng tư trước khi ra mắt.
Liên kết skill
https://github.com/anthropics/claude-for-legal/blob/main/privacy-legal/skills/pia-generation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Chúng tôi sắp thêm tính năng chia sẻ vị trí vào ứng dụng. Hãy viết đánh giá tác động quyền riêng tư cho nó.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill trước tiên kiểm tra xem có cần đánh giá không, sau đó hỏi nhóm sản phẩm các câu hỏi, hoặc đọc tài liệu yêu cầu sản phẩm nếu bạn chia sẻ. Skill viết đánh giá kèm danh sách điều kiện và chủ sở hữu được nêu tên, rồi chuyển để ký duyệt.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
/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
Câu hỏi thường gặp
Skill có đọc được tài liệu yêu cầu sản phẩm của chúng tôi không?
Có. Nếu bạn chia sẻ tài liệu, skill có thể lấy chi tiết từ đó thay vì hỏi từng câu.
Skill có phê duyệt đánh giá không?
Không. Skill chuyển bản nháp đến những người bạn nêu để ký duyệt.
Nó có hữu ích cho mọi thay đổi nhỏ không?
Không phải lúc nào. Trước tiên skill kiểm tra xem thay đổi có cần một đánh giá đầy đủ không.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 9.9k
- Vị trí xếp hạng
- #12169
- Giấy phép
- Apache-2.0
- Cập nhật
- 29/10/2026
Bình luận
- …
Thêm skill từ kho mã này
ai-inventory
9.9kGiúp agent của bạn lập bản kiểm kê công cụ AI theo từng hệ thống theo Đạo luật AI của EU, ghi vai trò, mức rủi ro và cơ sở phân loại.
aia-generation
9.9kGiúp agent của bạn viết đánh giá tác động AI cho một trường hợp sử dụng, gồm rủi ro, phân loại pháp lý, mức khớp chính sách và điều kiện đề xuất.
cold-start-interview
9.9kGiúp agent của bạn hiểu cách vận hành thực hành quản trị AI qua một cuộc phỏng vấn thiết lập và tạo hồ sơ thực hành từ tài liệu chính sách.
customize
9.9kGiúp agent của bạn chỉnh một phần hồ sơ thực hành quản trị AI, như mức rủi ro, người liên hệ hoặc lập trường chính sách, mà không thiết lập lại.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
architecture-decision-records
280kGiúp agent của bạn ghi lại các quyết định quan trọng về cấu trúc dự án, giúp hiểu lý do đằng sau các lựa chọn và giữ lịch sử thay đổi rõ ràng.
code-tour
280kGiúp agent của bạn tạo các hướng dẫn đọc code từng bước, có tham chiếu chính xác đến file và dòng, hữu ích cho phần giới thiệu, giải thích và rà soát.