Skip to content
Skillpedia
Security75k · #2808

data-minimisation

What it does

This skill checks forms, data sent to servers and saved browser data for personal details that serve no purpose. It is for developers who handle user information.

When to use it

  • ✓When your sign-up form asks for details you never use.
  • ✓When analytics or logs may contain emails or names.
  • ✓When you want to follow data privacy rules such as GDPR.

Skill link

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/data-minimisation/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/data-minimisation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you check my site for personal data we collect but do not really need?”

5 new skills a week. 1 minute to read.

How it works

The agent reviews form fields, data sent to servers and saved browser storage. It then suggests removing unused fields and replacing personal details in logs with anonymous IDs.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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

FAQ

What counts as personal data here?

Items such as names, email addresses and phone numbers. The skill also flags full web addresses that may carry personal details.

Why limit the data we collect?

Collecting less data reduces the harm of a breach and helps meet privacy law. The skill cites GDPR Article 5.

Should old stored data be deleted?

The skill recommends setting a retention period for each stored value, so data is cleared after a defined time.

Details

Original description by the author

Use when reviewing form components, API payloads, or client-side storage to identify fields that are collected but not consumed by a stated feature.

repo: thedaviddias/Front-End-Checklist

Popularity

GitHub stars
75k
Ranking position
#2808
License
MIT
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills