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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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.
Popularity
- GitHub stars
- 75k
- Ranking position
- #2808
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.