gdpr-compliance
关于
This skill helps developers implement GDPR-compliant marketing features by providing guidance on consent management, privacy notices, and data subject rights. It's useful when designing consent flows, auditing data practices, or handling user data requests. The tool explains specific GDPR requirements based on official articles and guidelines, while developers make the final implementation decisions.
快速安装
Claude Code
推荐npx skills add guia-matthieu/clawfu-skills -a claude-code/plugin add https://github.com/guia-matthieu/clawfu-skillsgit clone https://github.com/guia-matthieu/clawfu-skills.git ~/.claude/skills/gdpr-compliance在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
GDPR Compliance for Marketing
Ensure your marketing activities comply with GDPR requirements for consent, data processing, and privacy rights.
When to Use This Skill
- Designing consent collection flows
- Writing privacy notices
- Auditing marketing data practices
- Handling data subject requests
- Documenting lawful basis
Methodology Foundation
Based on GDPR Articles 6, 7, 12-23 and EDPB Guidelines, covering:
- Lawful basis determination
- Consent requirements
- Transparency obligations
- Data subject rights
- Documentation requirements
What Claude Does vs What You Decide
| Claude Does | You Decide |
|---|---|
| Explains GDPR requirements | Business risk tolerance |
| Drafts compliant language | Implementation priority |
| Identifies gaps | Legal interpretation |
| Creates documentation | DPO consultation needs |
| Suggests controls | Resource allocation |
Instructions
Step 1: Lawful Basis Assessment
Six Lawful Bases (Article 6):
| Basis | Marketing Use | Documentation Needed |
|---|---|---|
| Consent | Email marketing, cookies, tracking | Consent records |
| Contract | Customer communications | Contract terms |
| Legitimate Interest | Soft opt-in, B2B marketing | LIA document |
| Legal Obligation | Regulatory comms | Legal reference |
| Vital Interest | Rarely applicable | - |
| Public Task | Rarely applicable | - |
Marketing Activity Mapping:
| Activity | Typical Basis | Requirements |
|---|---|---|
| Email newsletter | Consent | Double opt-in, easy unsubscribe |
| Existing customer upsell | Legitimate Interest | LIA, opt-out available |
| Cold B2B outreach | Legitimate Interest | LIA, clear identity |
| Website cookies | Consent | Banner, granular choices |
| Retargeting ads | Consent | Cookie consent |
| Lead magnets | Consent | Clear purpose, separate consent |
Step 2: Consent Requirements
Valid Consent Criteria (Article 7):
| Requirement | What It Means | Example |
|---|---|---|
| Freely given | No bundling, no penalty | Separate from T&Cs |
| Specific | Clear purpose stated | "Marketing emails about [X]" |
| Informed | Who, what, why explained | Privacy notice linked |
| Unambiguous | Clear affirmative action | Unchecked checkbox |
| Withdrawable | Easy to revoke | One-click unsubscribe |
Consent Record Requirements:
Record for each consent:
- Who consented (identifier)
- When (timestamp)
- What they consented to (purpose)
- How (mechanism)
- What they were told (notice version)
Step 3: Privacy Notice Requirements
Required Elements (Articles 13-14):
| Element | First-Party Data | Third-Party Data |
|---|---|---|
| Controller identity | Required | Required |
| DPO contact | If applicable | If applicable |
| Purposes | Required | Required |
| Lawful basis | Required | Required |
| Recipients | Required | Required |
| Transfers | If applicable | If applicable |
| Retention | Required | Required |
| Rights | Required | Required |
| Withdrawal | If consent | If consent |
| Complaint right | Required | Required |
| Source | N/A | Required |
Step 4: Data Subject Rights
Rights Framework:
| Right | Timeline | Marketing Impact |
|---|---|---|
| Access (Art. 15) | 1 month | Provide all marketing data |
| Rectification (Art. 16) | 1 month | Update preferences |
| Erasure (Art. 17) | 1 month | Remove from lists |
| Restriction (Art. 18) | 1 month | Pause processing |
| Portability (Art. 20) | 1 month | Export in machine format |
| Objection (Art. 21) | Immediate for marketing | Stop direct marketing |
Step 5: Documentation & Records
Required Documentation:
- Records of Processing Activities (ROPA)
- Legitimate Interest Assessments
- Consent records and mechanisms
- Privacy notices (versioned)
- Data Subject Request log
- Breach notification procedures
Examples
Example 1: Marketing Email Consent Flow
Input:
Design a GDPR-compliant consent flow for:
- SaaS product newsletter
- Product updates
- Promotional offers
- Third-party partner offers
Output:
## GDPR-Compliant Email Consent Flow
### Consent Collection UI
---
**Signup Form Fields:**
Email: [________________]
[ ] I agree to receive the monthly newsletter with industry insights [ ] I agree to receive product updates and feature announcements [ ] I agree to receive promotional offers and discounts [ ] I agree to receive relevant offers from our trusted partners
[Sign Up]
By signing up, you confirm you've read our [Privacy Notice]. You can withdraw consent anytime via unsubscribe link or contacting us.
**Design Requirements:**
- All checkboxes unchecked by default
- No "select all" option
- Each purpose separate
- Privacy notice linked, not buried
- No dark patterns
---
### Consent Record Structure
```json
{
"email": "[email protected]",
"consents": [
{
"purpose": "newsletter",
"granted": true,
"timestamp": "2026-01-31T10:30:00Z",
"source": "signup_form_v3",
"notice_version": "privacy_v2.1"
},
{
"purpose": "product_updates",
"granted": true,
"timestamp": "2026-01-31T10:30:00Z",
"source": "signup_form_v3",
"notice_version": "privacy_v2.1"
},
{
"purpose": "promotional",
"granted": false,
"timestamp": null,
"source": null,
"notice_version": null
},
{
"purpose": "third_party",
"granted": false,
"timestamp": null,
"source": null,
"notice_version": null
}
],
"ip_address": "192.168.1.1",
"user_agent": "Mozilla/5.0..."
}
Email Footer (Required)
---
You're receiving this because you subscribed to our [newsletter/updates].
Manage preferences: [link]
Unsubscribe from this list: [link]
Unsubscribe from all: [link]
[Company Name]
[Address]
[Contact Email]
Preference Center
| Subscription | Status | Action |
|---|---|---|
| Monthly Newsletter | [ON/OFF] | Industry insights and tips |
| Product Updates | [ON/OFF] | New features and improvements |
| Promotional Offers | [ON/OFF] | Discounts and special deals |
| Partner Offers | [ON/OFF] | Relevant third-party offers |
[Update Preferences] [Unsubscribe from All]
Compliance Checklist
- All consents granular (separate checkboxes)
- Checkboxes unchecked by default
- Clear description of each purpose
- Privacy notice accessible
- Withdrawal mechanism clear
- Consent records stored
- Double opt-in implemented
- Unsubscribe in every email
- Preference center available
### Example 2: Legitimate Interest Assessment
**Input:**
We want to email our existing customers about related products. Do we need consent or can we use legitimate interest?
**Output:**
Legitimate Interest Assessment: Customer Cross-Sell
Summary
You can likely rely on legitimate interest (not consent) for emailing existing customers about similar products, but must complete this assessment and offer easy opt-out.
Three-Part LIA Test
1. Purpose Test: Is There a Legitimate Interest?
Interest: Promote related products to existing customers Legitimacy: Yes - recognized business interest in customer development Benefit: Revenue growth, customer relationship deepening
✅ PASS
2. Necessity Test: Is Processing Necessary?
| Question | Answer |
|---|---|
| Is email necessary to achieve the interest? | Yes - direct communication channel |
| Is there a less intrusive way? | In-app notifications possible but less effective |
| Is the processing proportionate? | Yes - limited frequency, relevant content |
✅ PASS (with conditions)
Conditions:
- Limit to genuinely related products
- Reasonable frequency (not daily)
- Honor opt-outs immediately
3. Balancing Test: Individual Rights vs. Your Interest
| Factor | Assessment |
|---|---|
| Nature of data | Basic contact info - low sensitivity |
| Reasonable expectations | Customers expect marketing from sellers |
| Relationship | Existing customer relationship |
| Impact on individual | Minor inconvenience, easy to opt out |
| Safeguards | Opt-out in every email |
✅ PASS
Conclusion
Lawful Basis: Legitimate Interest (Article 6(1)(f))
Requirements for Compliance:
- Document this LIA and keep on file
- Include in privacy notice: "We may contact existing customers about similar products based on legitimate interest. You can opt out at any time."
- Easy opt-out: Every email must have unsubscribe
- Honor preferences: Immediate suppression on opt-out
- Similar products only: Don't expand to unrelated offerings
- Reasonable frequency: No more than weekly
Template Email Footer
You're receiving this as a valued [Company] customer.
Not interested in product updates?
[Opt out of marketing] | [Manage preferences]
This email was sent based on our legitimate interest in keeping
customers informed about relevant products. See our Privacy Notice
for details and your rights.
When This Doesn't Apply
Use consent instead if:
- Products are significantly different
- Customer bought once 2+ years ago
- You acquired data from third party
- Customer previously opted out
- Emails are primarily promotional (not informational)
## Skill Boundaries
### What This Skill Does Well
- Explaining GDPR requirements
- Drafting compliant language
- Creating documentation templates
- Identifying compliance gaps
### What This Skill Cannot Do
- Provide legal advice
- Know your specific jurisdiction nuances
- Guarantee regulatory acceptance
- Replace DPO consultation
### When to Escalate to Human
- Complex cross-border transfers
- Regulatory investigation
- Data breach response
- Novel processing activities
## Iteration Guide
**Follow-up Prompts:**
- "Draft the privacy notice section for [activity]"
- "How do we handle a right to erasure request?"
- "What documentation do we need for [processing]?"
- "Is this cookie banner compliant?"
## References
- GDPR Text (Regulation 2016/679)
- EDPB Guidelines on Consent
- ICO Direct Marketing Guidance
- CNIL Cookie Guidelines
## Related Skills
- `terms-analyzer` - Terms of service review
- `contract-review` - DPA analysis
- `nda-generator` - Confidentiality
## Skill Metadata
- **Domain**: Legal / Marketing
- **Complexity**: Intermediate
- **Mode**: centaur
- **Time to Value**: 1-2 hours per assessment
- **Prerequisites**: Basic GDPR familiarity
GitHub 仓库
相关推荐技能
llamaguard
其他LlamaGuard是Meta推出的7-8B参数内容审核模型,专门用于过滤LLM的输入和输出内容。它能检测六大安全风险类别(暴力/仇恨、性内容、武器、违禁品、自残、犯罪计划),准确率达94-95%。开发者可通过HuggingFace、vLLM或Sagemaker快速部署,并能与NeMo Guardrails集成实现自动化安全防护。
cost-optimization
其他这个Claude Skill帮助开发者优化云成本,通过资源调整、标记策略和预留实例来降低AWS、Azure和GCP的开支。它适用于减少云支出、分析基础设施成本或实施成本治理策略的场景。关键功能包括提供成本可视化、资源规模调整指导和定价模型优化建议。
quantizing-models-bitsandbytes
其他这个Skill使用bitsandbytes库量化大语言模型,能在GPU内存有限时通过8位或4位量化减少50-75%内存占用,同时保持精度损失最小。它支持INT8、NF4、FP4等多种量化格式,可与HuggingFace Transformers无缝集成,适用于需要部署更大模型或加速推理的场景。还提供QLoRA训练和8位优化器支持,让开发者能轻松实现高效模型压缩。
dispatching-parallel-agents
其他该Skill用于并行处理3个以上无依赖关系的独立故障,可为每个问题域分派专属Claude代理同时执行调查修复。它通过并发处理多个独立问题显著提升故障排查效率,特别适用于测试文件、子系统等无共享状态的场景。
