Chuyển đến nội dung
Skillpedia
Bảo mật75k · #2808

data-minimisation

Skill này làm gì

Skill này kiểm tra form, dữ liệu gửi lên máy chủ và dữ liệu lưu trong trình duyệt để tìm thông tin cá nhân không có mục đích sử dụng. Skill dành cho lập trình viên xử lý thông tin người dùng.

Khi nào nên dùng

  • ✓Khi form đăng ký của bạn hỏi những thông tin bạn không bao giờ dùng.
  • ✓Khi dữ liệu phân tích hoặc nhật ký có thể chứa email hoặc tên.
  • ✓Khi bạn muốn tuân theo luật bảo mật dữ liệu như GDPR.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/data-minimisation/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể kiểm tra website của tôi xem có dữ liệu cá nhân nào chúng tôi thu thập nhưng thật ra không cần không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent rà soát các trường form, dữ liệu gửi lên máy chủ và bộ nhớ lưu trữ của trình duyệt. Sau đó gợi ý xóa các trường không dùng và thay thông tin cá nhân trong nhật ký bằng mã ẩn danh.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

Câu hỏi thường gặp

Dữ liệu cá nhân ở đây gồm những gì?

Các mục như tên, địa chỉ email và số điện thoại. Skill cũng đánh dấu các địa chỉ web đầy đủ có thể chứa thông tin cá nhân.

Vì sao phải giới hạn dữ liệu thu thập?

Thu thập ít dữ liệu hơn làm giảm thiệt hại khi bị rò rỉ và giúp tuân thủ luật. Skill trích dẫn Điều 5 của GDPR.

Dữ liệu cũ đã lưu có nên xóa không?

Skill khuyên đặt thời gian lưu giữ cho từng giá trị, để dữ liệu được xóa sau một khoảng thời gian xác định.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#2808
Giấy phép
MIT
Cập nhật
31/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự