Logotipo de Memstack Business Gdpr

Memstack Business Gdpr

Comunidad
cwinvestments
memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR applies and how critical it is, then reports required roles, obligations, and remediation. Do NOT use for general security audits (use owasp-top10) or contract drafting (use contract-template).

Add to TypingMind

Descripción general

Editorcwinvestments
Repositoriomemstack
Nombre de la habilidadmemstack-business-gdpr
Estrellas
425
Forks
45
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por cwinvestments en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Memstack Business Gdpr en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/cwinvestments/memstack/tree/master/skills/business/gdpr
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cwinvestments/memstack.git /tmp/memstack
mkdir -p .claude/skills
cp -r /tmp/memstack/skills/business/gdpr .claude/skills/memstack-business-gdpr
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Memstack Business Gdpr en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Memstack Business Gdpr automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Memstack Business Gdpr no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

GDPR: Personal-data assessment from the repo...

Scans a repository for evidence of personal data collection, classifies sensitivity under GDPR, decides whether GDPR applies and how critical the obligations are, and reports the required roles, articles to satisfy, and remediation plan.

Activation

When this skill activates, output:

GDPR, Personal-data assessment from the repo...

Then execute the protocol below.

Context Guard

ContextStatus
User says "GDPR", "data protection", "privacy compliance"ACTIVE
User asks "do I need GDPR", "does GDPR apply to this project"ACTIVE
User says "DSAR", "right to be forgotten", "cookie consent", "DPA"ACTIVE
User asks about CCPA, LGPD, PIPEDA, UK GDPRACTIVE
User wants a generic security auditDORMANT: use owasp-top10
User wants a service agreement or NDADORMANT: use contract-template
User wants RLS / database access policiesDORMANT: use rls-checker

Common Mistakes

MistakeWhy It's Wrong
"We're a US company so GDPR doesn't apply"GDPR follows the data subject, not the company. Any EU/UK resident's data triggers it.
"Hashed emails aren't personal data"Hashes are still personal data if reversible or linkable. True anonymisation is irreversible.
"Cookie banner with only Accept"Reject must be equally prominent. Pre-ticked = invalid consent.
"Legitimate interest covers everything"Requires a documented balancing test. Cannot be used for special category data or marketing to children.
"We'll get the DPA later"Article 28 requires a written DPA before processing begins.
"72-hour clock starts after we finish investigating"The clock starts on awareness of a likely breach.

Disclaimer: Produces a compliance assessment, not legal advice. Engage a qualified DPO or data-protection lawyer before relying on outputs for regulated processing.

Protocol

Step 1: Scan the repo for personal-data signals

Don't ask the user what they collect, find out from the code. Run discovery against every relevant surface:

Database schemas / migrations

bash
find . \( -name "*.sql" -o -name "schema.prisma" -o -name "models.py" -o -name "*.dbml" \) -not -path "*/node_modules/*"
grep -rEin "email|phone|address|first_?name|last_?name|date_?of_?birth|dob|ssn|passport|tax_?id|national_?id|ip_?address|geo|lat|lng|location|gender|race|religion|health|medical|biometric|fingerprint|face|child|minor" --include="*.sql" --include="*.prisma" --include="*.py" --include="*.ts"

Form / UI input fields

bash
grep -rEin "<input[^>]*name=|formField|FormControl|registerField" --include="*.tsx" --include="*.jsx" --include="*.vue" --include="*.svelte"
grep -rEin "type=[\"']email[\"']|type=[\"']tel[\"']|autoComplete=[\"'](name|email|tel|address|cc-|bday)" .

API request schemas / DTOs

bash
grep -rEin "z\.object|class.*BaseModel|interface.*Request|Schema\(" --include="*.ts" --include="*.py"

Auth configuration

bash
find . -iname "auth*" -o -iname "*supabase*" -o -iname "*clerk*" -o -iname "*next-auth*" -o -iname "*firebase*"
grep -rEin "providers:|GoogleProvider|GitHubProvider|EmailProvider|magicLink|phoneSignIn"

Analytics / tracking SDKs

bash
grep -rEin "posthog|mixpanel|amplitude|segment|google-?analytics|gtag|fbq|hotjar|fullstory|datadog.*RUM|sentry" .

Cookies / sessions

bash
grep -rEin "Set-Cookie|cookies\.set|res\.cookie|getServerSession|session\(" .

Logging that may capture PII

bash
grep -rEin "console\.log.*req\.|logger\.(info|debug).*body|print\(.*request" .

Third-party data recipients

bash
cat package.json requirements.txt pyproject.toml composer.json Gemfile 2>/dev/null | grep -Ei "stripe|paypal|sendgrid|mailgun|twilio|openai|anthropic|hubspot|intercom|zendesk|algolia"

Existing privacy artifacts (gap check)

bash
find . \( -iname "privacy*" -o -iname "*dpa*" -o -iname "ropa*" -o -iname "cookie-policy*" -o -iname "data-processing*" \)

Record findings in a working table:

markdown
| Source | Field / Signal | Personal Data? | Sensitivity Class |
|--------|---------------|----------------|-------------------|
| db/schema.sql L42 | users.email | Yes | Identifier |
| db/schema.sql L43 | users.phone | Yes | Identifier |
| src/forms/Profile.tsx L18 | dob input | Yes | Identifier (age) |
| src/forms/Health.tsx L7 | medical_conditions | Yes | **Special category (Art 9)** |
| package.json | posthog-js | Yes: behavioral | Behavioral |
| src/api/users.ts L88 | logger.info(req.body) | Possible PII leak | Risk |

If no personal-data signals are found, jump to Step 3 with verdict NO and stop.

Step 2: Classify sensitivity

Bucket every confirmed finding into one or more of:

ClassExamplesGDPR Treatment
Identifiername, email, phone, address, account ID, IPStandard personal data, Art 6 lawful basis required
Financialcard number, bank account, billing addressStandard personal data + PCI scope considerations
Locationprecise GPS, geo, IP-derived cityStandard personal data; precise location may require explicit consent
Behavioralclickstream, page views, session recording, fingerprintStandard personal data; consent for non-essential cookies/tracking
Government IDpassport, SSN, national ID, driver's licenceStandard personal data but elevated risk; often national-law restricted
Special category (Art 9health, biometric, genetic, race, ethnicity, religion, political, sexual orientation, trade-unionProhibited unless an Art 9(2) condition applies) almost always explicit consent
Children's data, Art 8any data from users under 16 (age varies 13 to 16 by member state)Requires parental consent for information-society services
Criminal data, Art 10offences, convictionsOnly under official authority or specific national law

Step 3: Verdict: does GDPR apply, and how critical?

markdown
| Question | Answer |
|----------|--------|
| Is any personal data collected? | [Yes / No] |
| Are EU/UK data subjects in scope? | [Yes / Probably (global product) / No (closed user base)] |
| Any special category data (Art 9)? | [Yes / No] |
| Any children's data (Art 8)? | [Yes / No] |
| Large-scale or systematic monitoring? | [Yes / No] |
| Third parties / processors involved? | [Yes / No] |
| Cross-border transfers outside EU/UK? | [Yes / No / Unknown] |

Verdict matrix:

ScenarioVerdictCriticality
No personal data at allGDPR does not applyNone
Personal data + EU/UK subjects unlikely (e.g. closed internal tool, non-EU user base)GDPR applies if even one EU/UK subject; treat as best practice🟩 LOW
Standard identifiers + EU/UK subjectsGDPR applies🟨 MEDIUM
Identifiers + financial / location / behavioral trackingGDPR applies, multiple obligations🟧 HIGH
Any Art 9 special category dataGDPR applies, strict🟥 CRITICAL
Any children's dataGDPR applies, strict + Art 8 parental consent🟥 CRITICAL
Large-scale systematic monitoring or profilingGDPR applies, DPIA required🟥 CRITICAL

Step 4: Map required roles

Based on the verdict, list which roles the project must staff:

RoleTriggered WhenStatus
Controller (Art 4(7))Project decides purposes and means of processing: almost always youRequired
Joint controllers (Art 26)Shared decisions with another orgCheck
Processor (Art 4(8))You process data on behalf of another controllerCheck
DPO (Art 37)Public authority, OR core activities = large-scale systematic monitoring, OR core activities = large-scale special categoryRequired if any trigger
Art 27 EU representativeController/processor not established in EU but processes EU data, AND processing is not occasionalRequired if any trigger
Internal ownerEvery project, accountable for GDPR posture day-to-dayRequired

Step 5: Map required articles to fulfill

Only list the articles that actually trigger for this project, with a one-line "what to do" for each:

ArticleObligationTriggered?Concrete action
Art 5: PrinciplesLawfulness, fairness, transparency, purpose limitation, minimisation, accuracy, storage limitation, integrity, accountabilityAlwaysDocument each principle is met
Art 6, Lawful basisPick one of 6 bases per processing activityAlwaysAdd lawful basis column to ROPA
Art 7: Conditions for consentIf any basis is consentIf consentImplement explicit, granular, withdrawable consent UI
Art 8, ChildrenIf under-16 usersIf childrenParental consent flow
Art 9, Special categoryIf health/biometric/etc.If Art 9 dataExplicit consent + extra safeguards
Art 13/14, TransparencyPrivacy notice at collectionAlwaysPublish privacy policy that mirrors actual processing
Art 15 to 22: Subject rightsAccess, rectification, erasure, restriction, portability, objection, ADMAlwaysImplement DSAR endpoint + 30-day SLA
Art 25, Privacy by designDefault settings minimise dataAlwaysCode review checklist
Art 28, ProcessorsWritten DPA before processingIf any processorSign DPAs with every vendor
Art 30, ROPARecord of Processing ActivitiesIf 250+ employees OR not occasional OR Art 9Maintain ROPA
Art 32: SecurityTIA-equivalent technical/organisational measuresAlwaysDocument encryption, access control, backups
Art 33, Breach to authority72h notificationAlwaysBreach runbook
Art 34, Breach to subjectsWithout undue delay if high riskAlwaysSubject notification template
Art 35, DPIAHigh-risk processingIf profiling/large scale/Art 9Run DPIA before launch
Art 37 to 39, DPOIf triggered (see Step 4)If triggeredAppoint and publish
Chapter V, TransfersInternational transfersIf anySCCs / adequacy / BCRs + TIA

Step 6: Gap analysis from the repo

For each triggered article in Step 5, check whether the repo already has evidence of the obligation:

markdown
| Obligation | Evidence in repo? | Gap |
|------------|-------------------|-----|
| Privacy policy (Art 13) | ❌ Not found | Draft from ROPA |
| Cookie banner (ePrivacy + Art 6) | ✅ src/components/CookieBanner.tsx | Verify reject is equally prominent |
| DSAR endpoint (Art 15 to 22) | ❌ Not found | Implement /api/account/export and /api/account/delete |
| DPA with Stripe (Art 28) | ❓ Unknown | Confirm signed, store reference |
| Breach runbook (Art 33) | ❌ Not found | Create docs/security/breach-runbook.md |
| ROPA (Art 30) | ❌ Not found | Draft from Step 1 inventory |
| DPIA (Art 35) | ❌ Required (Art 9 data present) | Run before any launch |

Step 7: Produce the assessment report

markdown
## GDPR Assessment: [Project Name]

**Date:** [YYYY-MM-DD]
**Verdict:** GDPR **[APPLIES / DOES NOT APPLY / APPLIES AS BEST PRACTICE]**
**Criticality:** [🟥 CRITICAL / 🟧 HIGH / 🟨 MEDIUM / 🟩 LOW / None]

### Why this verdict
[2 to 4 sentences referencing the specific data found in Step 1: e.g. "The repo collects user emails, phone numbers, dates of birth, and self-reported medical conditions through src/forms/Health.tsx. The medical_conditions field is special category data under Article 9, which elevates the project to CRITICAL regardless of user geography."]

### Personal data inventory
[Table from Step 1, filtered to confirmed personal data]

### Sensitivity classification
[Counts per class from Step 2]

### Required roles
[Table from Step 4]

### Required articles to satisfy
[Filtered table from Step 5 showing only triggered rows]

### Gaps found in the repo
[Table from Step 6]

### Remediation plan (priority order)
1. **🟥 [Critical fix]**: [what + which file/system + estimated effort]
2. **🟧 [High fix]**: ...
3. **🟨 [Medium fix]**: ...
4. **🟩 [Low / hardening]**: ...

### What to do if you ignore this
[1 to 3 sentences naming the concrete legal exposure: maximum fines under Art 83 are €20M or 4% of global annual turnover, whichever is higher; supervisory authority enforcement; reputational damage; civil claims under Art 82.]

### Recommended next steps
1. [Owner], [Action], [Due]
2. ...

Output Format

Deliver the Step 7 report as markdown. Save under docs/compliance/gdpr-assessment.md if a project layout is available. Include the exact discovery commands you ran in an appendix so the user can reproduce the scan.

Completion

GDPR: Assessment complete!

Verdict: [APPLIES / DOES NOT APPLY / BEST PRACTICE]
Criticality: [tier]
Personal data fields found: [N]
Special category fields: [N]
Triggered articles: [N]
Gaps to remediate: [N]

Next steps:
1. Address all 🟥 CRITICAL gaps before any further processing
2. Draft missing artifacts (privacy policy, ROPA, DPA, breach runbook)
3. Implement DSAR endpoints in the codebase
4. Run a DPIA if special-category or large-scale profiling is in scope
5. Have a qualified DPO or data-protection lawyer review before going live

Level History

  • Lv.1: Base: repo-driven scan across schemas/forms/DTOs/auth/analytics/cookies/logging/third parties, sensitivity classification (identifier/financial/location/behavioral/Art 9/Art 8/Art 10), verdict matrix with 7 scenarios, role mapping (Controller/Processor/DPO/Art 27 rep), 16-article obligation map, repo gap analysis, full assessment report with criticality tier, why-this-verdict section, remediation priority list, and exposure summary. (Origin: MemStack Pro v3.6, Apr 2026)

Preguntas frecuentes

¿Qué hace la habilidad de IA Memstack Business Gdpr?

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR applies and how critical it is, then reports required roles, obligations, and remediation. Do NOT use for general security audits (use owasp-top10) or contract drafting (use contract-template).

¿Por qué usar Memstack Business Gdpr en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Memstack Business Gdpr está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Memstack Business Gdpr en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/cwinvestments/memstack/tree/master/skills/business/gdpr. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Memstack Business Gdpr?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Memstack Business Gdpr?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Memstack Business Gdpr con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Memstack Business Gdpr?

Sí. cwinvestments la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇