vercel-data-handling

Featured

Implement data handling, PII protection, and GDPR/CCPA compliance for Vercel deployments. Use when handling sensitive data in serverless functions, implementing data redaction, or ensuring privacy compliance on Vercel. Trigger with phrases like "vercel data", "vercel PII", "vercel GDPR", "vercel data retention", "vercel privacy", "vercel compliance".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Vercel Data Handling ## Overview Handle sensitive data correctly on Vercel: PII redaction in logs, GDPR-compliant data processing in serverless functions, secure cookie management, and data residency configuration. Covers both what Vercel stores and what your application should protect. ## Prerequisites - Understanding of GDPR/CCPA requirements - Vercel Pro or Enterprise (for data residency options) - Logging infrastructure with PII awareness ## Instructions ### Step 1: Understand What Vercel Stores | Data Type | Where | Retention | Control | |-----------|-------|-----------|---------| | Runtime logs | Vercel servers | 1hr (free), 30d (Plus) | Log drains | | Build logs | Vercel servers | 30 days | Automatic | | Analytics data | Vercel | Aggregated, no PII | Disable in dashboard | | Deployment source | Vercel | Until deleted | Manual deletion | | Environment variables | Vercel (encrypted) | Until deleted | Scoped access | ### Step 2: PII Redaction in Logs ```typescript // lib/redact.ts — redact PII before logging const PII_PATTERNS: [RegExp, string][] = [ [/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b/g, '[EMAIL]'], [/\b\d{3}[-.]?\d{3}[-.]?\d{4}\b/g, '[PHONE]'], [/\b\d{3}-\d{2}-\d{4}\b/g, '[SSN]'], [/\b\d{4}[\s-]?\d{4}[\s-]?\d{4}[\s-]?\d{4}\b/g, '[CARD]'], [/\b(?:Bearer|token|key|secret|password)\s*[:=]\s*\S+/gi, '[CREDENTIAL]'], ]; export function redact(text: string): string { let result = text; for (const [pattern, replacement] of PII_PATTERNS) ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category