Lgpd Legacy Retrofit logo

Lgpd Legacy Retrofit

Community
goul4rt
lgpd-legacy-retrofit

Run a gap analysis and retrofit plan for an existing system that wasn't built with LGPD in mind. Use when user asks 'auditar projeto legado LGPD', 'gap analysis LGPD', 'sistema antigo LGPD', 'temos LGPD?', 'estamos em compliance?', or when invoking lgpd-audit on a legacy codebase. Produces prioritized remediation plan in `.lgpd/gaps.md`. Entry point for Pipeline B.

Overview

Publishergoul4rt
Repositorylgpd-skills
Skill namelgpd-legacy-retrofit
Stars
107
Forks
15
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Lgpd Legacy Retrofit 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-legacy-retrofit
  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-legacy-retrofit .claude/skills/lgpd-legacy-retrofit
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Lgpd Legacy Retrofit 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 Legacy Retrofit 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 Legacy Retrofit 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.

Legacy Retrofit — LGPD Gap Analysis

Skill de entrada para auditar e remediar sistemas legados. Não tenta resolver tudo de uma vez — produz plano priorizado.

Workflow (em uma sessão)

Fase 1: Discovery (1-2h)

Investigue o código existente:

  1. Schema do banco — prisma/schema.prisma, migrations
  2. APIs — rotas, controllers, GraphQL schemas
  3. SDKs de terceiros — package.json, env vars
  4. Endpoints expostos — OpenAPI, docs
  5. Cookies e tracking — frontend code, GTM, pixels
  6. Mobile — permissions no AndroidManifest/Info.plist
  7. Política de privacidade existente — site, app, ToS
  8. Encarregado existente — sítio público
  9. Incidentes anteriores — registros, post-mortems
  10. Operadores ativos — billing, integrações

Salve resultados em .lgpd/discovery.md.

Fase 2: Gap analysis sistemático

Para cada item, marque GREEN/YELLOW/RED:

ItemStatusEvidênciaSeveridade
Base legal documentada por atividadeREDnenhumacrítica
ROPA existeREDnenhumcrítica
Política de privacidade publicadaYELLOWexiste v desatualizadaalta
Encarregado designadoYELLOWem DPA, sem div. públicaalta
Canal DSARREDsó e-mail genéricoalta
Endpoint de eliminaçãoREDnenhumalta
Audit log de acesso a PIIYELLOWlog básico, sem chainmédia
Criptografia em repousoGREENRDS TDE-
Criptografia em trânsitoGREENTLS 1.3-
Runbook de incidenteREDnenhumcrítica
DPA com operadoresREDnenhum assinadoalta
Cláusulas-padrão intlREDnenhumaalta
Coleta excessivaYELLOWtelefone obrigatório sem necessidademédia
Retenção definidaRED"indefinido" em tudoalta
Treinamento equipeREDnuncamédia
ECA Digital (se aplicável)varia

Fase 3: Priorização

Use matriz:

Severidade × Esforço:
- Crítica + Baixo = FAZER JÁ (sprint atual)
- Crítica + Alto = Planejar próximas 2-4 semanas
- Alta + Baixo = Próximas 2 semanas
- Alta + Alto = Próximo trimestre
- Média = Backlog priorizado
- Baixa = Backlog

Fase 4: Plano de remediação

Salve em .lgpd/gaps.md:

markdown
# Gap Analysis e Plano de Remediação — {data}

## Resumo
- {N} gaps críticos
- {M} gaps altos
- {X} gaps médios
- {Y} gaps baixos

## Ações imediatas (próxima semana)
1. **Designar Encarregado e publicar contato** — {responsável}, prazo {data}
   - Skill a executar: lgpd-dpo-encarregado
2. **Publicar política de privacidade v1** — {responsável}, prazo {data}
   - Skill: lgpd-privacy-policy
3. **Implementar canal DSAR mínimo** — formulário + e-mail dedicado, {responsável}, prazo {data}
   - Skill: lgpd-dsar
4. **Publicar runbook de incidente** — {responsável}, prazo {data}
   - Skill: lgpd-incident-response

## Próximas 2-4 semanas
5. Inventário de dados completo (ROPA) — lgpd-data-mapping + lgpd-ropa
6. Inventário e DPA com operadores ativos — lgpd-vendor-audit + lgpd-dpa
7. Cláusulas-padrão para operadores intl — lgpd-international-transfer

## Próximo trimestre
8. Audit log encadeado — lgpd-audit-logging
9. Retenção e eliminação automatizadas — lgpd-retention-erasure
10. RIPD para atividades de alto risco — lgpd-ripd
11. Avaliação ECA Digital (se aplicável) — lgpd-eca-digital-minors

## Backlog
12. Treinamento equipe (anual)
13. Pentest e revisão de segurança
14. Programa de governança em privacidade (Art. 50)

Fase 5: Comunicação

Apresente ao usuário:

  • Resumo executivo (3 bullets do estado atual)
  • Top 3 ações imediatas
  • ⏸ CHECKPOINT — confirme antes de seguir para próxima skill do pipeline

Status update

markdown
## L1 — Legacy retrofit ✓
- Discovery completo
- {N} gaps identificados
- Plano em `.lgpd/gaps.md`
- ⏸ Aguardando aprovação para iniciar L2 (lgpd-data-mapping)

Frequently asked questions

What does the Lgpd Legacy Retrofit AI skill do?

Run a gap analysis and retrofit plan for an existing system that wasn't built with LGPD in mind. Use when user asks 'auditar projeto legado LGPD', 'gap analysis LGPD', 'sistema antigo LGPD', 'temos LGPD?', 'estamos em compliance?', or when invoking lgpd-audit on a legacy codebase. Produces prioritized remediation plan in `.lgpd/gaps.md`. Entry point for Pipeline B.

Why use Lgpd Legacy Retrofit on TypingMind?

Because you install it once and use it with any model. Lgpd Legacy Retrofit 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 Legacy Retrofit in TypingMind?

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

Which AI models can use Lgpd Legacy Retrofit?

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 Legacy Retrofit?

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

Is the Lgpd Legacy Retrofit 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 👇