right-to-erasure
它能做什么
这个技能检查应用是否为用户提供删除个人数据的方式,包括保存在浏览器和服务器上的数据。它面向持有用户账户或个人数据的团队。
适用场景
- ✓你请智能体为应用添加删除账户或删除数据选项的时候。
- ✓你检查账户设置或隐私页面,并想确认存在完整删除途径的时候。
- ✓你的应用把用户数据保存在浏览器中,而你需要应要求清除这些数据的时候。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/right-to-erasure/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我在应用的账户设置中添加删除我的数据选项,清除本地数据,并删除服务器上的所有内容吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会在账户设置中添加一个可见的删除选项。用户使用时,它会清除 localStorage、sessionStorage、IndexedDB 和 Cookie,然后向服务器发送删除请求,并向用户确认已收到。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Implement a user-facing data deletion mechanism
GDPR Article 17 gives EU residents the right to have their personal data erased when it is no longer necessary for the purpose it was collected, or when they withdraw consent. Failing to honour this right can result in regulatory fines of up to €20 million or 4% of global annual turnover. Providing a clear deletion flow also builds trust with users who value control over their data.
Quick Reference
- Provide a visible "Delete my account / data" option in account settings
- Clear all client-side storage: localStorage, sessionStorage, IndexedDB, and cookies
- Send a deletion request to the server and confirm receipt to the user
- Complete deletion within 30 days as required by GDPR Article 17
Check
Check whether this application provides a user-facing data deletion mechanism that clears all client-side storage and triggers a server-side deletion request.
Fix
Implement a data deletion flow that clears localStorage, sessionStorage, IndexedDB, and cookies, then sends a deletion request to the server and shows confirmation to the user.
Explain
Explain GDPR Article 17 (right to erasure) and what a compliant data deletion flow must cover, including both client-side and server-side data.
Code Review
Review account settings, privacy pages, and API routes for a data deletion endpoint. Flag missing client-side storage clearance, absent confirmation UI, or missing server-side deletion calls.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/privacy/right-to-erasure
常见问题
这与哪项法律有关?
这个技能提到 GDPR 第 17 条,它赋予欧盟居民要求删除其个人数据的权利。
删除需要多长时间?
这个技能说,按照 GDPR 的要求,删除应在 30 天内完成。
这只涉及浏览器吗?
不是。这个技能说,流程必须同时涵盖客户端和服务器端的数据。
详情
作者的原始描述
Use when auditing account settings pages, privacy dashboards, or API routes to verify that a complete data deletion path exists for users.
热度
- GitHub 星标
- 75k
- 排名
- #3002
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。