[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EF2M73TM3CMM8K5JQ46V1Y":3,"skill-same:01M6EF2M73TM3CMM8K5JQ46V1Y":62},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M6EF2M73TM3CMM8K5JQ46V1Y","gdpr-compliance",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fgdpr-compliance\u002FSKILL.md",[],[18,19,20],"compliance","gdpr","gdpr compliance","2026-11-10 10:12:30",false,"# GDPR Compliance\n\n## Overview\n\nThis skill helps AI agents implement GDPR compliance across web applications. It covers the full lifecycle: auditing where personal data lives, building consent management, handling data subject requests (access, deletion, portability), enforcing retention policies, and generating documentation.\n\n## Instructions\n\n### PII Audit\n\n1. Scan database schemas (Prisma, SQL migrations, Sequelize models, TypeORM entities) for PII fields. Flag these patterns:\n   - Direct identifiers: `email`, `name`, `full_name`, `phone`, `address`, `ssn`\n   - Indirect identifiers: `ip_address`, `device_id`, `geo_*`, `lat`, `lng`, `user_agent`\n   - Sensitive data: `date_of_birth`, `gender`, `health_*`, `ethnicity`\n2. Scan application code for PII in logs: search for `console.log`, `logger.*`, `winston.*` calls that include user objects or request IPs.\n3. Scan third-party integrations: check for API calls that send user data (analytics, email providers, payment processors, CRMs).\n4. Output a **Data Flow Inventory** as a markdown table:\n   | Data Type | Storage Location | Shared With | Legal Basis | Retention Period |\n\n### Consent Management\n\n1. Define consent categories:\n   - `strictly_necessary` — always active, no consent needed\n   - `functional` — preferences, language, UI settings\n   - `analytics` — usage tracking, performance monitoring\n   - `marketing` — ad targeting, remarketing pixels\n2. Build a consent banner component that:\n   - Blocks all non-necessary scripts until consent is granted\n   - Provides granular opt-in\u002Fopt-out per category\n   - Stores consent in a database table (not just cookies)\n3. Consent record schema:\n   ```\n   consent_records: id, user_id, version, strictly_necessary (always true),\n   functional (bool), analytics (bool), marketing (bool),\n   ip_address_hash, created_at\n   ```\n4. On consent change, fire a `consent_updated` event that other services can listen to for enabling\u002Fdisabling tracking.\n\n### Data Subject Requests (DSR)\n\nImplement three endpoints:\n\n**Data Export (Right of Access \u002F Portability):**\n- Collect all data for the user across all tables where their ID appears.\n- Include related records (orders, comments, sessions).\n- Return as JSON with a clear structure. Optionally offer CSV.\n- Redact any third-party secrets or internal IDs that are not user data.\n\n**Data Deletion (Right to Erasure):**\n- Do NOT immediately delete. Use a 30-day cooling-off queue.\n- Send confirmation email with a cancel link.\n- After 30 days, either anonymize (replace PII with hashed\u002Fnull values) or hard-delete.\n- Cascade to: logs (redact), sessions (delete), third-party (trigger deletion APIs where available).\n- Keep anonymized records for aggregate analytics if needed.\n\n**Consent History:**\n- Return all consent records for the user, ordered by date.\n- Include version numbers to show what the user agreed to and when.\n\n### Retention Policies\n\n1. Define retention periods per data type based on purpose:\n   - Session data: 90 days\n   - IP addresses: 30 days (anonymize by zeroing last octet)\n   - Soft-deleted accounts: 30 days then hard delete\n   - Audit logs: 1 year (legal requirement)\n   - Marketing data: until consent withdrawn\n2. Build a scheduled job that runs daily and enforces these policies.\n3. Always implement dry-run mode first: log what would be affected without deleting.\n\n### Privacy Policy Generation\n\n1. Use the Data Flow Inventory to auto-generate a privacy policy that lists:\n   - What data is collected\n   - Why (legal basis for each type)\n   - How long it is kept\n   - Who it is shared with\n   - User rights and how to exercise them\n2. Use plain language — avoid legal jargon where possible.\n3. Include placeholder sections for: company name, DPO contact, supervisory authority.\n\n## Examples\n\n### Example 1 — PII detection in Prisma schema\n\n**Input:** \"Audit this Prisma schema for PII.\"\n```prisma\nmodel User {\n  id        String   @id @default(uuid())\n  email     String   @unique\n  name      String\n  phone     String?\n  createdAt DateTime @default(now())\n  orders    Order[]\n}\n```\n\n**Output:**\n```\nPII fields found in model User:\n- email (direct identifier) — requires legal basis, retention policy\n- name (direct identifier) — requires legal basis\n- phone (direct identifier) — requires legal basis, consider encryption at rest\n\nRecommendations:\n1. Add a `deletedAt` field for soft-delete support\n2. Add a `consentVersion` field to track which privacy policy version the user agreed to\n3. Consider encrypting `phone` at rest using application-level encryption\n```\n\n### Example 2 — Data deletion cascade\n\n**Input:** \"Build a deletion handler for a user account.\"\n\n**Output:**\n```js\nasync function handleDeletionRequest(userId) {\n  \u002F\u002F 1. Create deletion request record\n  await db.deletionRequest.create({\n    data: { userId, status: 'pending', expiresAt: addDays(new Date(), 30) }\n  });\n\n  \u002F\u002F 2. Send confirmation email with cancel link\n  await emailService.send(userId, 'deletion-confirmation', {\n    cancelUrl: `${BASE_URL}\u002Fapi\u002Fprivacy\u002Fcancel-deletion?token=${token}`\n  });\n\n  \u002F\u002F 3. After 30 days (triggered by cron job):\n  \u002F\u002F await db.user.update({ where: { id: userId }, data: {\n  \u002F\u002F   email: `deleted-${hash}@anonymized.local`,\n  \u002F\u002F   name: 'Deleted User', phone: null\n  \u002F\u002F }});\n  \u002F\u002F await db.session.deleteMany({ where: { userId } });\n  \u002F\u002F await analyticsService.deleteUser(userId);\n}\n```\n\n## Guidelines\n\n- **GDPR compliance is not just technical.** Always recommend the client consult a legal professional for their specific jurisdiction.\n- **Default to opt-out.** In the EU, analytics and marketing require explicit opt-in. Never pre-check consent boxes.\n- **Anonymize over delete when possible.** Anonymized data is no longer personal data and can be kept for analytics.\n- **Log every DSR.** Regulators may ask for proof that requests were handled within the 30-day deadline.\n- **Test deletion cascades thoroughly.** Missing a single table or third-party integration means non-compliance.\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Fgdpr-compliance",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill gdpr-compliance",{"tool":40,"command":41},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill gdpr-compliance",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill gdpr-compliance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Fgdpr-compliance\u002FSKILL.md",true,[48,54,58],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"code-quality-reviewer-prompt.md","REFERENCE","参考文档",1080,"https:\u002F\u002Fgithub.com\u002Famwtke\u002Fsuperpowers-to-trae\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Fsubagent-driven-development\u002Fcode-quality-reviewer-prompt.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"implementer-prompt.md",4258,"https:\u002F\u002Fgithub.com\u002Famwtke\u002Fsuperpowers-to-trae\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Fsubagent-driven-development\u002Fimplementer-prompt.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"spec-reviewer-prompt.md",1999,"https:\u002F\u002Fgithub.com\u002Famwtke\u002Fsuperpowers-to-trae\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Fsubagent-driven-development\u002Fspec-reviewer-prompt.md",[63,72,81,90,96,102],{"skillNo":64,"name":65,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":21},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[69,70,71],"model","model hierarchy","model hierarchy skill",{"skillNo":73,"name":74,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":21},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[78,79,80],"MCP","zoom","zoom mcp",{"skillNo":82,"name":83,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":21},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[87,88,89,79],"sdk","zoom apps sdk","apps",{"skillNo":91,"name":92,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":21},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[92],{"skillNo":97,"name":98,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":21},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[98],{"skillNo":103,"name":104,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":21},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[104]]