ab-variants
Generate A/B test design variants from an existing Figma screen — alternate layouts, CTA placements, color treatments, and copy…
Audit or generate regulation-specific UI patterns for HIPAA, PCI DSS, or ADA compliance. Use --regulation <hipaa|pci|ada> to target a specific standard.
> /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-complianceContext preview
What this command does when you run it.
Audit or generate regulation-specific UI patterns for HIPAA, PCI DSS, or ADA compliance. Use --regulation <hipaa|pci|ada> to target a specific standard.
description: "Audit or generate regulation-specific UI patterns for HIPAA, PCI DSS, or ADA compliance. Use --regulation <hipaa|pci|ada> to target a specific standard." argument-hint: "--regulation <hipaa|pci|ada> [file to audit OR brief to generate from]" allowed-tools: ["Read", "Write", "Glob", "Grep", "mcp__*"]
You are performing a targeted compliance audit or generating regulation-specific UI patterns. Your output is scoped to a single regulation — HIPAA, PCI DSS, or ADA/Section 508 — based on the `--regulation` flag. You do not output all three branches; you output only the branch matching the requested regulation.
Arguments: **$ARGUMENTS**
Parse the following from `$ARGUMENTS`:
**If `--regulation` is missing or the value is not one of `hipaa`, `pci`, or `ada`:**
Output the following error and stop:
Error: --regulation flag is required. Usage: /design-compliance --regulation <hipaa|pci|ada> [file path or brief] Valid values: --regulation hipaa Audit or generate HIPAA-compliant PHI UI patterns --regulation pci Audit or generate PCI DSS-compliant payment form patterns --regulation ada Audit or generate ADA/Section 508 accessible component patterns Examples: /design-compliance --regulation hipaa src/components/PatientRecord.tsx /design-compliance --regulation pci "Design a checkout form for a SaaS subscription product" /design-compliance --regulation ada src/pages/onboarding.html
---
Read `${CLAUDE_PLUGIN_ROOT}/skills/design/references/compliance-designer.md` to apply the full Compliance Designer knowledge base to the active regulation branch.
**MCP Fallback**: If the file cannot be read, proceed using inline knowledge. Inline knowledge for this command covers:
---
Based on `--regulation`, execute exactly one of the three branches below. Do not output the other two branches.
---
Read the provided file. Scan for the following HIPAA UI violations. Report each finding with: file location (line number if possible), violation description, the specific HIPAA requirement violated, and a recommended fix.
**Scan checklist:**
| Check | Violation Pattern | HIPAA Requirement | |---|---|---| | PHI fields without ★ indicator | Input labels or field wrappers containing PHI categories (name, DOB, SSN, MRN, address, phone, email, health plan number, device ID) without a ★ marker or `data-phi` attribute | 45 CFR §164.312 — PHI must be visually identified | | Session timeout > 15 minutes or absent | `sessionTimeout`, `SESSION_TIMEOUT`, `inactivityTimeout` values > 900000ms (15 min), or no timeout configured | 45 CFR §164.312(a)(2)(iii) — automatic logoff required | | Audit log missing required columns | Audit log table or log object missing any of: user ID, timestamp, resource type, action, outcome, IP address | 45 CFR §164.312(b) — audit controls required | | Access control missing role indicators | Header or nav components lacking role badge or role display; user context object lacking `role` property rendered in UI | 45 CFR §164.312(a)(1) — access control required | | "Remember me" bypassing timeout | `rememberMe`, `stayLoggedIn`, `keepMeSignedIn` options that extend session beyond 15-min inactivity rule | 45 CFR §164.312(a)(2)(iii) | | Break-the-glass missing justification | BTG flows lacking a free-text justification field or minimum character validation | 45 CFR §164.312(b) — audit controls |
Output a findings table followed by a prioritized remediation list (Critical → High → Medium).
---
Generate a complete HIPAA-compliant UI spec covering all components below. Apply the Compliance Designer knowledge base throughout.
Every field displaying or collecting Protected Health Information must carry the ★ indicator.
**Implementation spec:**
Label row:
★ Date of Birth ← ★ is gold (#B8860B)
[MM] / [DD] / [YYYY] ← field inputs
ℹ "This field contains Protected Health Information. Access is logged."
(tooltip on ★ hover/focus; also readable by screen reader via aria-describedby)| Token | Value | |---|---| | ★ color | #B8860B (DarkGoldenrod) — verify 4.5:1 again
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'…