# Identify and Remove Unnecessary Personal Data Collection

Audit form fields, API payloads, and client-side storage to identify personal data collected but not used by a stated feature. This helps ensure compliance with data minimisation principles and reduces privacy risks. The deliverable is a list of fields, storage keys, or API parameters that can be removed or anonymised.

**Canonical URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-data-minimisation-876910c7c4fb

**JSON URL:** https://skillshunter.net/api/public/v1/skills/github-thedaviddias-front-end-checklist-skills-data-minimisation-876910c7c4fb

**Markdown URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-data-minimisation-876910c7c4fb.md

**Instructions download URL:** https://skillshunter.net/skills/github-thedaviddias-front-end-checklist-skills-data-minimisation-876910c7c4fb/download

**Category:** Data & Research

**Source URL:** https://github.com/thedaviddias/Front-End-Checklist/blob/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e/skills/data-minimisation/SKILL.md

**Source commit:** e8d14d049010e2ce25afcd5e8609dfcbbe63e47e

**Listing approved at:** 2026-11-23

**Created at:** 2026-11-22T15:48:36.000000Z

**Updated at:** 2026-11-23T04:54:56.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Before starting, ensure that all form fields, API request bodies, and client-side storage keys are documented with their intended purpose. This will help in identifying fields that are collected but not consumed by a specific feature.

### When to use it

- Review form components to ensure only necessary personal data is collected
- Audit API request bodies for fields that are not consumed by a specific feature
- Inspect client-side storage for personal data that is not actively used

## Skill instructions

---
name: data-minimisation
description: "Use when reviewing form components, API payloads, or client-side storage to identify fields that are collected but not consumed by a stated feature."
metadata:
  category: privacy
  priority: medium
  difficulty: intermediate
  estimatedTime: "30"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/privacy/data-minimisation
---

# Collect only the minimum personal data necessary

Collecting more data than necessary increases the blast radius of a breach, exposes your organisation to regulatory fines, and erodes user trust. GDPR Article 5(1)(c) makes data minimisation a legal obligation for any controller processing EU residents' data — but it is also sound engineering practice regardless of jurisdiction.

## Quick Reference

- Collect only fields your application actually needs to function
- Document the purpose for every piece of personal data you store
- Prefer anonymous or pseudonymous data over identifiable data where possible
- Clear client-side storage (localStorage, sessionStorage, cookies) on logout or after a defined retention window
- Never send raw PII to analytics, monitoring, or client-side logs

## Check

Audit the form fields, API request bodies, and client-side storage keys in this codebase to identify any personal data collected beyond what the stated feature requires. Also inspect analytics and logging payloads for raw email addresses, names, phone numbers, or full query strings that leak PII.

## Fix

Remove or anonymise form fields, storage keys, and API parameters that collect personal data not consumed by a specific, documented feature purpose. Replace raw personal identifiers in analytics and logs with pseudonymous IDs and define a retention window for each stored value.

## Explain

Explain the GDPR data minimisation principle and how over-collection of personal data increases breach impact and regulatory risk.

## Code Review

Review form components, fetch/axios calls, and storage utilities for personal data fields. Flag any field or key that is collected but not read by an active feature, and suggest anonymisation or removal. Flag analytics and monitoring payloads that include raw PII or have no stated retention.

---

For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.

Rule page: https://frontendchecklist.io/rules/privacy/data-minimisation

