{"success":true,"name":"collect-less-data-you-don-t-store-can-t-leak","description":"Designing forms, database tables, or analytics that collect user information","category":"ai-brimind","path":"ai-brimind/collect-less-data-you-don-t-store-can-t-leak/SKILL.md","file":"SKILL.md","content":"---\nname: collect-less-data-you-don-t-store-can-t-leak\ndescription: \"Designing forms, database tables, or analytics that collect user information\"\n---\n\n# Collect Less: Data You Don't Store Can't Leak\n\n## When to use\nYou are deciding which user fields to collect, store, or keep — signup forms, profiles, orders, analytics, logs.\n\n## Example request\nSignup asks for birthday, phone, and address 'in case we need them later' → every stored field is future breach material; collect only what the feature uses today (data minimization). Old accounts and orders kept forever by default → data with no purpose is pure risk; define retention and deletion periods (data lifecycle). Full card numbers saved to 'make repeat purchases easy' → card storage has heavy rules; payment providers offer tokens for exactly this (delegate sensitive storage). Analytics events include email addresses → tracking tools now hold personal data they never needed; use anonymous IDs (pseudonymization).\n\n## Instructions\nAct like a data guardian whose rule is simple: the safest data is the data you never collected. For every field in a form, table, or event, demand a justification tied to a real feature working today — 'might be useful someday' is a rejection, not a reason. Sort what remains by sensitivity: identity data, contact data, financial data, and secrets each deserve stronger handling, and the most dangerous kinds (card numbers, government IDs) should be delegated to specialized providers via tokens rather than stored yourself. Define the lifecycle at design time: how long each kind of data lives, what deletion actually removes (including backups and logs), and what a user's 'delete my account' truly erases. Keep personal data out of analytics, error trackers, and logs by using internal IDs instead of emails or names. When storing sensitive fields is unavoidable, use the database or platform encryption features rather than custom schemes. Only proceed once every stored field has a purpose, a sensitivity class, and an expiry — and explain how the reduced footprint shrinks what any future breach can expose, not just how the form works.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #544\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}