Lgpd Dsar logo

Lgpd Dsar

Community
goul4rt
lgpd-dsar

Implement endpoints and workflow for data subject access requests (direitos do titular) under LGPD Art. 18. Use when user asks for "DSAR", "direitos do titular", "exportar dados do usuário", "portabilidade LGPD", "exclusão de conta LGPD", "right to be forgotten", or as part of audit pipeline. Covers all 9 rights (confirmação, acesso, correção, anonimização, portabilidade, eliminação, info compartilhamento, info não-consentir, revogação). The 15-day deadline (Art. 19, II) is non-negotiable — encoded in this skill. Outputs `.lgpd/dsar/workflow.md` + endpoint specs.

Overview

Publishergoul4rt
Repositorylgpd-skills
Skill namelgpd-dsar
Stars
107
Forks
15
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by goul4rt on GitHub. Read the source before you install it.

Installation

Install the Lgpd Dsar AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/goul4rt/lgpd-skills/tree/main/skills/lgpd-dsar
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/goul4rt/lgpd-skills.git /tmp/lgpd-skills
mkdir -p .claude/skills
cp -r /tmp/lgpd-skills/skills/lgpd-dsar .claude/skills/lgpd-dsar
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Lgpd Dsar in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Lgpd Dsar on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Lgpd Dsar is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

DSAR — Direitos do Titular (Art. 18 LGPD)

Implementação dos 9 direitos do titular com SLA de 15 dias corridos (Art. 19, II) para resposta completa. Para ATPP, 30 dias (Res. 2/2022, Art. 14).

Os 9 direitos

#Direito (Art. 18)Endpoint sugeridoSLA
IConfirmação de existênciaGET /api/meimediato
IIAcesso aos dadosGET /api/me/exportimediato (simplificado) / 15d (completo)
IIICorreção de dadosPATCH /api/me/profileimediato
IVAnonimização/bloqueio/eliminação de dados desnecessáriosmanual (ticket)15d
VPortabilidadeGET /api/me/export?format=portable15d
VIEliminação dos dados (revogação de consentimento)POST /api/me/erasure15d
VIIInformação sobre compartilhamentojá na política / GET /api/me/sharingimediato
VIIIInformação sobre não consentirjá na política / signupimediato
IXRevogação de consentimentoPOST /api/consent/revokeimediato

Workflow

Intake

3 canais mínimos:

  1. API self-service (titular autenticado)
  2. Formulário web para titulares não-logados ou casos especiais
  3. Canal do Encarregado (e-mail) — sempre obrigatório (Res. 18/2024)

Verificação de identidade

  • Titular autenticado → suficiente.
  • Titular não autenticado → mínimo necessário (não onere). Verificação por e-mail/SMS associado é geralmente suficiente.
  • NÃO peça mais dados pessoais como condição — princípio da necessidade (Art. 6º, III).

Fluxo de fulfillment

Cuidados específicos

Eliminação (Art. 18, VI) vs. retenção legal (Art. 16):

  • Fiscal: 5 anos (CTN Art. 174 + outras)
  • Trabalhista: 5 anos
  • Bancário: 10 anos (CMN)
  • Marco Civil: 6 meses para logs (Lei 12.965/2014)
  • LGPD não revoga essas obrigações → bloqueio (não eliminação) durante o prazo, eliminação após.

Portabilidade (Art. 18, V):

  • Formato estruturado e interoperável (JSON canonicalizado, CSV, XML).
  • "Segredo comercial e industrial" pode restringir partes (Art. 19, II).
  • Não inclui dados inferidos pelo controlador (ponto controverso — incluir é boa-fé).

Revisão de decisão automatizada (Art. 20):

  • Implementar endpoint dedicado se o produto usa decisões automatizadas que afetam o titular (credit scoring, content moderation, recommendation com impacto material).
  • Após Lei 13.853/2019, não há obrigação explícita de revisor humano — mas é boa prática.

Endpoint specs

Ver assets/endpoints.md para implementação detalhada em Next.js / React Native.

Audit logging obrigatório

Cada DSAR gera entradas em AuditLogEntry:

  • DSAR_RECEIVED
  • DSAR_IDENTITY_VERIFIED
  • DSAR_FULFILLED (com hash do payload entregue)
  • DSAR_REJECTED (com motivo)

Mantenha por 5 anos no mínimo (prova de conformidade + alinhamento com Art. 10 Res. 15/2024).

UI mobile / web

  • Tela "Meus Dados" sempre acessível no menu de configurações
  • Botões claros: Exportar | Corrigir | Excluir | Gerenciar Consentimentos
  • Confirmação dupla para eliminação (proteção contra clique acidental)
  • Indicador de status do pedido em andamento

Status update

markdown
## F5 — DSAR ✓
- Endpoints: {lista implementada}
- UI mobile: tela /privacy implementada
- SLA configurado: 15 dias com alertas em 10 e 13 dias
- Backlog atual: 0 pedidos abertos
- Próximo: lgpd-audit-logging

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Lgpd Dsar AI skill do?

Implement endpoints and workflow for data subject access requests (direitos do titular) under LGPD Art. 18. Use when user asks for "DSAR", "direitos do titular", "exportar dados do usuário", "portabilidade LGPD", "exclusão de conta LGPD", "right to be forgotten", or as part of audit pipeline. Covers all 9 rights (confirmação, acesso, correção, anonimização, portabilidade, eliminação, info compartilhamento, info não-consentir, revogação). The 15-day deadline (Art. 19, II) is non-negotiable — encoded in this skill. Outputs `.lgpd/dsar/workflow.md` + endpoint specs.

Why use Lgpd Dsar on TypingMind?

Because you install it once and use it with any model. Lgpd Dsar is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Lgpd Dsar in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/goul4rt/lgpd-skills/tree/main/skills/lgpd-dsar. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Lgpd Dsar?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Lgpd Dsar?

As many as you like. As long as a model supports skills, you can use Lgpd Dsar with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Lgpd Dsar AI skill free?

Yes. It is published on GitHub by goul4rt under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇