Classify Data Sensitivity
Purpose
Assign every field and dataset a defensible sensitivity and privacy classification, and translate it into concrete handling controls, so that access, masking, retention and breach response are driven by the data rather than by guesswork.
When to use
- New sources or datasets are onboarded to a shared platform or analytics environment.
- An access model, masking policy, DPIA or data sharing agreement is being prepared.
- An audit or regulator asks where personal or special-category data resides.
When not to use
- A full privacy risk assessment of a processing activity is needed. Use
privacy-impact-assessment.
- Only retention periods are being defined. Use
retention-policy.
- Secrets and credentials handling. Use
secrets-management-plan.
Inputs
Required:
- Field list with names and, ideally, descriptions or sample value patterns (never real personal values).
Optional:
- The organization's classification scheme (levels and definitions), data subjects involved, processing purposes, jurisdictions, existing controls.
If no scheme is given, use a four-level default (Public, Internal, Confidential, Restricted) and mark it [ASSUMPTION]. If only real data samples are available, ask for masked samples instead.
Process
- Confirm the scheme: confidentiality levels with definitions, and the privacy categories to tag (personal, special category, criminal data, children's data, financial/payment, authentication).
- For each field decide whether it relates to an identified or identifiable natural person, directly or in combination.
- Tag identifier role: direct identifier (name, national ID, email, phone), quasi-identifier (birth date, postcode, gender, job title), sensitive attribute, or non-personal.
- Tag special categories per KVKK Article 6 (e.g. health, biometric, genetic, religion, political opinion, union membership, criminal convictions, appearance/dress) and GDPR Articles 9-10. Note that free-text fields often contain them.
- Assess combination and inference risk: quasi-identifiers that together re-identify; derived fields that reveal sensitive attributes (e.g. pharmacy purchases implying health).
- Assign the confidentiality level per field; the dataset inherits the highest field level unless fields are separated.
- Derive controls per level/category: encryption at rest and in transit, column masking or tokenization, pseudonymization for analytics, row-level restrictions, logging of access, export restrictions, retention and deletion.
- Identify data minimization opportunities: fields not needed for the stated purpose, precision reduction (birth year instead of date), aggregation.
- Flag cross-border transfer and third-party exposure where known.
- Record uncertain classifications for the data owner/DPO to confirm.
- Label every inference
[ASSUMPTION] and move unsupported items to open questions. If the goal continues, suggest the next skill: retention-policy for retention and deletion rules, privacy-impact-assessment for high-risk processing, or access-review to align permissions.
Output format
# Data Classification: <dataset/system>
Scheme: <levels> | Jurisdictions: <KVKK/GDPR/...> | Reviewed by: <[TBD]>
## Field Classification
| Field | Personal? | Identifier role | Special category | Level | Controls | Minimization note |
|---|---|---|---|---|---|---|
## Combination / Inference Risks
- <fields> together allow <risk> → <control>
## Dataset-Level Result
Level: <...> | Contains special category: <yes/no> | Recommended split: <...>
## Handling Controls by Level
| Level | Storage | Access | Masking | Sharing | Retention |
|---|---|---|---|---|---|
## Items to Confirm (owner/DPO)
1. ...
Quality checklist
Common pitfalls
- Treating only direct identifiers as personal data. Quasi-identifiers and pseudonymized data remain personal data.
- Ignoring free-text, notes and attachment fields, where special-category data often hides.
- Labelling without controls. A classification that does not change access or masking has no effect.
Example
Input: "loan_application: applicant_name, tckn, birth_date, city, monthly_income, health_declaration_text, score."
Excerpt of output:
- tckn: direct identifier, Restricted; tokenize in analytics, reveal only in underwriting role.
- health_declaration_text: special category (health, KVKK Art. 6), Restricted; exclude from analytics layer.
- birth_date + city: quasi-identifiers; publish birth year only in analytical marts.
1---2name: data-classification3description: "Classifies datasets and fields by sensitivity and privacy category: confidentiality level, personal data, special-category data under KVKK Article 6 and GDPR Articles 9-10, direct vs. indirect identifiers, and derives handling controls such as masking, encryption, access and retention. Use when onboarding data to a platform, preparing a DPIA or access model, or when asked to tag PII or sensitive columns."4license: MIT5metadata:6 source: https://skillmd.com/skills/muratdincer/data-classification7 version: "1.0.0"8 language: en9 category: 08-data10 role: data-architect11 area: governance12 title: "Classify data sensitivity"13 related: "privacy-impact-assessment, retention-policy, data-catalog-entry, access-review, secrets-management-plan"14 prompt: "Classify the columns of our customer and loan application tables for KVKK and propose masking rules."15---1617# Classify Data Sensitivity1819## Purpose20Assign every field and dataset a defensible sensitivity and privacy classification, and translate it into concrete handling controls, so that access, masking, retention and breach response are driven by the data rather than by guesswork.2122## When to use23- New sources or datasets are onboarded to a shared platform or analytics environment.24- An access model, masking policy, DPIA or data sharing agreement is being prepared.25- An audit or regulator asks where personal or special-category data resides.2627## When not to use28- A full privacy risk assessment of a processing activity is needed. Use `privacy-impact-assessment`.29- Only retention periods are being defined. Use `retention-policy`.30- Secrets and credentials handling. Use `secrets-management-plan`.3132## Inputs33Required:34- Field list with names and, ideally, descriptions or sample value patterns (never real personal values).3536Optional:37- The organization's classification scheme (levels and definitions), data subjects involved, processing purposes, jurisdictions, existing controls.3839If no scheme is given, use a four-level default (Public, Internal, Confidential, Restricted) and mark it `[ASSUMPTION]`. If only real data samples are available, ask for masked samples instead.4041## Process421. Confirm the scheme: confidentiality levels with definitions, and the privacy categories to tag (personal, special category, criminal data, children's data, financial/payment, authentication).432. For each field decide whether it relates to an identified or identifiable natural person, directly or in combination.443. Tag identifier role: direct identifier (name, national ID, email, phone), quasi-identifier (birth date, postcode, gender, job title), sensitive attribute, or non-personal.454. Tag special categories per KVKK Article 6 (e.g. health, biometric, genetic, religion, political opinion, union membership, criminal convictions, appearance/dress) and GDPR Articles 9-10. Note that free-text fields often contain them.465. Assess combination and inference risk: quasi-identifiers that together re-identify; derived fields that reveal sensitive attributes (e.g. pharmacy purchases implying health).476. Assign the confidentiality level per field; the dataset inherits the highest field level unless fields are separated.487. Derive controls per level/category: encryption at rest and in transit, column masking or tokenization, pseudonymization for analytics, row-level restrictions, logging of access, export restrictions, retention and deletion.498. Identify data minimization opportunities: fields not needed for the stated purpose, precision reduction (birth year instead of date), aggregation.509. Flag cross-border transfer and third-party exposure where known.5110. Record uncertain classifications for the data owner/DPO to confirm.5211. Label every inference `[ASSUMPTION]` and move unsupported items to open questions. If the goal continues, suggest the next skill: `retention-policy` for retention and deletion rules, `privacy-impact-assessment` for high-risk processing, or `access-review` to align permissions.5354## Output format55```markdown56# Data Classification: <dataset/system>57Scheme: <levels> | Jurisdictions: <KVKK/GDPR/...> | Reviewed by: <[TBD]>5859## Field Classification60| Field | Personal? | Identifier role | Special category | Level | Controls | Minimization note |61|---|---|---|---|---|---|---|6263## Combination / Inference Risks64- <fields> together allow <risk> → <control>6566## Dataset-Level Result67Level: <...> | Contains special category: <yes/no> | Recommended split: <...>6869## Handling Controls by Level70| Level | Storage | Access | Masking | Sharing | Retention |71|---|---|---|---|---|---|7273## Items to Confirm (owner/DPO)741. ...75```7677## Quality checklist78- [ ] Every field has a level and a personal/non-personal decision.79- [ ] Special categories are checked explicitly, including free-text fields.80- [ ] Quasi-identifier combinations are assessed.81- [ ] Each level maps to concrete controls, not just labels.82- [ ] No real personal values appear in the output.83- [ ] Uncertain items are routed to the owner/DPO.84- [ ] All checks pass; if any fails, revise the output and re-run this checklist before answering.8586## Common pitfalls87- Treating only direct identifiers as personal data. Quasi-identifiers and pseudonymized data remain personal data.88- Ignoring free-text, notes and attachment fields, where special-category data often hides.89- Labelling without controls. A classification that does not change access or masking has no effect.9091## Example92Input: "loan_application: applicant_name, tckn, birth_date, city, monthly_income, health_declaration_text, score."9394Excerpt of output:95- tckn: direct identifier, Restricted; tokenize in analytics, reveal only in underwriting role.96- health_declaration_text: special category (health, KVKK Art. 6), Restricted; exclude from analytics layer.97- birth_date + city: quasi-identifiers; publish birth year only in analytical marts.