본문으로 건너뛰기
Skillpedia
보안40k · #7215

gdpr-compliant

하는 일

이 도구는 코드와 시스템 설계가 데이터 보호 규칙(GDPR 같은)을 따르도록 돕습니다. 데이터를 수집, 저장, 노출하는 양을 최소화하여 사용자 개인정보를 보호하는 데 중점을 둡니다.

사용하는 경우

  • ✓사용자 데이터를 다루는 새 기능을 만들 때.
  • ✓코드가 안전하고 개인정보를 보호하는지 검토할 때.
  • ✓데이터를 어떻게 얼마 동안 저장할지 계획할 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/gdpr-compliant/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/gdpr-compliant/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 새 기능에서 꼭 필요한 데이터만 수집하도록 하려면 어떻게 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 데이터를 덜 수집하고, 덜 저장하고, 덜 노출하며, 더 짧은 기간 보관하는 원칙을 따르는지 확인합니다. 암호화와 익명화 같은 데이터 보호 방법도 제안합니다.

기술 내용 (원본 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, RoPA
  • references/security.md — encryption, hashing, secrets, anonymization
  • references/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, RetentionExpiresAt to 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 ****1234 for 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 RetentionExpiresAt column — 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이 무엇인가요?

유럽연합 시민의 프라이버시와 개인 데이터를 보호하는 유럽 법률입니다.

'Privacy by Design'은 무슨 뜻인가요?

제품이나 서비스를 개발하는 처음부터 프라이버시를 고려하는 것이며, 나중에 덧붙이는 것이 아니라는 뜻입니다.

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
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬