cookie-consent
하는 일
이 스킬은 사이트가 분석이나 광고 태그 같은 선택적 쿠키를 설정하기 전에 동의를 받는지 확인합니다. EU 같은 곳에서 개인정보 규칙을 따라야 하는 사이트 운영자를 위한 스킬입니다.
사용하는 경우
- ✓EU 방문자에게 분석이나 광고 쿠키를 설정할 때.
- ✓방문자가 동의하기 전에 추적 스크립트가 로드될 때.
- ✓방문자가 선택을 바꾸거나 철회할 방법이 필요할 때.
스킬 링크
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/cookie-consent/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“분석 쿠키를 방문자가 수락을 클릭할 때까지 막는 쿠키 배너를 사이트에 추가해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트가 각 범주에 대해 방문자가 수락할 때까지 필수가 아닌 스크립트가 차단되어 있는지 확인하고, 보통 동의 도구를 통해 나중에 설정을 바꿀 수 있는 방법을 추가합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Show a cookie consent notice
GDPR violations can result in fines up to €20 million or 4% of global annual turnover. Regulators across the EU have actively fined organizations for deploying tracking cookies without valid consent.
Quick Reference
- GDPR requires consent before setting non-essential cookies (analytics, advertising, personalization)
- Essential/strictly necessary cookies (session, security, login) do not require consent
- Consent must be freely given, specific, informed, and unambiguous — pre-ticked boxes are invalid
- Users must be able to withdraw consent as easily as they gave it
- Scripts and pixels must not load until the user has actively accepted their category
- Non-essential trackers must stay blocked until consent and after revocation
Check
Check whether the site displays a cookie consent notice before setting non-essential cookies. Verify that analytics, advertising, and tracking scripts do not load until the user has actively accepted. Check whether users can reject non-essential cookies without losing access to content.
Fix
Implement a cookie consent management platform (CMP) that blocks non-essential scripts until consent is granted. Configure analytics and tracking tags to initialize only after explicit consent. Provide a mechanism for users to change their consent preferences at any time.
Explain
Explain what GDPR requires for cookie consent, the difference between essential and non-essential cookies, why pre-ticked boxes are invalid consent, and what a technically compliant consent implementation looks like.
Code Review
Review server config, headers, forms, and integration points related to Show a cookie consent notice. Flag exact responses, cookies, or browser behaviors that violate the rule, and verify them against the effective production-like response. Check that tracker initialization is gated on consent and that a persistent "change cookie settings" path exists after the banner is gone.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/privacy/cookie-consent
자주 묻는 질문
어떤 쿠키는 동의가 필요 없나요?
세션, 보안, 로그인처럼 반드시 필요한 쿠키입니다.
미리 체크된 상자도 동의로 볼 수 있나요?
아니요. 스킬은 미리 체크된 상자는 유효한 동의가 아니라고 말합니다.
GDPR 벌금은 얼마나 클 수 있나요?
2,000만 유로 또는 전 세계 연간 매출의 4%까지 될 수 있다고 스킬은 설명합니다.
상세 정보
작성자의 원본 설명
Use when reviewing a website for GDPR/CCPA compliance, specifically whether cookie consent is obtained before non-essential cookies are set.
인기도
- GitHub 스타
- 75k
- 순위
- #2788
- 라이선스
- MIT
- 업데이트
- 2026. 10. 31.
댓글
- …
이 저장소의 다른 스킬
frontendchecklist
75k명령줄 도구를 사용해 380개가 넘는 규칙으로 프런트엔드 코드와 실시간 페이지를 접근성, 속도, SEO, 보안 측면에서 점검합니다.
frontend-checklist-global
75kFront-End Checklist의 386개 규칙 전체로 프런트엔드 프로젝트를 감사하고, 발견한 문제마다 구체적인 해결 방법을 제시합니다.
404-page
75k없는 페이지 화면에 도움이 되는 링크가 있고 실제 404 상태 코드를 반환하는지 확인해, 길을 잃은 방문자를 돕습니다.
about-page
75k사이트를 운영하는 사람을 설명하는 명확한 소개 페이지가 있는지 검토해, 방문자와 검색 엔진의 신뢰를 높입니다.