/penpot-ai-kit:penpot-audit-accessibilityfrom penpot-ai-kit
Audits Penpot designs against WCAG 2.1/2.2 AA (optionally AAA) for color contrast, touch/target sizes, text alternatives, heading hierarchy, and keyboard/focus order. Read-only; proposes fixes without applying them.
Ships in penpot-ai-kit. 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; scripts run unread.
Inspect a design and report its accessibility issues as an accessibility specialist: contrast computed from resolved fills, target sizes measured, heading order and labels read from semantic layer names, focus order inferred. The skill reads; it never changes the canvas.
The one rule: report, don't silently fix. Every issue carries severity, impact, a concrete fix and a confidence. The acceptance criteria are gates — a screen is not "done" until they pass — but the fix belongs to the skill that owns the thing being fixed, behind its own review.
Tool surface: shared/penpot-mcp-tool-reference.md. API traps: shared/plugin-api-gotchas.md.
scope:deck (slides built by penpot-build-deck; the evaluator in brief-to-deck). The scope is
the deck page and every top-level board named NN-… is one slide. Text ≥ 24 px, or ≥ 18.67 px with
fontWeight ≥ 700, is large → 3:1; smaller text → 4.5:1. On gradient or glass surfaces average the
stops and flag the result as heuristic. Skip target-size checks (a deck has no controls beyond
navigation). Heading hierarchy = exactly one h1 per slide. Report scope as the deck page name and
name the slide in every finding.
Phase 0 — Inspection. high_level_overview, then scripts/collectAccessibilityData.js
(references/01-inspection.md). Read colors from shape.fills / shape.strokes (a Text's color is its
fill) and sizes from width / height / bounds.
Phase 1 — Contrast. scripts/checkColorContrast.js (references/02-contrast-checks.md): text
against its effective background, and UI component contrast.
Phase 2 — Sizing. scripts/checkTouchTargets.js (references/03-sizing-checks.md).
Phase 3 — Semantics. Heading hierarchy, labels and text alternatives (from semantic layer names), keyboard / focus order (from layout order and interactions).
Phase 4 — Report. scripts/generateReport.js (references/04-report-generation.md): severity-ranked
and handoff-ready, with export_shape evidence of the affected boards (export a board, not "page").
✋ Present the findings and ask: fix now, or hand off? Fixes are routed to the owning skill (for
example penpot-foundations for a token change) under its Apply-with-review.
h1…h6). Visual size is not semantic order: when layers
are auto-named, flag those checks as unreliable and recommend penpot-rename-layers first.Per issue: { severity, criterion (e.g. "1.4.3 Contrast"), element, current, required, fix, confidence },
plus a summary: counts by severity, pass/fail per criterion, and a handoff checklist. Emit it ALSO as
JSON per shared/report-schemas/accessibility-report.schema.json, including the derived
highOrMedium count — the number brief-to-screen and brief-to-deck branch on — and mirror it to
the run ledger (RUN_ID: phase, issues, sampled).
Mode: suggest (shared/modes-and-policies.md).
01-inspection.md, 02-contrast-checks.md, 03-sizing-checks.md,
04-report-generation.md.execute_code, all read-only) — collectAccessibilityData.js,
checkColorContrast.js (WCAG luminance + ratio), checkTouchTargets.js, generateReport.js.Doctrine paths. shared/… and policies/… resolve inside this bundle in native installs (vendored by the installer); in a Claude Code plugin install they live at the plugin root — ${CLAUDE_PLUGIN_ROOT}/shared/…, two directories up from this file.
references/01-inspection.md (opens in a new tab)references/02-contrast-checks.md (opens in a new tab)references/03-sizing-checks.md (opens in a new tab)references/04-report-generation.md (opens in a new tab)scripts/checkColorContrast.js (opens in a new tab)scripts/checkTouchTargets.js (opens in a new tab)scripts/collectAccessibilityData.js (opens in a new tab)scripts/generateReport.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub penpot/penpot-ai-kit --plugin penpot-ai-kit15 skills in this plugin
/penpot-anti-slopOpt-in layer that keeps Penpot designs from looking generically AI-generated: a direction step before building, a scored 0–100 slop check of a screen or deck (tree probes + visual review), and reviewed fixes. Triggers: 'avoid the AI look', 'does this look AI-generated', 'anti-slop check', 'make it feel less generic', 'evitar estética IA', '¿parece hecho por IA?'./penpot-audit-tokensAudit a Penpot design for design-system / token GOVERNANCE issues (distinct from accessibility): hardcoded colors where a token exists, off-grid spacing, orphan/unresolved/unused tokens, duplicated values, and detached parts that should be component instances. Produces a severity report and suggests semantic-token swaps. Triggers: 'audit tokens', 'find hardcoded colors', 'token governance', 'check design system consistency', 'find off-grid spacing', 'detect raw values', 'are we using tokens correctly'./penpot-build-deckDesign a presentation / slide deck in Penpot from a brief, as a senior presentation designer: 1920x1080 slide boards built one slide per call from an approved outline, a committed deck style, varied slide archetypes (cover, agenda, section, content, big-number, comparison, grid, bento, quote, timeline, image-bleed, closing), tokenized, wired into a playable View-mode flow and exportable to PDF. NOT for app screens (use penpot-build-screen). Triggers: 'create a presentation', 'build a slide deck', 'design slides in Penpot', 'pitch deck', 'keynote', 'make slides for this talk', 'turn this outline into slides'./penpot-build-from-codeTranslate an existing application page, view, or component code into a Penpot screen that is bound to the existing design system — mapping code styles onto semantic tokens and reusing library components instead of raw shapes. Use when the user has real code/markup and wants it reconstructed in Penpot, section by section, on-system. Triggers: 'build this in Penpot from code', 'turn this React/HTML/CSS into a Penpot screen', 'recreate this view in Penpot', 'port this page to Penpot', 'translate this component to Penpot bound to our tokens', 'code to Penpot'./penpot-build-screenDesign production-grade screens in Penpot from a brief, as a senior visual designer — reusing the existing design system (tokens + components) and assembling section by section, never one-shot. Use to create a screen/page/landing/dashboard from a description. NOT for translating existing code (use penpot-build-from-code). Triggers: 'design a dashboard', 'create a landing page', 'design this app screen', 'build a UI from this brief', 'design a settings page', 'mock up a screen in Penpot'./penpot-component-factoryBuild and maintain Penpot components with COMPLETE variant matrices — sizes, hierarchies, and all interactive states (default/hover/pressed/focus/disabled) — fully tokenized and correctly named. Use to create a new component with variants, fill in missing states, or normalize an existing component. Triggers: 'create a Button component with variants', 'build component variants', 'add hover/pressed/disabled states', 'make a variant matrix', 'turn this into a component with sizes', 'normalize this component'.Other plugins' skills for the same job