c15t is a consent management platform designed for developers, offering tools for cookie banners, consent management, and preference centers while adhering to GDPR, CCPA, and IAB TCF regulations. It's beneficial for projects built in JavaScript, React, or Next.js, ensuring compliance and user consent for data usage.
$ npx skills add https://github.com/c15t/skills --skill c15tc15t is a consent management platform built for developers working with JavaScript, React, and Next.js. It provides pre-built components for cookie banners, consent managers, and preference centers while meeting GDPR, CCPA, and IAB TCF regulatory requirements. The platform supports integrations with Google Tag Manager, GA4, PostHog, and Meta, and can be deployed as a hosted solution through consent.io or self-hosted backends. Developers can customize components through design tokens, slots, and internationalization options without writing custom CSS. c15t handles script and iframe blocking, manages consent preferences, and simplifies compliance setup for modern web projects.
Install using npm with the command provided.
Implementing GDPR-compliant cookie banners
Setting up a consent manager for user preferences
Integrating with Next.js or React applications
$ npx skills add https://github.com/c15t/skills --skill c15tgit clone https://github.com/c15t/skillsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Generate a GDPR/CCPA-compliant cookie consent banner for [COMPANY] in [INDUSTRY]. Include options for: strictly necessary cookies, performance cookies, targeting cookies, and a 'Save Preferences' button. Use [WEBSITE_URL] as the privacy policy link. Write in a professional yet user-friendly tone. Provide the full HTML/CSS/JS implementation code for a React component.
# Cookie Consent Banner for EcoTrack Solutions
**We value your privacy**
EcoTrack Solutions uses cookies to enhance your experience and analyze site traffic. By clicking "Accept All", you consent to our use of cookies. [Learn more about how we use cookies](#).
### Your Cookie Choices
- **Strictly Necessary Cookies**: Essential for the website to function (always enabled)
- **Performance Cookies**: Help us understand how you use our site (optional)
- **Targeting Cookies**: Enable personalized advertising (optional)
[Reject All] [Customize] [Accept All]
```jsx
import React, { useState } from 'react';
export const CookieConsentBanner = () => {
const [showBanner, setShowBanner] = useState(true);
const handleAccept = () => {
localStorage.setItem('cookieConsent', 'accepted');
setShowBanner(false);
};
const handleReject = () => {
localStorage.setItem('cookieConsent', 'rejected');
setShowBanner(false);
};
if (!showBanner) return null;
return (
<div className="fixed bottom-4 left-4 bg-white p-6 rounded-lg shadow-lg max-w-sm z-50 border">
<h3 className="font-semibold mb-2">We value your privacy</h3>
<p className="text-sm text-gray-600 mb-4">
EcoTrack Solutions uses cookies to enhance your experience and analyze site traffic.
By clicking "Accept All", you consent to our use of cookies.
<a href="https://ecotrack.com/privacy" className="text-blue-600 underline">Learn more</a>.
</p>
<div className="space-y-2 mb-4">
<label className="flex items-center">
<input type="checkbox" defaultChecked disabled className="mr-2" />
<span className="text-sm">Strictly Necessary Cookies</span>
</label>
<label className="flex items-center">
<input type="checkbox" className="mr-2" />
<span className="text-sm">Performance Cookies</span>
</label>
<label className="flex items-center">
<input type="checkbox" className="mr-2" />
<span className="text-sm">Targeting Cookies</span>
</label>
</div>
<div className="flex space-x-2">
<button onClick={handleReject} className="px-4 py-2 border rounded-md text-sm">Reject All</button>
<button onClick={handleAccept} className="px-4 py-2 bg-blue-600 text-white rounded-md text-sm">Accept All</button>
</div>
</div>
);
};
```Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan