/fe:cookie-consentfrom Frontend Skills
Cookie and tracking consent for a web app — what needs consent (any storage or read on the device), equal-weight accept and reject on the first layer, granular categories off by default, nothing non-essential before consent, withdrawal as easy as giving it, a minimal record of each choice, re-asking on a revision, Global Privacy Control, Google Consent Mode in basic mode, accessibility, and the vanilla-cookieconsent v3 mechanics in a reference. Use when adding a banner, an analytics or marketing script, or a consent category.
Ships in Frontend Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Consent is the person's legal choice, not a widget the product owns. The standard below survives a change of library; the vanilla-cookieconsent v3 mechanics that implement it are in references/vanilla-cookieconsent.md. This is engineering guidance for the ePrivacy and GDPR rules and the laws that copy them, not legal advice — which categories exist, how long things are kept and which places the product serves are the project's and its counsel's call.
Before applying this skill, read the project's root AGENTS.md, the AGENTS.md closest to the files in question, and any doc they link for this skill's topic. Names, values and choices — budgets, tiers, tokens, voice, paths — come from those files, never from this skill.
localStorage, IndexedDB, tracking pixels and device fingerprinting (ePrivacy Article 5(3)).navigator.globalPrivacyControl) is honoured as a refusal of the categories that sell or share data, and in California it overrides an earlier choice that allowed them; the preferences say the signal was honoured. Some US states require it, and it costs nothing elsewhere.analytics_storage, ad_storage, ad_user_data, ad_personalization, all denied) and updated when the person chooses; functionality_storage, personalization_storage and security_storage follow their categories, and wait_for_update gives the banner time to answer. Advanced mode loads the tags first and sends cookieless pings before consent — a different reading of "nothing before consent", so it's a recorded decision, never the default.analytics_storage; marketing to ad_storage, ad_user_data and ad_personalization.The banner is a dialog on first paint: reachable by keyboard from the first Tab, announced to screen readers, with a visible focus ring on every control. The choices panel traps focus while open, closes on Esc and returns focus to what opened it. After theming, contrast holds in light and dark (text 4.5:1, controls 3:1). Full method accessibility.
--cc-* variables mapped to semantic tokens, set again under the project's own dark-mode selector, so it follows the app's theme rather than the library's.'unsafe-inline' with Cache Components — and the providers' origins are in connect-src and img-src, where they matter (frontend-security).The CSP, embeds and third-party scripts frontend-security · loading scripts and client boundaries nextjs · overlay accessibility accessibility · the shape of the consent-record route api-architecture · banner copy copywriting · shared components reusables.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub timonwa/engineering-skills --plugin fe20 skills in this plugin
/accessibilityBuilding UI that meets WCAG 2.2 AA beyond the markup — text alternatives, contrast checked on the tokens in both themes, reflow and zoom, keyboard and focus (order, visibility, dialogs, skip link, not obscured), target size, pointer and motion, labels, errors people see, accessible sign-in, ARIA states and live regions, and the gates that verify it: lint, Storybook axe at error, keyboard stories and screen-reader passes. Use when building or reviewing any interactive UI, a form, a dialog or a colour token./accessibility-auditManually invoked. Red-team accessibility audit of an app or a diff against WCAG 2.2 AA, organised by POUR with each check citing its success criterion — structure and landmarks, contrast on the tokens in both themes, reflow and zoom, keyboard, focus and dialogs, pointer and target size, forms and errors that are seen, status messages, and the lint, Storybook and end-to-end gates. Verifies each finding and writes a prioritized report./content-auditManually invoked. Copy audit of an app, its emails or a diff, against the project's own voice, word list and banned words and the plain-language standards (GOV.UK, NN/g, WCAG) — point-first writing, marketing claims and calls to action, buttons and links, form labels and errors, empty, success and loading states, sentence case and mechanics, accessible words and alt text, translation-safe strings, and each transactional email's sender, subject, preheader and body. Verifies each finding and writes a prioritized report.Other plugins' skills for the same job