Communitygithub.com

GDPR 규정 준수

데이터 삭제, 동의 추적, PII 익명화, 데이터 이식성 등 GDPR 규정 준수 기능을 제공합니다.

GDPR 규정 준수란 무엇인가요?

이 스킬은 애플리케이션에서 GDPR(일반 데이터 보호 규칙)을 준수하도록 돕는 포괄적인 가이드입니다. 사용자의 개인정보 보호 요구 사항(잊힐 권리, 데이터 이식권 등)을 충족하기 위해 데이터 삭제 엔드포인트, 명시적 동의 추적, PII(개인 식별 정보) 익명화, 데이터 내보내기 엔드포인트 구현 방법을 제시합니다. 또한 쿠키 동의 배너 표시, 개인정보 처리방침 연결, PII 접근 감사 로그 유지, 72시간 내 침해 통지 절차 마련 등 실질적인 조치를 코드 예제와 함께 제공합니다. Node.js/Express 기반의 API 서버에서 바로 적용할 수 있는 TypeScript 코드 예제를 포함하며, 소프트 삭제나 동의 없는 추적 등 흔히 저지르는 실수를 피하도록 안내합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/YepAPI/skills/tree/HEAD/skills/gdpr-compliance

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

GDPR 규정 준수은(는) 무엇을 하나요?

규칙

  • 데이터 삭제 엔드포인트 구현(잊힐 권리): 요청 시 모든 사용자 PII를 삭제하거나 익명화합니다
  • 타임스탬프와 함께 명시적 동의를 추적: 사용자가 무엇에 동의했는지, 언제 동의했는지, 정책 버전이 무엇인지 기록합니다
  • 분석 및 로그에서 PII를 익명화 — 원시 이메일이나 이름 대신 불투명 ID를 사용합니다
  • 데이터 내보내기 엔드포인트 구현(데이터 이식권): 모든 사용자 데이터를 JSON 또는 CSV로 반환합니다
  • 쿠키 동의 배너 표시: 사용자가 동의하기 전까지 추적 스크립트를 로드하지 않습니다
  • 데이터 수집 양식이 있는 모든 페이지에 개인정보 처리방침 링크를 제공합니다
  • PII 접근에 대한 감사 로그 유지 — 누가 언제 어떤 개인 데이터를 열람했는지 기록합니다
  • 72시간 침해 통지: 문서화된 프로세스와 연락처 목록을 준비합니다
// 데이터 삭제 엔드포인트
app.delete("/api/user/data", requireAuth, async (req, res) => {
  const userId = req.user.id;
  await db.transaction(async (tx) => {
    await tx.delete(userProfiles).where(eq(userProfiles.userId, userId));
    await tx.delete(userSessions).where(eq(userSessions.userId, userId));
    await tx.update(users).set({
      email: `deleted_${userId}@anonymized.local`,
      name: "Deleted User",
      deletedAt: new Date(),
    }).where(eq(users.id, userId));
  });
  await auditLog("user_data_deleted", { userId, requestedBy: userId });
  res.json({ success: true });
});
// 동의 추적
const consentSchema = z.object({
  marketing: z.boolean(),
  analytics: z.boolean(),
  policyVersion: z.string(),
});

app.post("/api/consent", requireAuth, async (req, res) => {
  const consent = consentSchema.parse(req.body);
  await db.insert(consentRecords).values({
    userId: req.user.id,
    ...consent,
    consentedAt: new Date(),
    ipAddress: req.ip,
  });
  res.json({ success: true });
});

피해야 할 사항

  • 실제 PII를 제거하지 않고 사용자 데이터를 소프트 삭제하는 것 — "삭제된" 사용자의 이메일이 여전히 데이터베이스에 남아 있음
  • 쿠키 동의를 얻기 전에 Google 애널리틱스나 추적 픽셀을 로드하는 것
  • 분석 이벤트나 애플리케이션 로그에 원시 이메일을 저장하는 것
  • 데이터 내보내기 메커니즘이 없는 경우 — 사용자는 자신의 데이터에 대한 법적 권리가 있음
  • GDPR이 EU 기반 회사에만 적용된다고 가정하는 것 — EU 사용자에게 서비스를 제공하는 모든 앱에 적용됨

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

YepAPI/skills

WCAG 2.1 AA — semantic HTML, keyboard navigation, screen readers.

YepAPI/skills

Experiment setup, variant splitting, statistical significance, and feature flag integration.

YepAPI/skills

CRUD generators, data tables, user management, role-based access, and bulk operations.

YepAPI/skills

Monitor what ChatGPT and Gemini say about your brand using YepAPI.

YepAPI/skills

Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.

YepAPI/skills

Commander.js, interactive prompts with Clack, spinners, colors, config files, exit codes, and npm publishing.

YepAPI/skills

cmdk integration, Cmd+K trigger, fuzzy search, grouped actions, keyboard navigation, and dynamic action registration.

YepAPI/skills

Content planning with trend and sentiment data from YepAPI.

YepAPI/skills

Content calendar, keyword-driven planning, and content briefs.

YepAPI/skills

Theme switching with CSS variables, system preference detection, next-themes, and persistence.

YepAPI/skills

Threaded comments, @mentions, reactions, moderation queue, optimistic UI, and cursor pagination.

YepAPI/skills

Competitive analysis between domains using YepAPI.

YepAPI/skills

Layout grids, KPI cards, data tables with sorting/filtering, sidebar navigation, and responsive breakpoints.

YepAPI/skills

Data encryption — TLS everywhere, AES-256-GCM for PII, bcrypt passwords, encrypted backups.

YepAPI/skills

Chart patterns with Recharts/Nivo/D3, responsive containers, color scales, and accessibility.

YepAPI/skills

Drizzle schema definition, push vs migrate, type-safe queries, relations, transactions, and prepared statements.

YepAPI/skills

Upload handling, resize/compress, CDN delivery, blur placeholders, and next/image patterns.

YepAPI/skills

Local business and Google Maps research using YepAPI.

YepAPI/skills

Cursor-based pagination, IntersectionObserver, virtualized lists with @tanstack/react-virtual, and scroll position restoration.

YepAPI/skills

Chat UI components, streaming responses with AI SDK, context window management, and RAG patterns.

관련 스킬