Logo de Personal Data Protection

Personal Data Protection

OrganizaçãoPopular
hashgraph-online
personal-data-protection

Personal-data-protection compliance reference for engineers building applications subject to Singapore PDPA, Indonesia UU PDP, Thailand PDPA, Malaysia PDPA, Philippines DPA (RA 10173), or Vietnam PDPL (91/2025/QH15). Use when reviewing or modifying code that touches personal data — signup/auth/consent, data export, account deletion, retention/purging, admin access to personal-data stores, third-party processors, breach response, or privacy/T&C documents.

Visão geral

Publicado porhashgraph-online
Repositórioawesome-codex-plugins
Nome da habilidadepersonal-data-protection
Estrelas
1.3K
Forks
360
Arquivos incluídos
63
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 63

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por hashgraph-online no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Personal Data Protection no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/AltByteSG/personal-data-protection-skill/skills/personal-data-protection
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git /tmp/awesome-codex-plugins
mkdir -p .claude/skills
cp -r /tmp/awesome-codex-plugins/plugins/AltByteSG/personal-data-protection-skill/skills/personal-data-protection .claude/skills/personal-data-protection
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Personal Data Protection em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Personal Data Protection automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Personal Data Protection não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Personal Data Protection Compliance — Layered Reference

⚠ Reference material, not legal advice

This skill is engineering reference material, not legal advice. The maintainers and contributors are not licensed to practise law in Singapore, Thailand, Indonesia, Malaysia, the Philippines, Vietnam, or any other jurisdiction. No attorney–client relationship is created by use of this skill.

Do not rely on this skill as your sole source of truth for personal-data-protection compliance. Always (a) verify any statute citation, threshold, or obligation against the official source, and (b) engage a qualified Data Protection Officer or privacy lawyer before making compliance decisions that materially affect your obligations or your users' rights.

Source-text posture: this skill does not reproduce or republish any of the underlying statutes. It provides engineer-facing interpretation and short attributed quotations of operative phrases under fair-dealing principles, with links to the official sources. Anyone planning to package or redistribute the content beyond similar engineering-reference use should read DISCLAIMER.md § Copyright in source materials — Malaysia's PNMB-published Act 709 / Act A1727 carry the strictest publisher's notice of the populated jurisdictions and may require prior permission.

By using this skill you accept the full disclaimer in DISCLAIMER.md, including the "use at your own risk" terms and the maintainers' zero liability for any decision taken in reliance on this content.

This skill helps engineers ship features that comply with personal-data-protection statutes in Singapore, Thailand, Indonesia, Malaysia, the Philippines and Vietnam. It is organised by where in the stack the obligation lives rather than by statute section number — engineers shouldn't need to learn statute references to do their job.

Step 1 — Identify the active jurisdiction(s)

On first use in a project, check for .pdp-compliance.json at the project root. If present, use personalDataProtection.jurisdictions and load only the matching jurisdictions/<code>/README.md files. If absent, ask the user which jurisdiction(s) apply. The answer depends on where the application's users are located, not where the company is registered.

"Which personal-data-protection regimes does this application need to comply with? Pick all that apply: Singapore (PDPA 2012), Indonesia (UU PDP 27/2022), Thailand (PDPA B.E. 2562), Malaysia (PDPA 2010 with 2024 Amendments), Philippines (DPA / RA 10173), Vietnam (PDPL 91/2025/QH15). If users span multiple jurisdictions — and note Vietnam applies to Vietnamese citizens wherever they are —, pick all relevant — the strictest rule will usually win."

Once selected, suggest creating .pdp-compliance.json in the project root so future sessions and local guardrails do not need to re-ask:

json
{
  "personalDataProtection": {
    "jurisdictions": ["sg-pdpa"],
    "mode": "strictest-wins",
    "reviewPolicy": "warn"
  }
}

Then load only the relevant jurisdictions/<code>/README.md files. Cross-jurisdiction comparison lives in jurisdictions/_index.md.

Codes: sg-pdpa, th-pdpa, id-pdp, my-pdpa, ph-dpa, vn-pdpl — all populated. Per-jurisdiction status and the full comparison grid live in jurisdictions/_index.md.

Once the user has chosen, persist that choice in .pdp-compliance.json when the project allows file changes. If the project cannot accept that file, persist the choice somewhere project-specific (a comment in the project's AGENTS.md, CLAUDE.md, or equivalent project-instruction file) so subsequent sessions don't need to re-ask.

Step 2 — Pick the right entry point

You're starting work on something. Open the matching checklist:

TaskChecklist
Adding or modifying a feature that touches personal datachecklists/new-feature.md
Adding a column / field that holds personal datachecklists/new-data-field.md
Adding a third-party SDK or vendor that will process personal datachecklists/new-vendor.md
Responding to a security incidentchecklists/breach-response.md

You want depth on a specific layer. Open the matching layer file:

LayerWhat it covers
01 Non-technicalDPO, staff acceptable-use, vendor contracts, complaint handling
02 ArchitectureData residency, isolation, encryption, secret handling, defence-in-depth
03 Data modelConsent records, audit records, retention markers, deletion conventions, PII inventory
04 Controls and processesAccess control, retention sweeps, log hygiene, breach detection signals
05 Feature / UXSignup consent, settings, account deletion, data export, primer dialogs, EXIF strip
06 DisclosurePrivacy policy, T&C, OS permission strings, contextual notices
07 OperationalIncident response, retention sweeps, backups, vendor reviews, monitoring

Layer files are universal across all populated jurisdictions — implementation patterns are shared. Jurisdiction-specific obligations live in jurisdictions/<code>/obligations/.

Jurisdiction files

Once the active jurisdiction is known, open its files directly from this table rather than following links from one file to the next. Each README.md states scope, statute version and verification date; statute-map.md maps sections to layers; the obligation files hold the per-statute rules.

Templates to copy into a project: INCIDENT_RESPONSE.md.template (breach runbook) and pdp-nudge.sh.template (changed-file reminder hook).

Critical thresholds (commit to memory)

These vary by jurisdiction — the active one(s) determine which apply.

Singapore PDPAThailand PDPAIndonesia UU PDPMalaysia PDPAPhilippines DPAVietnam PDPL
Breach notification window to authority3 calendar days after assessing as notifiable (s26D(1))72 hours from awareness (s37(4))72 hours from awareness — to both subject AND regulator (Pasal 46(1))72 hours from discovery to Commissioner (s12B(1) + JPDP Guideline 25 Feb 2025); 7 days post-Commissioner to affected subject72 hours from knowledge / reasonable belief — to both NPC AND affected subject (§ 38 IRR + NPC Circular 16-03 § 12)72 hours from detection of the act (Điều 23(1)) — no assessment step
Significant-scale / risk threshold≥ 500 affected individuals"Risk to rights and freedoms"; "high risk" triggers individual notificationAlways notify subject; "certain circumstances" trigger public notification (Pasal 46(3))"Significant harm" triggers subject notification (s12B(2)) — no fixed scale thresholdInformation-type-driven: SPI or identity-fraud-enabling info, acquired by unauthorised person, real risk of serious harm (NPC Circular 16-03 § 11); ≥ 100 persons triggers § 35 penalty aggravationNone — harm-based trigger covering national defence/security and the subject's life, health, honour, dignity, property (Điều 23(1)); Điều 23(3) also covers purpose-creep and rights failures
Maximum financial penalty capSGD 1M / 10% SG turnover (s48J(3))THB 1M / 3M / 5M tiered (s82–84); plus criminal up to 1 year + THB 1M (s79)2% of annual revenue per violation (Pasal 57(3)); plus corporate criminal — fines up to 10× + suspension / dissolution (Pasal 70)RM 1M / 3 years per principle breach (s5(2), raised by A1727 from RM 300k / 2y); per-offence not turnover-based; offences stack₱5M / 6 years for combination or series (§ 33); ₱4M / 6 years for SPI offences (§§ 25(b), 26(b)); ≥ 100 persons triggers maximum-period aggravation (§ 35)5% of revenue for cross-border violations (Điều 8(4)) — highest here; 10× the gain for buying/selling data (Điều 8(3))
Individual criminal liabilityYes (s48D/E/F) — SGD 5,000 / 2 yearsYes (s79–81); s81 catches director / manager omissions, broader than SGYes (Pasal 67–68): up to 6 years + IDR 6B; corporate liability extends to dissolution (Pasal 70(4))Yes (s130 unlawful collecting RM 500k / 3y); s133 deeming liability for directors / managers unless they prove no-knowledge + due-diligence defenceYes — § 34 makes responsible officers personally liable for the prison terms of corporate offences (in addition to the corporate fine); § 30 concealment is its own offence (1.5–5 years + ₱500k–₱1M)Yes — Điều 8(1) routes to criminal prosecution; Điều 7 prohibits appropriating, intentionally disclosing or losing data, and buying/selling it

How to use the layer ↔ obligation split

The pattern is implement once, check against multiple jurisdictions.

A new-feature checklist run looks like:

  1. Identify what personal data the feature touches.
  2. Walk the universal layers/ to plan the implementation (data model, access controls, UX, disclosure, operational).
  3. For each active jurisdiction, walk jurisdictions/<code>/obligations/ to verify the implementation satisfies the statute-level obligations. Note where multiple jurisdictions disagree — usually the strictest rule controls.
  4. Update the project's privacy policy / consent records / runbook as needed.

Statute version

Each jurisdiction's README.md records:

  • Which version of the statute the obligation files reflect
  • When the content was last verified against official sources
  • Pending amendments to watch for

When statutes amend, this skill is updated and tagged. See the upstream CHANGELOG.md and pin to a version if you need stability.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

e mais 3.

Perguntas frequentes

O que a habilidade de IA Personal Data Protection faz?

Personal-data-protection compliance reference for engineers building applications subject to Singapore PDPA, Indonesia UU PDP, Thailand PDPA, Malaysia PDPA, Philippines DPA (RA 10173), or Vietnam PDPL (91/2025/QH15). Use when reviewing or modifying code that touches personal data — signup/auth/consent, data export, account deletion, retention/purging, admin access to personal-data stores, third-party processors, breach response, or privacy/T&C documents.

Por que usar Personal Data Protection no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Personal Data Protection é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Personal Data Protection no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/hashgraph-online/awesome-codex-plugins/tree/main/plugins/AltByteSG/personal-data-protection-skill/skills/personal-data-protection. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Personal Data Protection?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Personal Data Protection?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Personal Data Protection com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Personal Data Protection é gratuita?

Sim. A habilidade é publicada no GitHub por hashgraph-online sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇