gdpr-compliant
यह क्या करती है
यह टूल पक्का करने में मदद करता है कि आपका कोड और सिस्टम डिज़ाइन डेटा सुरक्षा के नियमों (जैसे GDPR) का पालन करे। यह कम से कम डेटा इकट्ठा करने, कम स्टोर करने और कम दिखाने पर ज़ोर देता है, ताकि यूज़र की प्राइवेसी सुरक्षित रहे।
कब इस्तेमाल करें
- ✓ऐसे नए फ़ीचर बनाते समय जो यूज़र का डेटा संभालते हैं।
- ✓कोड की समीक्षा करते समय, ताकि पक्का हो कि वह सुरक्षित और निजी है।
- ✓यह योजना बनाते समय कि डेटा कैसे स्टोर होगा और कितने समय तक रखा जाएगा।
Skill का लिंक
https://github.com/github/awesome-copilot/blob/main/skills/gdpr-compliant/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस नए फ़ीचर के लिए सिर्फ़ ज़रूरी डेटा इकट्ठा करने का पक्का तरीका क्या है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल जाँचता है कि आप इन सिद्धांतों का पालन कर रहे हैं या नहीं: कम डेटा इकट्ठा करना, कम स्टोर करना, कम दिखाना और कम समय के लिए रखना। यह डेटा सुरक्षा के तरीके भी सुझाता है, जैसे encryption और anonymization।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
GDPR Engineering Skill
Actionable GDPR reference for engineers, architects, DevOps, and tech leads. Inspired by CNIL developer guidance and GDPR Articles 5, 25, 32, 33, 35.
Golden Rule: Collect less. Store less. Expose less. Retain less.
For deep dives, read the reference files in references/:
references/data-rights.md— user rights endpoints, DSR workflow, RoPAreferences/security.md— encryption, hashing, secrets, anonymizationreferences/operations.md— cloud, CI/CD, incident response, architecture patterns
1. Core GDPR Principles (Article 5)
| Principle | Engineering obligation |
|---|---|
| Lawfulness, fairness, transparency | Document legal basis for every processing activity in the RoPA |
| Purpose limitation | Data collected for purpose A MUST NOT be reused for purpose B without a new legal basis |
| Data minimization | Collect only fields with a documented business need today |
| Accuracy | Provide update endpoints; propagate corrections to downstream stores |
| Storage limitation | Define TTL at schema design time — never after |
| Integrity & confidentiality | Encrypt at rest and in transit; restrict and audit access |
| Accountability | Maintain evidence of compliance; RoPA ready for DPA inspection at any time |
2. Privacy by Design & by Default
MUST
- Add
CreatedAt,RetentionExpiresAtto every table holding personal data at creation time. - Default all optional data collection to off. Users opt in; they never opt out of a default-on setting.
- Conduct a DPIA before building high-risk processing (biometrics, health data, large-scale profiling, systematic monitoring).
- Update the RoPA with every new feature that introduces a processing activity.
- Sign a DPA with every sub-processor before data flows to them.
MUST NOT
- Ship a new data collection feature without a documented legal basis.
- Enable analytics, tracking, or telemetry by default without explicit consent.
- Store personal data in a system not listed in the RoPA.
3. Data Minimization
MUST
- Map every DTO/model field to a concrete business need. Remove undocumented fields.
- Use separate DTOs for create, read, and update — never reuse the same object.
- Return only what the caller is authorized to see — use response projections.
- Mask sensitive values at the edge: return
****1234for card numbers, never the full value. - Exclude sensitive fields (DOB, national ID, health) from default list/search projections.
MUST NOT
- Log full request/response bodies if they may contain personal data.
- Include personal data in URL path segments or query parameters (CDN logs, browser history).
- Collect
dateOfBirth, national ID, or health data without an explicit legal basis.
4. Purpose Limitation
MUST
- Document the purpose of every processing activity in code comments and in the RoPA.
- Obtain a new legal basis or perform a compatibility analysis before reusing data for a secondary purpose.
MUST NOT
- Share personal data collected for service delivery with advertising networks without explicit consent.
- Use support ticket content to train ML models without a separate legal basis and user notice.
5. Storage Limitation & Retention
MUST
- Every table holding personal data MUST have a defined retention period.
- Enforce retention automatically via a scheduled job (Hangfire, cron) — never a manual process.
- Anonymize or delete data when retention expires — never leave expired data silently in production.
Recommended defaults
| Data type | Max retention |
|---|---|
| Auth / audit logs | 12–24 months |
| Session / refresh tokens | 30–90 days |
| Email / notification logs | 6 months |
| Inactive user accounts | 12 months after last login → notify → delete |
| Payment records | As required by tax law (7–10 years), minimized |
| Analytics events | 13 months |
SHOULD
- Add
RetentionExpiresAtcolumn — compute at insert time. - Use soft-delete (
DeletedAt) with a scheduled hard-delete after the erasure request window (30 days).
MUST NOT
- Retain personal data indefinitely "in case it becomes useful later."
6. API Design Rules
MUST
- MUST NOT include personal data in URL paths or query parameters.
GET /users/{userId}
- Authenticate all endpoints that return or accept personal data.
- Extract the acting user's identity from the JWT — never from the request body.
…
अक्सर पूछे जाने वाले सवाल
GDPR क्या है?
GDPR एक यूरोपीय कानून है जो यूरोपीय संघ के नागरिकों की प्राइवेसी और निजी डेटा की रक्षा करता है।
'Privacy by Design' का क्या मतलब है?
इसका मतलब है कि किसी प्रोडक्ट या सेवा को बनाते समय शुरू से ही प्राइवेसी का ध्यान रखना, बाद में सोचना नहीं।
RoPA क्या है?
RoPA का मतलब है 'Record of Processing Activities', यानी एक दस्तावेज़ जिसमें लिखा होता है कि निजी डेटा कैसे इकट्ठा, इस्तेमाल और स्टोर होता है।
जानकारी
लेखक का मूल विवरण
Apply GDPR-compliant engineering practices across your codebase. Use this skill whenever you are designing APIs, writing data models, building authentication flows, implementing logging, handling user data, writing retention/deletion jobs, designing cloud infrastructure, or reviewing pull requests for privacy compliance. Trigger this skill for any task involving personal data, user accounts, cooki
repo: github/awesome-copilot
लोकप्रियता
- GitHub स्टार
- 40k
- रैंकिंग में स्थान
- #7215
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
acquire-codebase-knowledge
40kआपके एजेंट को किसी मौजूदा code प्रोजेक्ट को समझने और उसका documentation बनाने में मदद करता है। यह नए लोगों को प्रोजेक्ट से जोड़ने या architecture का सार जानने में उपयोगी है।
acreadiness-assess
40kआपके एजेंट को किसी प्रोजेक्ट की AI के लिए तैयारी जाँचने और रिपोर्ट बनाने देता है। यह समझने में उपयोगी है कि प्रोजेक्ट AI tools इस्तेमाल करने के लिए कितना तैयार है।
acreadiness-generate-instructions
40kआपके एजेंट को assessment के आधार पर AI tools के लिए निर्देश बनाने में मदद करता है। यह बताता है कि AI कोड के साथ बेहतर कैसे काम करे और पहचानी गई कमियाँ कैसे दूर हों।
acreadiness-policy
40kआपके एजेंट को AI प्रोजेक्ट assessment के लिए नीतियाँ तय करने या लागू करने में मदद करता है। यह प्रोजेक्ट्स के मूल्यांकन को मानक बनाने और compliance सुनिश्चित करने में उपयोगी है।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।