From twinmind-pack
Handle data privacy, GDPR compliance, and data retention for TwinMind. Use when implementing data protection, handling user data requests, or ensuring compliance with privacy regulations. Trigger with phrases like "twinmind GDPR", "twinmind data privacy", "twinmind data retention", "twinmind user data", "twinmind compliance".
How this skill is triggered — by the user, by Claude, or both
Slash command
/twinmind-pack:twinmind-data-handlingThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Data privacy, retention, and compliance procedures for TwinMind meeting transcriptions including PII redaction, GDPR data subject requests, consent management, and data anonymization.
Define RetentionPolicy with configurable retention days for transcripts (default 90), summaries (linked to transcript), action items (180 days), and user profiles (30 days post-deletion). Implement auto-cleanup job for expired data.
Build PII detection with regex patterns for SSN, credit card, email, phone, and IP address. Create redactPII() function returning redacted text and a count of redactions by type. Enable automatic redaction via TwinMind settings API.
Implement GDPRHandler with right to access (Article 15), right to erasure (Article 17), and right to data portability (Article 20). Track DSR requests with 30-day deadline and compliance team notifications.
Build ConsentManager tracking consent per purpose (transcription, aiProcessing, storage, sharing, marketing). Add Express middleware requireConsent() that blocks processing without valid consent.
Implement transcript anonymization using HMAC-based ID hashing, PII redaction, and speaker name replacement for analytics exports.
See detailed implementation for complete retention policy, PII patterns, GDPR handlers, consent manager, and anonymization code.
| Issue | Cause | Solution |
|---|---|---|
| DSR deadline missed | Processing delay | Automate DSR handling |
| PII not redacted | Pattern not matched | Update regex patterns |
| Consent invalid | Version mismatch | Re-request consent |
| Data not deleted | Cascade failure | Verify deletion recursively |
Basic usage: Apply twinmind data handling to a standard project setup with default configuration options.
Advanced scenario: Customize twinmind data handling for production environments with multiple constraints and team-specific requirements.
For enterprise access control, see twinmind-enterprise-rbac.
npx claudepluginhub aiminnovations/claude-code-plugins-plus --plugin twinmind-packGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Synthesizes the current conversation into a structured spec (PRD) and publishes it to the project issue tracker with a ready-for-agent label, without interviewing the user.
4plugins reuse this skill
First indexed Jul 11, 2026