ab-variants
Generate A/B test design variants from an existing Figma screen — alternate layouts, CTA placements, color treatments, and copy…
Design GDPR/CCPA-compliant consent flows — cookie banners, consent hierarchy, privacy controls, and data deletion request UI.
> /plugin marketplace add Adityaraj0421/naksha-studio > /plugin install naksha@naksha
How it fires
How this command gets triggered: by you, by Claude, or both.
/design-gdprContext preview
What this command does when you run it.
Design GDPR/CCPA-compliant consent flows — cookie banners, consent hierarchy, privacy controls, and data deletion request UI.
description: "Design GDPR/CCPA-compliant consent flows — cookie banners, consent hierarchy, privacy controls, and data deletion request UI." argument-hint: "[product type] [jurisdiction: eu|ca|both] [consent categories: analytics|marketing|personalization]" allowed-tools: ["Read", "Write", "mcp__*"]
You are designing a complete GDPR/CCPA-compliant consent and privacy control system. Your output is a single structured spec covering cookie banner variants, consent flow, privacy control center wireframe, data deletion request flow, and a jurisdiction-specific compliance checklist.
Arguments: **$ARGUMENTS**
Parse the following from `$ARGUMENTS`:
---
Read `${CLAUDE_PLUGIN_ROOT}/skills/design/references/compliance-designer.md` to apply the full Compliance Designer knowledge base to every section below.
**MCP Fallback**: If the file cannot be read, proceed using inline knowledge. The inline knowledge for this command covers: GDPR Article 7 conditions for consent (affirmative action, freely given, withdrawal as easy as giving), EDPB Guidelines 03/2022 dark patterns (pre-ticked boxes, nudge colors, unequal button prominence, multiple-click rejection), IAB TCF v2.2 Purpose IDs 1–10 (all off by default), CCPA opt-out requirement ("Do Not Sell or Share My Personal Information" footer link, 15-day response window), DSAR flow (identity verification, 30-day response window, extendable by 2 further months for complex requests = 90 days total), and data portability (GDPR Art. 20, machine-readable JSON/CSV).
---
Produce all five sections below as a single continuous output. Do not pause or ask for confirmation between sections.
---
Generate three cookie banner variants. For each: layout dimensions, typography, button hierarchy, and ARIA requirements. Tailor to the parsed product type and jurisdiction.
**Use case:** Low-risk products, returning-user re-consent, supplementary notice layer.
| Property | Spec | |---|---| | Position | Fixed, bottom of viewport | | Height | Single line (~56px) or two lines max | | Layout | Text left — action buttons right | | Typography | Body 14px; button labels 14px medium weight | | Buttons | "Accept" and "Decline" — equal visual weight (same background color, same border radius, same font size) | | Category detail | None — summary only ("We use cookies to improve your experience.") | | Privacy link | Underline text link to full privacy policy | | ARIA | `role="dialog"`, `aria-label="Cookie consent"`, `aria-modal="false"`, focus on first button on appear |
**Dark pattern check:** "Accept" and "Decline" must share identical button styling. A colored Accept with a greyed Decline is an EDPB violation — do not use nudge colors.
---
**Use case:** General web products serving EU users; required baseline for IAB TCF signal transmission.
| Property | Spec | |---|---| | Position | Fixed, bottom of viewport or centered modal on first visit | | Width | 100% viewport width (bottom bar) or 480–560px (modal) | | Layout | Purpose summary (top) — button row (bottom) | | Buttons | "Accept All" / "Manage Preferences" / "Reject All" — left to right, equal prominence | | Button sizing | All three buttons same height (44px min), same border weight, same font size | | Category summary | Brief 1-line descriptions of categories present: Analytics, Marketing, Personalization | | TCF compliance | IAB TCF v2.2 signal emitted on Accept All and Reject All; Manage Preferences opens preference center | | Privacy link | Visible text link before buttons: "Privacy Policy" | | ARIA | `role="dialog"`, `aria-labelledby="banner-heading"`, `aria-describedby="banner-body"`, focus trap within banner until dismissed |
**EDPB violations to avoid:**
---
**Use case:** High-compliance products, EU enterprise, products with legitimate interest processing.
| Property | Spec | |---|---| | Position | Centered modal overlay with backdrop | | Width | 560–640px; max-height 80vh with internal scroll | | Layout | Header (purpose statement) → toggle list → button row | | Toggle groups | Grouped by category: Strictly Necessary (locked on, no toggle) / Analytics / Marketing / Personalization | | IAB TCF Purpose IDs | Labeled inline with each toggle: e.g., "Analytics — IAB TCF Purposes 7, 8, 9" | | Legitimate interest | Where LI is the legal basis, show "(Legitimate Interest)" tag + expandable "Why?" section linking to the LIA | | Consent record indicator | Footer line: "Your preferences will be recorded with a timestamp. You can change them at any time." | | Buttons | "Save My Preferences" (primary) / "Accept All" (secondary) / "Reject All" (tertiary text link) | | ARIA | `role="dialog"`, `aria-modal="true"`, focus trap, `aria-label` per toggle: "[Purpose name], toggle, [on/off]" |
**Toggle specification:**
---
Step-by-step consent journey from initial trigger through ongoing prefe
Your agency's design brain. Always on, always yours. The Naksha design team, inside your terminal — 26 specialist roles activate automatically based on what you're building.
Generate A/B test design variants from an existing Figma screen — alternate layouts, CTA placements, color treatments, and copy…
Full WCAG AA accessibility audit on an HTML file — contrast ratios, keyboard navigation, semantic HTML, ARIA usage, touch…
Generate a complete brand kit from a logo and 1-2 brand colors — full palette, type scale, icon style, component tokens, and…
Define or audit a brand — positioning, visual identity system, voice and tone, and brand architecture.
Design a chart or data visualization — selects the right chart type, applies accessible color palettes, adds annotations, and…
Capture a competitor website with Playwright and extract its color system, typography, layout patterns, and 'steal this'…