alfadocs-gdpr-consent

Enforce explicit consent and append-only logging for AlfaDocs patient-data transfers.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/alfadocs/ai-harness-instructions --skill alfadocs-gdpr-consent
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: alfadocs-gdpr-consent
Source: https://github.com/alfadocs/ai-harness-instructions/tree/main/lovable/skills/alfadocs-gdpr-consent
Command: npx skills add https://github.com/alfadocs/ai-harness-instructions --skill alfadocs-gdpr-consent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you build AlfaDocs-connected features that handle patient or personal data without violating GDPR consent requirements.

Core Features & Use Cases

  • Explicit Consent Controls: Add a clear opt-in checkbox before any patient data leaves the local browser session.
  • Consent Logging: Store proof of consent with user, practice scope, timestamp, fingerprint, and revocation status in Supabase.
  • Server-Side Enforcement: Route all patient-data transfers through Supabase Edge Functions so consent is checked before every external call.
  • Use Case: Use it when adding exports, syncs, AI requests, email sends, or other integrations that process patient records, clinical notes, or contact details.

Quick Start

Ask for a GDPR-compliant AlfaDocs consent flow with a visible opt-in checkbox, append-only consent logging, and server-side checks before any patient data is sent.

Frequently Asked Questions about alfadocs-gdpr-consent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce GDPR consent for patient data before sending it to external APIs?▼

To enforce GDPR consent for patient data, route all outbound transfers through Supabase Edge Functions that check for recorded explicit consent before allowing any external API calls. This requires a non-pre-ticked opt-in checkbox and server-side validation before every data transfer.

What is the best way to log GDPR consent for patient records in Supabase?▼

Logging GDPR consent for patient records in Supabase requires creating an append-only log that captures the user, practice scope, timestamp, fingerprint, and revocation status. This provides verifiable proof of consent for AlfaDocs-connected features handling personal data.

How do I prevent unsafe patient data exports in healthcare integrations?▼

Preventing unsafe patient data exports requires disabling outbound actions until explicit consent is recorded. Implement visible opt-in checkboxes in the browser and verify the consent log via Edge Functions before any export, sync, or AI integration processes clinical notes or contact details.

Do I need server-side Edge Functions to check consent for every patient data call?▼

Yes, you need server-side Edge Functions to check consent for every patient data call. Relying solely on client-side UI is insufficient; Edge Functions intercept outbound requests to external services or Supabase storage and block transfers if valid consent is missing.

Can I use pre-ticked checkboxes for GDPR patient data consent in AlfaDocs features?▼

No, you cannot use pre-ticked checkboxes for GDPR patient data consent in AlfaDocs features. The requirements mandate explicit, non-pre-ticked opt-in controls to ensure patient consent is actively given before any personal or clinical data is stored, transferred, or processed.

What GDPR consent limitations apply when syncing patient data through third-party services?▼

When syncing patient data through third-party services, GDPR consent limitations require that outbound actions remain disabled until valid consent is recorded. If an append-only log with user and practice scope is missing or revoked, Edge Functions must block the data sync entirely.