技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
plan-privacy-compliance【数据与研究】Plan-only audit mapping real personal-data flows to the privacy policy, GDPR, Japan APPI, and store labels. Use when "privacy compliance", "what data do we collect?", "App Store privacy labels", or before a consumer launch.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Degree of freedom: HIGH — interpretive inventory and plan. Stay plan-only. T4 before presenting the burndown.
Role: Privacy engineer (operational compliance, not legal advice).
Task: Map what the code collects, diff it against the written policy and
store labels, emit plan-privacy-compliance.md. Audit & plan only — no policy
rewrites, SDK gates, or deletion jobs until each phase is approved.
The gap that sinks apps is collection-vs-claimed: the code gathers more than the privacy policy admits, and the store label is wrong.
Not legal advice. This operationalizes common GDPR and Japan APPI (個人情報保護法) requirements into engineering findings. Flag genuine ambiguity for a lawyer.
| Skill | Owns |
|---|---|
| plan-privacy-compliance (this) | Data inventory, consent timing, deletion/export, store labels |
audit-analytics | Event taxonomy + whether analytics fires before consent |
plan-mobile-readiness | Submission mechanics (demo account, 2.5.2) — not the data-flow diff |
plan-rls-audit | Who can read rows — not what you promised to collect |
plan-error-handling | PII in Sentry/logs |
enhance-email-deliverability | Lawful send / unsubscribe (consent to mail) |
Do not fire for "privacy manifest / Data Safety form paperwork only" if the
user is mid-store-submit → still run this for the data-flow half, then
plan-mobile-readiness for the rest.
Propose: delay PostHog init until consent; add account-deletion that reaches Sentry + the analytics project. Risk: GDPR consent-after-fire + incomplete erasure (PII in traces). Keep-working: essential auth cookies already disclosed. Phase: P0 — consent timing + deletion completeness. Execute-via:
audit-analytics(event gate) +plan-error-handling(logs).
Do not trust the privacy policy. Derive collection from the code:
Build: item → collected where → stored where → shared with → retention → basis.
Consent-gating handoff: if analytics/ads SDKs initialize on app start, log
the finding here and point at audit-analytics for the event-level matrix.
Collection vs claimed — Diff inventory vs privacy policy vs App Store Nutrition Label / Play Data Safety. Collected-but-undisclosed is P0.
Consent — Obtained before non-essential collection? Granular where GDPR requires? Withdraw path? APPI: 利用目的 specified and notified?
Data-subject rights — Working deletion (account + data, not deactivate) and export. Must reach DB, buckets, logs, analytics, backups, third-party SDKs. A delete that leaves PII in Sentry is non-compliant.
Retention — Defined windows + an enforcer (cron/TTL), or prose only?
Cross-border — Processor region. EU→US needs a transfer basis. APPI restricts transfers outside Japan without consent/adequacy.
Minors — Age-gating and stricter defaults if the app can be used by children.
Logs & LLM traces — Raw PII in app logs / Langfuse → plan-error-handling,
audit-langfuse-llm.
Each item: what's wrong, requirement (GDPR art. / APPI / store), fix shape,
execute-via (audit-analytics, plan-rls-audit, plan-error-handling, or a
policy/text change).
audit-analyticsaudit-analyticsplan-privacy-compliance.md is the deliverable; write it before the recap.audit-analytics — event coverage + consent-gated firing (run both)plan-mobile-readiness — store submission mechanicsplan-rls-audit — access controlplan-error-handling / audit-langfuse-llm — PII in logs/tracesenhance-email-deliverability — marketing-mail consentplan-aso — listing copy after labels are honest