Handle user data, privacy, and GDPR compliance with Clerk.Use when implementing data export, user deletion,or privacy compliance features.Trigger with phrases like "clerk user data", "clerk GDPR","clerk privacy", "clerk data export", "clerk delete user".
Content & Writing
1.0K Stars
125 Forks
Updated Jan 18, 2026, 11:36 PM
Why Use This
This skill provides specialized capabilities for jeremylongshore's codebase.
Use Cases
Developing new features in the jeremylongshore repository
Refactoring existing code to follow jeremylongshore standards
Understanding and working with jeremylongshore's codebase structure
---
name: clerk-data-handling
description: |
Handle user data, privacy, and GDPR compliance with Clerk.
Use when implementing data export, user deletion,
or privacy compliance features.
Trigger with phrases like "clerk user data", "clerk GDPR",
"clerk privacy", "clerk data export", "clerk delete user".
allowed-tools: Read, Write, Edit, Bash(npm:*), Grep
version: 1.0.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
compatible-with: claude-code, codex, openclaw
---
# Clerk Data Handling
## Overview
Manage user data, implement privacy features, and ensure compliance with regulations.
## Prerequisites
- Clerk integration working
- Understanding of GDPR/CCPA requirements
- Database with user-related data
## Instructions
1. Step 1: User Data Export
2. Step 2: User Deletion (Right to be Forgotten)
3. Step 3: Data Retention Policies
4. Step 4: Consent Management
5. Step 5: GDPR API Endpoints
6. Step 6: Audit Logging
For full implementation details and code examples, load:
`Read(${CLAUDE_SKILL_DIR}/references/implementation-guide.md)`
## Output
- Data export functionality
- User deletion capability
- Consent management
- Audit logging
## Error Handling
| Scenario | Action |
|----------|--------|
| Partial deletion | Retry failed services, log for manual review |
| Export timeout | Queue export, email when complete |
| Consent sync fail | Retry with exponential backoff |
## Resources
- [GDPR Requirements](https://gdpr.eu)
- [CCPA Requirements](https://oag.ca.gov/privacy/ccpa)
- [Clerk Privacy](https://clerk.com/legal/privacy)
## Next Steps
Proceed to `clerk-enterprise-rbac` for enterprise SSO and RBAC.
## Examples
**Basic usage**: Apply clerk data handling to a standard project setup with default configuration options.
**Advanced scenario**: Customize clerk data handling for production environments with multiple constraints and team-specific requirements.