本文へスキップ
Skillpedia
セキュリティ75k · #2808

data-minimisation

できること

このスキルは、フォーム、サーバーに送られるデータ、ブラウザに保存されたデータを確認し、目的のない個人の詳細がないかを調べます。利用者の情報を扱う開発者向けです。

使う場面

  • ✓サインアップのフォームが、一度も使っていない詳細を求めているとき。
  • ✓アクセス解析やログに、メールアドレスや名前が含まれているおそれがあるとき。
  • ✓GDPRなどのデータのプライバシーの規則に従いたいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/data-minimisation/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のサイトを確認し、収集しているが本当には必要ない個人データがないか調べてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、フォームの項目、サーバーに送られるデータ、ブラウザのストレージを確認します。その後、使われていない項目の削除と、ログ内の個人の詳細を匿名のIDに置き換えることを提案します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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

よくある質問

ここで個人データとみなされるものは何ですか?

名前、メールアドレス、電話番号などです。このスキルは、個人の詳細を含むおそれがある完全なWebアドレスにも印を付けます。

収集するデータを制限するのは、なぜですか?

収集するデータが少ないほど、情報漏えいの被害が減り、プライバシー法の要件を満たしやすくなります。このスキルはGDPRの第5条を挙げています。

古い保存データは削除すべきですか?

保存されている値ごとに保持期間を設定し、決められた時間が経過した後にデータを消去することを勧めています。

詳細

作者による元の説明

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

人気

GitHubのスター
75k
ランキング
#2808
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル