[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79WWQ1RKVPYY6VPY07PX3AX":3,"skill-same:01M79WWQ1RKVPYY6VPY07PX3AX":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M79WWQ1RKVPYY6VPY07PX3AX","Data Privacy Compliance",null,"Data privacy and regulatory compliance specialist for GDPR, CCPA, HIPAA, and international data protection laws. Use when implementing privacy controls, conducting data protection impact assessments, ensuring regulatory compliance, or managing data subject rights. Expert in consent management, data minimization, and privacy-by-design principles.","KrismithReddy12\u002Fclaude-code-templates","KrismithReddy12","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F182916557?v=4","01M79T8DNGJRHG48G3H3Q02MK8","01M79TA8ZWV2PP7R4ARWVYWZFE",0,"MIT","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fenterprise-communication\u002Fdata-privacy-compliance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: Data Privacy Compliance\ndescription: Data privacy and regulatory compliance specialist for GDPR, CCPA, HIPAA, and international data protection laws. Use when implementing privacy controls, conducting data protection impact assessments, ensuring regulatory compliance, or managing data subject rights. Expert in consent management, data minimization, and privacy-by-design principles.\n---\n\n# Data Privacy Compliance\n\nComprehensive guidance for implementing data privacy compliance across GDPR, CCPA, HIPAA, and other global data protection regulations.\n\n## When to Use This Skill\n\nUse this skill when:\n- Implementing GDPR, CCPA, or HIPAA compliance\n- Conducting Data Protection Impact Assessments (DPIA)\n- Managing data subject rights (access, deletion, portability)\n- Implementing consent management systems\n- Drafting privacy policies and notices\n- Handling data breaches and incident response\n- Designing privacy-by-design systems\n- Conducting privacy audits and assessments\n\n## Key Regulations Overview\n\n### GDPR (General Data Protection Regulation)\n**Scope:** EU residents' data, regardless of where company is located\n**Key Requirements:**\n- Lawful basis for processing (consent, contract, legitimate interest, etc.)\n- Data subject rights (access, deletion, portability, objection)\n- Data Protection Impact Assessments for high-risk processing\n- 72-hour breach notification requirement\n- Records of processing activities\n- Privacy by design and by default\n\n**Penalties:** Up to €20M or 4% of global annual revenue\n\n### CCPA\u002FCPRA (California Consumer Privacy Act)\n**Scope:** California residents' data\n**Key Requirements:**\n- Right to know what data is collected\n- Right to delete personal information\n- Right to opt-out of sale\u002Fsharing\n- Right to correct inaccurate information\n- Right to limit use of sensitive personal information\n\n**Penalties:** Up to $7,500 per intentional violation\n\n### HIPAA (Health Insurance Portability and Accountability Act)\n**Scope:** Protected Health Information (PHI) in the US\n**Key Requirements:**\n- Privacy Rule (patient rights and information uses)\n- Security Rule (safeguards for ePHI)\n- Breach Notification Rule (60-day notification)\n- Business Associate Agreements (BAAs)\n\n**Penalties:** Up to $1.5M per violation category per year\n\n## Data Subject Rights Implementation\n\n### 1. Right to Access (GDPR Art. 15 \u002F CCPA § 1798.100)\n\n**Request Handler:**\n```javascript\nasync function handleAccessRequest(userId, email) {\n  \u002F\u002F Verify identity\n  const verified = await verifyIdentity(email);\n  if (!verified) throw new Error('Identity verification failed');\n\n  \u002F\u002F Collect all personal data\n  const userData = await collectUserData(userId);\n\n  \u002F\u002F Format for readability\n  const report = {\n    personalInfo: userData.profile,\n    activityLogs: userData.activities,\n    preferences: userData.settings,\n    thirdPartySharing: userData.dataSharing,\n    retentionPeriod: '2 years from last activity',\n    dataProtectionOfficer: 'dpo@company.com'\n  };\n\n  \u002F\u002F Generate downloadable report\n  const pdf = await generatePDFReport(report);\n\n  \u002F\u002F Log request for compliance\n  await logAccessRequest(userId, 'completed');\n\n  return pdf;\n}\n```\n\n**Response Timeline:**\n- GDPR: 1 month (extendable to 3 months)\n- CCPA: 45 days (extendable to 90 days)\n\n### 2. Right to Deletion (GDPR Art. 17 \u002F CCPA § 1798.105)\n\n**Deletion Handler:**\n```javascript\nasync function handleDeletionRequest(userId, email) {\n  \u002F\u002F Verify identity\n  const verified = await verifyIdentity(email);\n  if (!verified) throw new Error('Identity verification failed');\n\n  \u002F\u002F Check for legal obligations to retain\n  const mustRetain = await checkRetentionRequirements(userId);\n  if (mustRetain.required) {\n    return {\n      status: 'partial_deletion',\n      retained: mustRetain.data,\n      reason: mustRetain.legalBasis,\n      retentionPeriod: mustRetain.period\n    };\n  }\n\n  \u002F\u002F Delete from all systems\n  await Promise.all([\n    deleteFromDatabase(userId),\n    deleteFromBackups(userId), \u002F\u002F Mark for deletion in next backup cycle\n    deleteFromAnalytics(userId),\n    deleteFromThirdPartyServices(userId),\n    revokeAPIKeys(userId),\n    anonymizeHistoricalRecords(userId)\n  ]);\n\n  \u002F\u002F Confirm deletion\n  await sendDeletionConfirmation(email);\n  await logDeletionRequest(userId, 'completed');\n\n  return { status: 'deleted', timestamp: new Date() };\n}\n```\n\n**Exceptions (when deletion can be refused):**\n- Legal obligations (tax records, contracts)\n- Public interest\u002Fscientific research\n- Defense of legal claims\n- Exercise of freedom of expression\n\n### 3. Right to Data Portability (GDPR Art. 20)\n\n**Export Handler:**\n```javascript\nasync function handlePortabilityRequest(userId, format = 'json') {\n  const userData = await collectUserData(userId);\n\n  \u002F\u002F Structure in machine-readable format\n  const portableData = {\n    exportDate: new Date().toISOString(),\n    userId: userId,\n    data: {\n      profile: userData.profile,\n      content: userData.userGeneratedContent,\n      settings: userData.preferences,\n      history: userData.activityHistory\n    }\n  };\n\n  \u002F\u002F Support multiple formats\n  if (format === 'csv') {\n    return convertToCSV(portableData);\n  } else if (format === 'xml') {\n    return convertToXML(portableData);\n  }\n\n  return portableData; \u002F\u002F JSON by default\n}\n```\n\n**Requirements:**\n- Structured, commonly used, machine-readable format\n- Ability to transmit directly to another controller\n- Only applies to data provided by data subject\n- Only for automated processing based on consent or contract\n\n### 4. Right to Object (GDPR Art. 21)\n\n**Objection Handler:**\n```javascript\nasync function handleObjectionRequest(userId, processingType) {\n  switch (processingType) {\n    case 'direct_marketing':\n      \u002F\u002F Must stop immediately\n      await disableMarketing(userId);\n      await updateConsent(userId, 'marketing', false);\n      break;\n\n    case 'legitimate_interest':\n      \u002F\u002F Assess if we have compelling grounds\n      const assessment = await assessLegitimateInterest(userId);\n      if (!assessment.compelling) {\n        await stopProcessing(userId, processingType);\n      }\n      return assessment;\n\n    case 'profiling':\n      await disableProfiling(userId);\n      await updateConsent(userId, 'profiling', false);\n      break;\n\n    default:\n      throw new Error('Invalid processing type');\n  }\n\n  await logObjectionRequest(userId, processingType, 'granted');\n}\n```\n\n## Consent Management\n\n### Consent Requirements (GDPR)\n\n**Valid Consent Must Be:**\n1. Freely given (no coercion)\n2. Specific (for each purpose)\n3. Informed (clear language)\n4. Unambiguous (clear affirmative action)\n5. Withdrawable (as easy to withdraw as to give)\n\n**Consent Implementation:**\n```html\n\u003C!-- Good: Granular consent -->\n\u003Cform>\n  \u003Ch3>Privacy Preferences\u003C\u002Fh3>\n\n  \u003Clabel>\n    \u003Cinput type=\"checkbox\" name=\"essential\" checked disabled>\n    \u003Cstrong>Essential cookies (Required)\u003C\u002Fstrong>\n    \u003Cp>Necessary for website functionality\u003C\u002Fp>\n  \u003C\u002Flabel>\n\n  \u003Clabel>\n    \u003Cinput type=\"checkbox\" name=\"analytics\" value=\"analytics\">\n    \u003Cstrong>Analytics cookies\u003C\u002Fstrong>\n    \u003Cp>Help us improve our website by collecting usage data\u003C\u002Fp>\n  \u003C\u002Flabel>\n\n  \u003Clabel>\n    \u003Cinput type=\"checkbox\" name=\"marketing\" value=\"marketing\">\n    \u003Cstrong>Marketing cookies\u003C\u002Fstrong>\n    \u003Cp>Show you personalized ads based on your interests\u003C\u002Fp>\n  \u003C\u002Flabel>\n\n  \u003Cbutton type=\"submit\">Save Preferences\u003C\u002Fbutton>\n  \u003Ca href=\"\u002Fprivacy-policy\">Learn More\u003C\u002Fa>\n\u003C\u002Fform>\n```\n\n**Consent Record Storage:**\n```javascript\nconst consentRecord = {\n  userId: 'user123',\n  timestamp: new Date().toISOString(),\n  consentVersion: '2.0',\n  purposes: {\n    essential: { granted: true, required: true },\n    analytics: { granted: true, purpose: 'Website improvement' },\n    marketing: { granted: false, purpose: 'Personalized advertising' }\n  },\n  ipAddress: '192.168.1.1', \u002F\u002F For proof\n  userAgent: 'Mozilla\u002F5.0...', \u002F\u002F For context\n  method: 'explicit_opt_in' \u002F\u002F or 'implicit', 'presumed'\n};\n\nawait saveConsentRecord(consentRecord);\n```\n\n### Cookie Banner (GDPR Compliant)\n\n```html\n\u003Cdiv id=\"cookie-banner\" role=\"dialog\" aria-labelledby=\"cookie-title\">\n  \u003Ch2 id=\"cookie-title\">Cookie Preferences\u003C\u002Fh2>\n  \u003Cp>\n    We use cookies to enhance your experience. Choose which cookies you\n    allow us to use. You can change your preferences at any time.\n  \u003C\u002Fp>\n\n  \u003Cbutton onclick=\"acceptAll()\">Accept All\u003C\u002Fbutton>\n  \u003Cbutton onclick=\"rejectNonEssential()\">Reject Non-Essential\u003C\u002Fbutton>\n  \u003Cbutton onclick=\"showPreferences()\">Manage Preferences\u003C\u002Fbutton>\n\u003C\u002Fdiv>\n\n\u003Cscript>\n\u002F\u002F Must not load non-essential cookies until consent given\nfunction acceptAll() {\n  setConsent({ analytics: true, marketing: true });\n  loadAnalyticsCookies();\n  loadMarketingCookies();\n  hideBanner();\n}\n\nfunction rejectNonEssential() {\n  setConsent({ analytics: false, marketing: false });\n  hideBanner();\n}\n\u003C\u002Fscript>\n```\n\n## Privacy by Design Principles\n\n### 1. Data Minimization\n\n**Principle:** Collect only data necessary for specified purpose\n\n**Implementation:**\n```javascript\n\u002F\u002F ❌ Bad: Collecting unnecessary data\nconst userRegistration = {\n  email: req.body.email,\n  password: req.body.password,\n  fullName: req.body.fullName,\n  phoneNumber: req.body.phoneNumber, \u002F\u002F Not needed\n  dateOfBirth: req.body.dateOfBirth, \u002F\u002F Not needed\n  address: req.body.address, \u002F\u002F Not needed\n  socialSecurityNumber: req.body.ssn \u002F\u002F Definitely not needed!\n};\n\n\u002F\u002F ✅ Good: Only essential data\nconst userRegistration = {\n  email: req.body.email,\n  password: hashPassword(req.body.password),\n  displayName: req.body.displayName \u002F\u002F Optional\n};\n```\n\n### 2. Purpose Limitation\n\n**Principle:** Use data only for specified, explicit purposes\n\n**Implementation:**\n```javascript\n\u002F\u002F Document and enforce purpose\nconst dataProcessingPurpose = {\n  email: [\n    'account_authentication',\n    'order_confirmations',\n    'password_reset'\n  ],\n  phoneNumber: [\n    'order_delivery_notifications'\n    \u002F\u002F NOT: 'marketing_calls' (requires separate consent)\n  ],\n  purchaseHistory: [\n    'order_fulfillment',\n    'customer_support'\n    \u002F\u002F NOT: 'targeted_advertising' (requires separate consent)\n  ]\n};\n\nasync function processData(data, purpose) {\n  if (!isAllowedPurpose(data.type, purpose)) {\n    throw new Error('Purpose not authorized for this data');\n  }\n  \u002F\u002F Proceed with processing\n}\n```\n\n### 3. Storage Limitation\n\n**Principle:** Retain data only as long as necessary\n\n**Implementation:**\n```javascript\nconst retentionPolicy = {\n  userAccounts: {\n    active: 'indefinite',\n    inactive: '2 years',\n    deleted: '30 days grace period'\n  },\n  orderRecords: '7 years', \u002F\u002F Legal requirement\n  supportTickets: '3 years',\n  analytics: '26 months',\n  marketingData: '1 year or until consent withdrawn'\n};\n\n\u002F\u002F Automated data deletion\nasync function enforceRetentionPolicy() {\n  const now = new Date();\n\n  \u002F\u002F Delete inactive accounts\n  await User.deleteMany({\n    lastActive: { $lt: subYears(now, 2) },\n    status: 'inactive'\n  });\n\n  \u002F\u002F Anonymize old analytics\n  await Analytics.updateMany(\n    { createdAt: { $lt: subMonths(now, 26) } },\n    { $unset: { userId: 1, ipAddress: 1 } }\n  );\n\n  \u002F\u002F Delete expired marketing consent\n  await MarketingConsent.deleteMany({\n    $or: [\n      { expiresAt: { $lt: now } },\n      { withdrawnAt: { $lt: subDays(now, 30) } }\n    ]\n  });\n}\n\n\u002F\u002F Schedule daily\ncron.schedule('0 2 * * *', enforceRetentionPolicy);\n```\n\n## Data Protection Impact Assessment (DPIA)\n\n**When Required (GDPR Art. 35):**\n- Systematic and extensive profiling\n- Large-scale processing of sensitive data\n- Systematic monitoring of publicly accessible areas\n- New technologies with high privacy risks\n\n**DPIA Template:**\n```markdown\n# Data Protection Impact Assessment\n\n## Processing Overview\n- **Purpose**: [Describe the processing activity]\n- **Data Types**: [Personal data categories]\n- **Data Subjects**: [Who is affected]\n- **Recipients**: [Who receives the data]\n\n## Necessity Assessment\n- [ ] Is processing necessary for the stated purpose?\n- [ ] Could the purpose be achieved with less data?\n- [ ] Is the retention period justified?\n\n## Risk Assessment\n| Risk | Likelihood | Severity | Mitigation |\n|------|------------|----------|------------|\n| Data breach | Medium | High | Encryption, access controls |\n| Unauthorized access | Low | High | 2FA, audit logs |\n| Purpose creep | Medium | Medium | Purpose documentation, training |\n\n## Safeguards\n- [ ] Encryption at rest and in transit\n- [ ] Access controls and authentication\n- [ ] Regular security audits\n- [ ] Data minimization applied\n- [ ] Retention policies enforced\n- [ ] DPO consulted\n- [ ] Data subject rights mechanism in place\n\n## Conclusion\nProcessing is\u002Fis not acceptable with proposed safeguards.\n\nSigned: [Data Protection Officer]\nDate: [Assessment Date]\n```\n\n## Privacy Policy Requirements\n\n**Essential Elements:**\n```markdown\n# Privacy Policy\n\n## 1. Identity of Controller\nCompany Name, Address, Contact Information\nData Protection Officer: dpo@company.com\n\n## 2. Data We Collect\n- Account data: email, name\n- Usage data: pages visited, features used\n- Technical data: IP address, browser type\n\n## 3. Legal Basis for Processing\n- **Consent**: Marketing communications\n- **Contract**: Order fulfillment\n- **Legitimate Interest**: Fraud prevention\n- **Legal Obligation**: Tax records\n\n## 4. How We Use Your Data\n- Provide services you requested\n- Improve our products\n- Send important updates\n- [Be specific, avoid vague statements]\n\n## 5. Data Sharing\n- Payment processors (Stripe, PayPal)\n- Shipping providers (FedEx, UPS)\n- Analytics (Google Analytics)\n\nWe do NOT sell your personal data.\n\n## 6. Your Rights\n- Right to access your data\n- Right to correct inaccuracies\n- Right to delete your data\n- Right to object to processing\n- Right to data portability\n- Right to withdraw consent\n\nContact: privacy@company.com\n\n## 7. Data Retention\n- Account data: Until account deletion + 30 days\n- Order history: 7 years (legal requirement)\n- Marketing data: 1 year or until opt-out\n\n## 8. Security\nWe use industry-standard security measures including\nencryption, secure servers, and regular security audits.\n\n## 9. International Transfers\nData may be transferred to US servers. We use Standard\nContractual Clauses approved by the EU Commission.\n\n## 10. Changes to Policy\nLast updated: [Date]\nWe will notify you of material changes via email.\n\n## 11. Contact\nQuestions? Contact our Data Protection Officer at dpo@company.com\n```\n\n## Incident Response\n\n### Data Breach Response Plan\n\n**Within 72 Hours (GDPR):**\n```markdown\n1. **Detect & Contain** (0-4 hours)\n   - Identify scope of breach\n   - Isolate affected systems\n   - Prevent further data loss\n\n2. **Assess** (4-24 hours)\n   - Determine data types affected\n   - Identify number of individuals\n   - Assess risk to rights and freedoms\n   - Document everything\n\n3. **Notify Authority** (24-72 hours)\n   - Report to supervisory authority\n   - Include: nature, categories, approximate numbers,\n     likely consequences, measures taken\n\n4. **Notify Data Subjects** (ASAP if high risk)\n   - Direct communication required\n   - Describe breach in clear language\n   - Provide recommendations for protection\n```\n\n**Breach Notification Template:**\n```\nSubject: Important Security Notice\n\nDear [Name],\n\nWe are writing to inform you of a data security incident that may\nhave affected your personal information.\n\nWHAT HAPPENED:\nOn [date], we discovered that [brief description].\n\nWHAT INFORMATION WAS INVOLVED:\n[List specific data types: name, email, etc.]\n[List what was NOT involved]\n\nWHAT WE ARE DOING:\n- [Immediate actions taken]\n- [Ongoing security enhancements]\n- [Resources provided to affected individuals]\n\nWHAT YOU CAN DO:\n- Change your password immediately\n- Monitor your accounts for suspicious activity\n- [Specific recommendations]\n\nFOR MORE INFORMATION:\nContact our dedicated hotline: [phone]\nEmail: security@company.com\n\nWe sincerely apologize for this incident and the inconvenience\nit may cause.\n\nSincerely,\n[Name, Title]\n```\n\n## Compliance Checklist\n\n### GDPR Compliance\n- [ ] Lawful basis documented for all processing\n- [ ] Privacy policy published and accessible\n- [ ] Consent mechanism implements granular controls\n- [ ] Data subject rights request process established\n- [ ] Records of processing activities maintained\n- [ ] Data Protection Officer appointed (if required)\n- [ ] DPIA conducted for high-risk processing\n- [ ] Data breach notification procedure in place\n- [ ] Vendor contracts include data processing agreements\n- [ ] International data transfer safeguards implemented\n- [ ] Staff training on data protection completed\n\n### CCPA Compliance\n- [ ] \"Do Not Sell My Personal Information\" link on homepage\n- [ ] Privacy policy discloses data collection and sales\n- [ ] Mechanisms for verifiable consumer requests\n- [ ] Process for opt-out requests (48-hour response)\n- [ ] Annual report on requests and compliance\n- [ ] Service provider agreements updated\n- [ ] Notice at collection provided\n\n### HIPAA Compliance\n- [ ] Risk assessment completed\n- [ ] Security policies and procedures documented\n- [ ] Workforce trained on HIPAA requirements\n- [ ] Business Associate Agreements signed\n- [ ] Access controls and audit trails implemented\n- [ ] Encryption for ePHI\n- [ ] Breach notification procedures established\n- [ ] Contingency plan and disaster recovery\n\nPrivacy compliance is an ongoing process, not a one-time checklist. Regularly review and update practices as regulations evolve and your data processing changes.\n","# Data Privacy Compliance\n\nComprehensive guidance for implementing data privacy compliance across GDPR, CCPA, HIPAA, and other global data protection regulations.\n\n## When to Use This Skill\n\nUse this skill when:\n- Implementing GDPR, CCPA, or HIPAA compliance\n- Conducting Data Protection Impact Assessments (DPIA)\n- Managing data subject rights (access, deletion, portability)\n- Implementing consent management systems\n- Drafting privacy policies and notices\n- Handling data breaches and incident response\n- Designing privacy-by-design systems\n- Conducting privacy audits and assessments\n\n## Key Regulations Overview\n\n### GDPR (General Data Protection Regulation)\n**Scope:** EU residents' data, regardless of where company is located\n**Key Requirements:**\n- Lawful basis for processing (consent, contract, legitimate interest, etc.)\n- Data subject rights (access, deletion, portability, objection)\n- Data Protection Impact Assessments for high-risk processing\n- 72-hour breach notification requirement\n- Records of processing activities\n- Privacy by design and by default\n\n**Penalties:** Up to €20M or 4% of global annual revenue\n\n### CCPA\u002FCPRA (California Consumer Privacy Act)\n**Scope:** California residents' data\n**Key Requirements:**\n- Right to know what data is collected\n- Right to delete personal information\n- Right to opt-out of sale\u002Fsharing\n- Right to correct inaccurate information\n- Right to limit use of sensitive personal information\n\n**Penalties:** Up to $7,500 per intentional violation\n\n### HIPAA (Health Insurance Portability and Accountability Act)\n**Scope:** Protected Health Information (PHI) in the US\n**Key Requirements:**\n- Privacy Rule (patient rights and information uses)\n- Security Rule (safeguards for ePHI)\n- Breach Notification Rule (60-day notification)\n- Business Associate Agreements (BAAs)\n\n**Penalties:** Up to $1.5M per violation category per year\n\n## Data Subject Rights Implementation\n\n### 1. Right to Access (GDPR Art. 15 \u002F CCPA § 1798.100)\n\n**Request Handler:**\n```javascript\nasync function handleAccessRequest(userId, email) {\n  \u002F\u002F Verify identity\n  const verified = await verifyIdentity(email);\n  if (!verified) throw new Error('Identity verification failed');\n\n  \u002F\u002F Collect all personal data\n  const userData = await collectUserData(userId);\n\n  \u002F\u002F Format for readability\n  const report = {\n    personalInfo: userData.profile,\n    activityLogs: userData.activities,\n    preferences: userData.settings,\n    thirdPartySharing: userData.dataSharing,\n    retentionPeriod: '2 years from last activity',\n    dataProtectionOfficer: 'dpo@company.com'\n  };\n\n  \u002F\u002F Generate downloadable report\n  const pdf = await generatePDFReport(report);\n\n  \u002F\u002F Log request for compliance\n  await logAccessRequest(userId, 'completed');\n\n  return pdf;\n}\n```\n\n**Response Timeline:**\n- GDPR: 1 month (extendable to 3 months)\n- CCPA: 45 days (extendable to 90 days)\n\n### 2. Right to Deletion (GDPR Art. 17 \u002F CCPA § 1798.105)\n\n**Deletion Handler:**\n```javascript\nasync function handleDeletionRequest(userId, email) {\n  \u002F\u002F Verify identity\n  const verified = await verifyIdentity(email);\n  if (!verified) throw new Error('Identity verification failed');\n\n  \u002F\u002F Check for legal obligations to retain\n  const mustRetain = await checkRetentionRequirements(userId);\n  if (mustRetain.required) {\n    return {\n      status: 'partial_deletion',\n      retained: mustRetain.data,\n      reason: mustRetain.legalBasis,\n      retentionPeriod: mustRetain.period\n    };\n  }\n\n  \u002F\u002F Delete from all systems\n  await Promise.all([\n    deleteFromDatabase(userId),\n    deleteFromBackups(userId), \u002F\u002F Mark for deletion in next backup cycle\n    deleteFromAnalytics(userId),\n    deleteFromThirdPartyServices(userId),\n    revokeAPIKeys(userId),\n    anonymizeHistoricalRecords(userId)\n  ]);\n\n  \u002F\u002F Confirm deletion\n  await sendDeletionConfirmation(email);\n  await logDeletionRequest(userId, 'completed');\n\n  return { status: 'deleted', timestamp: new Date() };\n}\n```\n\n**Exceptions (when deletion can be refused):**\n- Legal obligations (tax records, contracts)\n- Public interest\u002Fscientific research\n- Defense of legal claims\n- Exercise of freedom of expression\n\n### 3. Right to Data Portability (GDPR Art. 20)\n\n**Export Handler:**\n```javascript\nasync function handlePortabilityRequest(userId, format = 'json') {\n  const userData = await collectUserData(userId);\n\n  \u002F\u002F Structure in machine-readable format\n  const portableData = {\n    exportDate: new Date().toISOString(),\n    userId: userId,\n    data: {\n      profile: userData.profile,\n      content: userData.userGeneratedContent,\n      settings: userData.preferences,\n      history: userData.activityHistory\n    }\n  };\n\n  \u002F\u002F Support multiple formats\n  if (format === 'csv') {\n    return convertToCSV(portableData);\n  } else if (format === 'xml') {\n    return convertToXML(portableData);\n  }\n\n  return portableData; \u002F\u002F JSON by default\n}\n```\n\n**Requirements:**\n- Structured, commonly used, machine-readable format\n- Ability to transmit directly to another controller\n- Only applies to data provided by data subject\n- Only for automated processing based on consent or contract\n\n### 4. Right to Object (GDPR Art. 21)\n\n**Objection Handler:**\n```javascript\nasync function handleObjectionRequest(userId, processingType) {\n  switch (processingType) {\n    case 'direct_marketing':\n      \u002F\u002F Must stop immediately\n      await disableMarketing(userId);\n      await updateConsent(userId, 'marketing', false);\n      break;\n\n    case 'legitimate_interest':\n      \u002F\u002F Assess if we have compelling grounds\n      const assessment = await assessLegitimateInterest(userId);\n      if (!assessment.compelling) {\n        await stopProcessing(userId, processingType);\n      }\n      return assessment;\n\n    case 'profiling':\n      await disableProfiling(userId);\n      await updateConsent(userId, 'profiling', false);\n      break;\n\n    default:\n      throw new Error('Invalid processing type');\n  }\n\n  await logObjectionRequest(userId, processingType, 'granted');\n}\n```\n\n## Consent Management\n\n### Consent Requirements (GDPR)\n\n**Valid Consent Must Be:**\n1. Freely given (no coercion)\n2. Specific (for each purpose)\n3. Informed (clear language)\n4. Unambiguous (clear affirmative action)\n5. Withdrawable (as easy to withdraw as to give)\n\n**Consent Implementation:**\n```html\n\u003C!-- Good: Granular consent -->\n\u003Cform>\n  \u003Ch3>Privacy Preferences\u003C\u002Fh3>\n\n  \u003Clabel>\n    \u003Cinput type=\"checkbox\" name=\"essential\" checked disabled>\n    \u003Cstrong>Essential cookies (Required)\u003C\u002Fstrong>\n    \u003Cp>Necessary for website functionality\u003C\u002Fp>\n  \u003C\u002Flabel>\n\n  \u003Clabel>\n    \u003Cinput type=\"checkbox\" name=\"analytics\" value=\"analytics\">\n    \u003Cstrong>Analytics cookies\u003C\u002Fstrong>\n    \u003Cp>Help us improve our website by collecting usage data\u003C\u002Fp>\n  \u003C\u002Flabel>\n\n  \u003Clabel>\n    \u003Cinput type=\"checkbox\" name=\"marketing\" value=\"marketing\">\n    \u003Cstrong>Marketing cookies\u003C\u002Fstrong>\n    \u003Cp>Show you personalized ads based on your interests\u003C\u002Fp>\n  \u003C\u002Flabel>\n\n  \u003Cbutton type=\"submit\">Save Preferences\u003C\u002Fbutton>\n  \u003Ca href=\"\u002Fprivacy-policy\">Learn More\u003C\u002Fa>\n\u003C\u002Fform>\n```\n\n**Consent Record Storage:**\n```javascript\nconst consentRecord = {\n  userId: 'user123',\n  timestamp: new Date().toISOString(),\n  consentVersion: '2.0',\n  purposes: {\n    essential: { granted: true, required: true },\n    analytics: { granted: true, purpose: 'Website improvement' },\n    marketing: { granted: false, purpose: 'Personalized advertising' }\n  },\n  ipAddress: '192.168.1.1', \u002F\u002F For proof\n  userAgent: 'Mozilla\u002F5.0...', \u002F\u002F For context\n  method: 'explicit_opt_in' \u002F\u002F or 'implicit', 'presumed'\n};\n\nawait saveConsentRecord(consentRecord);\n```\n\n### Cookie Banner (GDPR Compliant)\n\n```html\n\u003Cdiv id=\"cookie-banner\" role=\"dialog\" aria-labelledby=\"cookie-title\">\n  \u003Ch2 id=\"cookie-title\">Cookie Preferences\u003C\u002Fh2>\n  \u003Cp>\n    We use cookies to enhance your experience. Choose which cookies you\n    allow us to use. You can change your preferences at any time.\n  \u003C\u002Fp>\n\n  \u003Cbutton onclick=\"acceptAll()\">Accept All\u003C\u002Fbutton>\n  \u003Cbutton onclick=\"rejectNonEssential()\">Reject Non-Essential\u003C\u002Fbutton>\n  \u003Cbutton onclick=\"showPreferences()\">Manage Preferences\u003C\u002Fbutton>\n\u003C\u002Fdiv>\n\n\u003Cscript>\n\u002F\u002F Must not load non-essential cookies until consent given\nfunction acceptAll() {\n  setConsent({ analytics: true, marketing: true });\n  loadAnalyticsCookies();\n  loadMarketingCookies();\n  hideBanner();\n}\n\nfunction rejectNonEssential() {\n  setConsent({ analytics: false, marketing: false });\n  hideBanner();\n}\n\u003C\u002Fscript>\n```\n\n## Privacy by Design Principles\n\n### 1. Data Minimization\n\n**Principle:** Collect only data necessary for specified purpose\n\n**Implementation:**\n```javascript\n\u002F\u002F ❌ Bad: Collecting unnecessary data\nconst userRegistration = {\n  email: req.body.email,\n  password: req.body.password,\n  fullName: req.body.fullName,\n  phoneNumber: req.body.phoneNumber, \u002F\u002F Not needed\n  dateOfBirth: req.body.dateOfBirth, \u002F\u002F Not needed\n  address: req.body.address, \u002F\u002F Not needed\n  socialSecurityNumber: req.body.ssn \u002F\u002F Definitely not needed!\n};\n\n\u002F\u002F ✅ Good: Only essential data\nconst userRegistration = {\n  email: req.body.email,\n  password: hashPassword(req.body.password),\n  displayName: req.body.displayName \u002F\u002F Optional\n};\n```\n\n### 2. Purpose Limitation\n\n**Principle:** Use data only for specified, explicit purposes\n\n**Implementation:**\n```javascript\n\u002F\u002F Document and enforce purpose\nconst dataProcessingPurpose = {\n  email: [\n    'account_authentication',\n    'order_confirmations',\n    'password_reset'\n  ],\n  phoneNumber: [\n    'order_delivery_notifications'\n    \u002F\u002F NOT: 'marketing_calls' (requires separate consent)\n  ],\n  purchaseHistory: [\n    'order_fulfillment',\n    'customer_support'\n    \u002F\u002F NOT: 'targeted_advertising' (requires separate consent)\n  ]\n};\n\nasync function processData(data, purpose) {\n  if (!isAllowedPurpose(data.type, purpose)) {\n    throw new Error('Purpose not authorized for this data');\n  }\n  \u002F\u002F Proceed with processing\n}\n```\n\n### 3. Storage Limitation\n\n**Principle:** Retain data only as long as necessary\n\n**Implementation:**\n```javascript\nconst retentionPolicy = {\n  userAccounts: {\n    active: 'indefinite',\n    inactive: '2 years',\n    deleted: '30 days grace period'\n  },\n  orderRecords: '7 years', \u002F\u002F Legal requirement\n  supportTickets: '3 years',\n  analytics: '26 months',\n  marketingData: '1 year or until consent withdrawn'\n};\n\n\u002F\u002F Automated data deletion\nasync function enforceRetentionPolicy() {\n  const now = new Date();\n\n  \u002F\u002F Delete inactive accounts\n  await User.deleteMany({\n    lastActive: { $lt: subYears(now, 2) },\n    status: 'inactive'\n  });\n\n  \u002F\u002F Anonymize old analytics\n  await Analytics.updateMany(\n    { createdAt: { $lt: subMonths(now, 26) } },\n    { $unset: { userId: 1, ipAddress: 1 } }\n  );\n\n  \u002F\u002F Delete expired marketing consent\n  await MarketingConsent.deleteMany({\n    $or: [\n      { expiresAt: { $lt: now } },\n      { withdrawnAt: { $lt: subDays(now, 30) } }\n    ]\n  });\n}\n\n\u002F\u002F Schedule daily\ncron.schedule('0 2 * * *', enforceRetentionPolicy);\n```\n\n## Data Protection Impact Assessment (DPIA)\n\n**When Required (GDPR Art. 35):**\n- Systematic and extensive profiling\n- Large-scale processing of sensitive data\n- Systematic monitoring of publicly accessible areas\n- New technologies with high privacy risks\n\n**DPIA Template:**\n```markdown\n# Data Protection Impact Assessment\n\n## Processing Overview\n- **Purpose**: [Describe the processing activity]\n- **Data Types**: [Personal data categories]\n- **Data Subjects**: [Who is affected]\n- **Recipients**: [Who receives the data]\n\n## Necessity Assessment\n- [ ] Is processing necessary for the stated purpose?\n- [ ] Could the purpose be achieved with less data?\n- [ ] Is the retention period justified?\n\n## Risk Assessment\n| Risk | Likelihood | Severity | Mitigation |\n|------|------------|----------|------------|\n| Data breach | Medium | High | Encryption, access controls |\n| Unauthorized access | Low | High | 2FA, audit logs |\n| Purpose creep | Medium | Medium | Purpose documentation, training |\n\n## Safeguards\n- [ ] Encryption at rest and in transit\n- [ ] Access controls and authentication\n- [ ] Regular security audits\n- [ ] Data minimization applied\n- [ ] Retention policies enforced\n- [ ] DPO consulted\n- [ ] Data subject rights mechanism in place\n\n## Conclusion\nProcessing is\u002Fis not acceptable with proposed safeguards.\n\nSigned: [Data Protection Officer]\nDate: [Assessment Date]\n```\n\n## Privacy Policy Requirements\n\n**Essential Elements:**\n```markdown\n# Privacy Policy\n\n## 1. Identity of Controller\nCompany Name, Address, Contact Information\nData Protection Officer: dpo@company.com\n\n## 2. Data We Collect\n- Account data: email, name\n- Usage data: pages visited, features used\n- Technical data: IP address, browser type\n\n## 3. Legal Basis for Processing\n- **Consent**: Marketing communications\n- **Contract**: Order fulfillment\n- **Legitimate Interest**: Fraud prevention\n- **Legal Obligation**: Tax records\n\n## 4. How We Use Your Data\n- Provide services you requested\n- Improve our products\n- Send important updates\n- [Be specific, avoid vague statements]\n\n## 5. Data Sharing\n- Payment processors (Stripe, PayPal)\n- Shipping providers (FedEx, UPS)\n- Analytics (Google Analytics)\n\nWe do NOT sell your personal data.\n\n## 6. Your Rights\n- Right to access your data\n- Right to correct inaccuracies\n- Right to delete your data\n- Right to object to processing\n- Right to data portability\n- Right to withdraw consent\n\nContact: privacy@company.com\n\n## 7. Data Retention\n- Account data: Until account deletion + 30 days\n- Order history: 7 years (legal requirement)\n- Marketing data: 1 year or until opt-out\n\n## 8. Security\nWe use industry-standard security measures including\nencryption, secure servers, and regular security audits.\n\n## 9. International Transfers\nData may be transferred to US servers. We use Standard\nContractual Clauses approved by the EU Commission.\n\n## 10. Changes to Policy\nLast updated: [Date]\nWe will notify you of material changes via email.\n\n## 11. Contact\nQuestions? Contact our Data Protection Officer at dpo@company.com\n```\n\n## Incident Response\n\n### Data Breach Response Plan\n\n**Within 72 Hours (GDPR):**\n```markdown\n1. **Detect & Contain** (0-4 hours)\n   - Identify scope of breach\n   - Isolate affected systems\n   - Prevent further data loss\n\n2. **Assess** (4-24 hours)\n   - Determine data types affected\n   - Identify number of individuals\n   - Assess risk to rights and freedoms\n   - Document everything\n\n3. **Notify Authority** (24-72 hours)\n   - Report to supervisory authority\n   - Include: nature, categories, approximate numbers,\n     likely consequences, measures taken\n\n4. **Notify Data Subjects** (ASAP if high risk)\n   - Direct communication required\n   - Describe breach in clear language\n   - Provide recommendations for protection\n```\n\n**Breach Notification Template:**\n```\nSubject: Important Security Notice\n\nDear [Name],\n\nWe are writing to inform you of a data security incident that may\nhave affected your personal information.\n\nWHAT HAPPENED:\nOn [date], we discovered that [brief description].\n\nWHAT INFORMATION WAS INVOLVED:\n[List specific data types: name, email, etc.]\n[List what was NOT involved]\n\nWHAT WE ARE DOING:\n- [Immediate actions taken]\n- [Ongoing security enhancements]\n- [Resources provided to affected individuals]\n\nWHAT YOU CAN DO:\n- Change your password immediately\n- Monitor your accounts for suspicious activity\n- [Specific recommendations]\n\nFOR MORE INFORMATION:\nContact our dedicated hotline: [phone]\nEmail: security@company.com\n\nWe sincerely apologize for this incident and the inconvenience\nit may cause.\n\nSincerely,\n[Name, Title]\n```\n\n## Compliance Checklist\n\n### GDPR Compliance\n- [ ] Lawful basis documented for all processing\n- [ ] Privacy policy published and accessible\n- [ ] Consent mechanism implements granular controls\n- [ ] Data subject rights request process established\n- [ ] Records of processing activities maintained\n- [ ] Data Protection Officer appointed (if required)\n- [ ] DPIA conducted for high-risk processing\n- [ ] Data breach notification procedure in place\n- [ ] Vendor contracts include data processing agreements\n- [ ] International data transfer safeguards implemented\n- [ ] Staff training on data protection completed\n\n### CCPA Compliance\n- [ ] \"Do Not Sell My Personal Information\" link on homepage\n- [ ] Privacy policy discloses data collection and sales\n- [ ] Mechanisms for verifiable consumer requests\n- [ ] Process for opt-out requests (48-hour response)\n- [ ] Annual report on requests and compliance\n- [ ] Service provider agreements updated\n- [ ] Notice at collection provided\n\n### HIPAA Compliance\n- [ ] Risk assessment completed\n- [ ] Security policies and procedures documented\n- [ ] Workforce trained on HIPAA requirements\n- [ ] Business Associate Agreements signed\n- [ ] Access controls and audit trails implemented\n- [ ] Encryption for ePHI\n- [ ] Breach notification procedures established\n- [ ] Contingency plan and disaster recovery\n\nPrivacy compliance is an ongoing process, not a one-time checklist. Regularly review and update practices as regulations evolve and your data processing changes.\n",{"name":5,"description":7},"main","e3744adb7654df443f12927f3e001252b3a26b6d","cli-tool\u002Fcomponents\u002Fskills\u002Fenterprise-communication\u002Fdata-privacy-compliance","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates","https:\u002F\u002Fgithub.com\u002FKrismithReddy12","2026-07-29 08:15:10",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add KrismithReddy12\u002Fclaude-code-templates --skill \"Data Privacy Compliance\"",{"tool":35,"command":36},"bunx","bunx skills add KrismithReddy12\u002Fclaude-code-templates --skill \"Data Privacy Compliance\"",{"tool":38,"command":39},"pnpm","pnpm dlx skills add KrismithReddy12\u002Fclaude-code-templates --skill \"Data Privacy Compliance\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fenterprise-communication\u002Fdata-privacy-compliance\u002FSKILL.md",true,[],[44,51,60,67,74,81],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M79YMXJ07S2BQVB7JAM3657Q","zapier-make-patterns","No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points.  This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fzapier-make-patterns\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":55,"licenseFileUrl":56,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M79YMVPMK3Y4JDP2KDJKQ2ZD","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M79YMMQ4XXMPJHDQHY8FR7ME","workflow-automation","Workflow automation is the infrastructure that makes AI agents reliable. Without durable execution, a network hiccup during a 10-step payment flow means lost money and angry customers. With it, workflows resume exactly where they left off.  This skill covers the platforms (n8n, Temporal, Inngest) and patterns (sequential, parallel, orchestrator-worker) that turn brittle scripts into production-grade automation.  Key insight: The platforms make different tradeoffs. n8n optimizes for accessibility","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fworkflow-automation\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M79YMHQY3CP1XXMQ00TGQFAW","trigger-dev","Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Ftrigger-dev\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M79YME4Z3DRW0MT6BNYW1D7P","slack-automation","Automate Slack workspace operations including messaging, search, channel management, and reaction workflows through Composio's Slack toolkit.","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fslack-automation\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M79YMAX7NFYDFXFZH2TJS7SS","planning-with-files","Transforms workflow to use Manus-style persistent markdown files for planning, progress tracking, and knowledge storage. Use when starting complex tasks, multi-step projects, research tasks, or when the user mentions planning, organizing work, tracking progress, or wants structured output.","https:\u002F\u002Fgithub.com\u002FKrismithReddy12\u002Fclaude-code-templates\u002Fblob\u002Fmain\u002Fcli-tool\u002Fcomponents\u002Fskills\u002Fworkflow-automation\u002Fplanning-with-files\u002FSKILL.md",[],[]]