cookie-consent
यह क्या करती है
यह स्किल जाँचती है कि साइट वैकल्पिक कुकी, जैसे एनालिटिक्स या विज्ञापन टैग, सेट करने से पहले सहमति माँगती है। यह उन साइट मालिकों के लिए है जिन्हें EU जैसे क्षेत्रों में निजता नियम मानने होते हैं।
कब इस्तेमाल करें
- ✓जब आपकी साइट EU के विज़िटर के लिए एनालिटिक्स या विज्ञापन कुकी सेट करती है।
- ✓जब विज़िटर की सहमति से पहले ट्रैकिंग स्क्रिप्ट लोड होती हैं।
- ✓जब आपको विज़िटर के लिए अपनी पसंद बदलने या वापस लेने का तरीका चाहिए।
Skill का लिंक
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/cookie-consent/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी साइट पर कुकी बैनर जोड़ें, जो विज़िटर के Accept पर क्लिक करने तक एनालिटिक्स को रोके।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट जाँचता है कि गैर-ज़रूरी स्क्रिप्ट तब तक रुकी रहें जब तक विज़िटर उस श्रेणी को स्वीकार न करे, और बाद में पसंद बदलने का तरीका जोड़ता है, आमतौर पर किसी consent टूल के ज़रिए।
तकनीकी सामग्री (मूल 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 करोड़ यूरो या वैश्विक वार्षिक कारोबार के 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
- अपडेट की गई
- 31/10/2026
कमेंट
- …
इस repository की और skills
frontendchecklist
75kकमांड-लाइन टूल से फ़्रंटएंड कोड और लाइव पेजों को एक्सेसिबिलिटी, स्पीड, SEO और सिक्योरिटी के 380 से ज़्यादा नियमों से जाँचती है।
frontend-checklist-global
75kफ़्रंटएंड प्रोजेक्ट को Front-End Checklist के सभी 386 नियमों से ऑडिट करती है, और हर मिली समस्या का ठोस समाधान देती है।
404-page
75kजाँचती है कि आपका गुम पेज उपयोगी लिंक देता है और सही 404 स्टेटस लौटाता है, ताकि भटके हुए विज़िटर रास्ता ढूँढ सकें।
about-page
75kजाँचती है कि आपकी साइट पर एक साफ़ About पेज है जो बताता है कि उसे कौन चलाता है, ताकि विज़िटर और सर्च इंजन का भरोसा बढ़े।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।