Skip to content

hashgraph-online/awesome-codex-plugins / plugins/AltByteSG/personal-data-protection-skill/skills/personal-data-protection

personal-data-protection

Verified

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.

FileKindSize
SKILL.mdskill md14.5 KB
checklists/breach-response.mdmarkdown5.6 KB
checklists/new-data-field.mdmarkdown6.8 KB
checklists/new-feature.mdmarkdown11.2 KB
checklists/new-vendor.mdmarkdown7.1 KB
jurisdictions/_index.mdmarkdown12.6 KB
jurisdictions/id-pdp/README.mdmarkdown8.7 KB
jurisdictions/id-pdp/obligations/01-accountability.mdmarkdown12.4 KB
jurisdictions/id-pdp/obligations/02-consent.mdmarkdown7.5 KB
jurisdictions/id-pdp/obligations/03-purpose.mdmarkdown7.0 KB
jurisdictions/id-pdp/obligations/04-access-correction.mdmarkdown8.9 KB
jurisdictions/id-pdp/obligations/05-care.mdmarkdown7.1 KB
jurisdictions/id-pdp/obligations/06-breach-notification.mdmarkdown7.4 KB
jurisdictions/id-pdp/obligations/07-offences.mdmarkdown7.6 KB
jurisdictions/id-pdp/statute-map.mdmarkdown12.5 KB
jurisdictions/my-pdpa/README.mdmarkdown10.2 KB
jurisdictions/my-pdpa/obligations/01-accountability.mdmarkdown6.5 KB
jurisdictions/my-pdpa/obligations/02-consent.mdmarkdown10.0 KB
jurisdictions/my-pdpa/obligations/03-purpose.mdmarkdown9.1 KB
jurisdictions/my-pdpa/obligations/04-access-correction.mdmarkdown11.1 KB
jurisdictions/my-pdpa/obligations/05-care.mdmarkdown11.5 KB
jurisdictions/my-pdpa/obligations/06-breach-notification.mdmarkdown7.6 KB
jurisdictions/my-pdpa/obligations/07-offences.mdmarkdown8.1 KB
jurisdictions/my-pdpa/statute-map.mdmarkdown10.4 KB
jurisdictions/ph-dpa/README.mdmarkdown12.8 KB
jurisdictions/ph-dpa/obligations/01-accountability.mdmarkdown8.3 KB
jurisdictions/ph-dpa/obligations/02-consent.mdmarkdown12.0 KB
jurisdictions/ph-dpa/obligations/03-purpose.mdmarkdown8.7 KB
jurisdictions/ph-dpa/obligations/04-access-correction.mdmarkdown13.4 KB
jurisdictions/ph-dpa/obligations/05-care.mdmarkdown13.6 KB
jurisdictions/ph-dpa/obligations/06-breach-notification.mdmarkdown11.2 KB
jurisdictions/ph-dpa/obligations/07-offences.mdmarkdown11.3 KB
jurisdictions/ph-dpa/statute-map.mdmarkdown10.9 KB
jurisdictions/sg-pdpa/README.mdmarkdown5.4 KB
jurisdictions/sg-pdpa/obligations/01-accountability.mdmarkdown4.0 KB
jurisdictions/sg-pdpa/obligations/02-consent.mdmarkdown6.9 KB
jurisdictions/sg-pdpa/obligations/03-purpose.mdmarkdown4.4 KB
jurisdictions/sg-pdpa/obligations/04-access-correction.mdmarkdown6.5 KB
jurisdictions/sg-pdpa/obligations/05-care.mdmarkdown6.9 KB
jurisdictions/sg-pdpa/obligations/06-breach-notification.mdmarkdown10.5 KB
jurisdictions/sg-pdpa/obligations/07-offences.mdmarkdown6.6 KB
jurisdictions/sg-pdpa/statute-map.mdmarkdown8.0 KB
jurisdictions/th-pdpa/README.mdmarkdown7.3 KB
jurisdictions/th-pdpa/obligations/01-accountability.mdmarkdown7.1 KB
jurisdictions/th-pdpa/obligations/02-consent.mdmarkdown8.5 KB
jurisdictions/th-pdpa/obligations/03-purpose.mdmarkdown4.9 KB
jurisdictions/th-pdpa/obligations/04-access-correction.mdmarkdown7.0 KB
jurisdictions/th-pdpa/obligations/05-care.mdmarkdown7.3 KB
jurisdictions/th-pdpa/obligations/06-breach-notification.mdmarkdown7.0 KB
jurisdictions/th-pdpa/obligations/07-offences.mdmarkdown8.5 KB
jurisdictions/th-pdpa/statute-map.mdmarkdown8.1 KB
jurisdictions/vn-pdpl/README.mdmarkdown9.9 KB
jurisdictions/vn-pdpl/obligations/01-accountability.mdmarkdown5.0 KB
jurisdictions/vn-pdpl/obligations/02-consent.mdmarkdown5.1 KB
jurisdictions/vn-pdpl/obligations/03-purpose.mdmarkdown6.7 KB
jurisdictions/vn-pdpl/obligations/04-access-correction.mdmarkdown4.9 KB
jurisdictions/vn-pdpl/obligations/05-care.mdmarkdown5.0 KB
jurisdictions/vn-pdpl/obligations/06-breach-notification.mdmarkdown5.6 KB
jurisdictions/vn-pdpl/obligations/07-offences.mdmarkdown3.0 KB
jurisdictions/vn-pdpl/obligations/08-sector-specific.mdmarkdown4.4 KB
jurisdictions/vn-pdpl/statute-map.mdmarkdown9.5 KB
layers/01-non-technical.mdmarkdown4.9 KB
layers/02-architecture.mdmarkdown8.0 KB
layers/03-data-model.mdmarkdown8.4 KB
layers/04-controls-and-processes.mdmarkdown9.1 KB
layers/05-feature-ux.mdmarkdown9.0 KB
layers/06-disclosure.mdmarkdown6.5 KB
layers/07-operational.mdmarkdown9.5 KB
templates/INCIDENT_RESPONSE.md.templateother13.2 KB
templates/pdp-nudge.sh.templateother4.5 KB

layers/01-non-technical.md

View on GitHub
# Layer 01 — Non-technical / Organisational

> ⚠ **Reference material only — not legal advice.** See [DISCLAIMER.md](https://github.com/AltByteSG/personal-data-protection-skill/blob/main/DISCLAIMER.md). Verify against the official statute and consult a qualified DPO / lawyer.

Obligations that have no code component but must exist for the organisation to be compliant. These apply across all PDP-family jurisdictions.

## Data Protection Officer (DPO)

Most PDP-family statutes require designating at least one individual responsible for compliance and publishing their contact details. Specific triggers vary by jurisdiction (see `jurisdictions/<code>/obligations/01-accountability.md`).

**Action items:**
- Designate a primary DPO. For solo founders this is usually the founder; for small teams, often the CTO or COO.
- Designate a backup contact in case the primary is unreachable during an incident (the breach-notification clock does not pause).
- Publish the DPO email address publicly: privacy policy, in-app help/about, support page.
- Keep a written appointment record. Some regulators require it on request.

When the org grows past solo operator: appoint a backup DPO contact. When the org spans multiple jurisdictions: appoint per-jurisdiction DPOs or a single multi-jurisdiction DPO depending on local rules.

## Privacy policies and SOPs

Statutes require organisations to develop and implement policies and practices that meet the act's obligations. In practice this means:

| Document | Purpose |
|---|---|
| Public privacy policy | User-facing disclosure (what data, why, how shared, how retained, user rights) |
| Public terms & conditions | Contractual basis for the service, including consent to processing |
| Internal incident-response runbook | The on-call playbook for when something goes wrong (template at `templates/INCIDENT_RESPONSE.md.template`) |
| Internal staff acceptable-use policy (AUP) | The behavioural rules every person with prod access agrees to |
| Internal vendor / sub-processor register | Which third parties process user data, under which DPA, for what purpose |
| Internal retention schedule | What data lives how long and how it's purged |

The first two are public-facing. The rest are internal but should be maintained and reviewed.

## Staff Acceptable Use Policy (AUP)

**Critical when onboarding any second person who can access user data** (admin, contractor, support, future ops).

PDP-family statutes typically create personal criminal liability for individuals who knowingly or recklessly:
- Disclose personal data outside the organisation
- Use personal data for personal benefit, gain, or to harm the data subject
- Re-identify anonymised data without authorisation

**The organisation cannot indemnify a criminal sanction.** Every person with admin / database / support-tool access must:

1. Read and acknowledge the AUP in writing.
2. Receive a briefing on personal liability for misuse before getting credentials.
3. Have credentials provisioned via individual logins (no shared admin accounts).
4. Be subject to the audit-log review schedule (see [layer 07](07-operational.md)).

**Currently solo?** Skip the formal AUP, but write a one-page "rules for myself" — lists what you will and won't do with user data. The discipline of writing it down matters more than the audience.

## Vendor / sub-processor contracts

Each third party that processes user personal data must be governed by a Data Processing Agreement (DPA) or equivalent contractual binding. Maintain a register:

| Field | Why |
|---|---|
| Vendor name | — |
| What they do for you | Maps to a purpose declared in your privacy policy |
| Categories of data they receive | Used in privacy-policy sub-processor disclosure |
| Data residency (where they store it) | Triggers transfer obligations |
| DPA in force? Date signed? | Audit evidence |
| Sub-sub-processors they use | Disclose if material |
| Their breach notification commitment to you | Required for s26C-equivalent intermediary duty |

When adding a new vendor see [`checklists/new-vendor.md`](../checklists/new-vendor.md).

## Complaint handling

Statutes require a documented process to receive and respond to complaints about personal-data handling.

- **Channel:** a stable inbox (e.g. `privacy@yourdomain` or the DPO's address). Surface in the privacy policy and in-app.
- **SLA:** PDPC Singapore guidance is 30 calendar days. Other jurisdictions vary.
- **Tracking:** an issue tracker, even if just a tag in your existing one. Volume usually starts at zero and grows slowly; don't over-engineer.

## Onboarding any new staff member with prod access

Before they get credentials:

1. Sign AUP.
2. Briefing on personal liability for misuse.
3. Individual login (no shared credentials).
4. Document who/when/why in a staff access log.
5. Add to the audit-log review schedule.

When they leave:

1. Revoke production access same day.
2. Rotate any shared secrets they had access to.
3. Document in the staff access log.
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall