/penpot-ai-kit:penpot-build-deckfrom penpot-ai-kit
Builds a playable slide deck in Penpot from a brief, creating 1920x1080 boards per slide with varied archetypes, tokenized styles, and View-mode flow for PDF export. For presentations, not app screens.
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.
Turn a brief into a presentation that lives in Penpot as real, editable design: one 1920×1080 Board
per slide on a dedicated page, tokenized through a deck.* set, wired into a flow so it plays in
View mode (←/→, Shift+F), and exportable to PDF. Penpot has no slides mode — this skill is the deck
tooling. Work as a senior presentation designer who makes a real scale difference, uses the full
canvas, varies the anchor from slide to slide, and never ships a text-only slide.
The one rule: plan the whole outline, then build one slide per call. Slides 1–3 are the style freeze — everything after inherits their decisions. Build the rest in batches of 3–5, and export and look at every slide before its checkpoint.
Tool surface: shared/penpot-mcp-tool-reference.md. API traps: shared/plugin-api-gotchas.md (the
#n below). Verify with penpot_api_info before first use: Page.createFlow,
Shape.addInteraction, Board.backgroundBlur, GridLayout, Gradient.
penpot.fonts.all; every slide has a
visual; the tells in rule 9 are refused; deck.* tokens only (gradients, shadows and glass are
ledgered literals); with strict anti-slop on, also the keys the direction step refused.NN-archetype-slug; ≥ 1 visual per
slide; no two consecutive identical archetypes and none above 40% of the deck; type floor 20px,
body ≥ 28px; contrast ≥ 3:1 for large text (≥ 24px, or ≥ 18.67px bold) and 4.5:1 below; flow Deck
wired click → next; deck-quality score ≥ 3 on all seven axes or the weak axes named; with strict
anti-slop on, slop score ≤ 35 over the deck page.Before every ✋ checkpoint, run the export → look → fix loop of shared/visual-self-review.md on each
slide built since the last one (max 2 self-fixes) — per slide, never the whole page.
Phase 0 — Discovery and outline (read-only). high_level_overview; tokenOverview();
penpot.fonts.all.map(f => f.name); penpotUtils.getPages(); penpot.version. Analyse the brief
(references/01-deck-brief-analysis.md): slide budget, the one message, the outline table
n | archetype | title | key content | visual | tone, tonal arc, motif. Pick a deck style
(references/02-deck-styles.md) and run the variety pre-check (references/03-slide-archetypes.md).
Anti-slop opt-in: read the stored preference (penpot-anti-slop → scripts/antiSlopPrefs.js);
unset and unanswered by the brief → ask the shared/anti-slop.md §0 question once, in the user's
language, and store it. When on, run the direction step (penpot-anti-slop
references/02-direction-playbook.md + 04-deck-tells.md) before picking the style.
✋ Approve outline + style + tonal arc + slide count (+ the direction block when strict).
Phase 1 — Deck system. scripts/createDeckPage.js with PHASE="create", then PHASE="verify" in
the next call — no board is created until verify returns ok: true. scripts/setupDeckSystem.js: the
deck token set (aliasing brand tokens where they exist), font resolution, optional master
components. New tokens are proposed here, never invented silently. ✋ Approve tokens and fonts.
Phase 2 — Style freeze. 01-cover-…, 02-agenda-… and the first content slide with
scripts/buildSlide.js (plus scripts/applyDeckEffects.js for the background device), one slide per
call, each exported and reviewed. ✋ Style-freeze checkpoint — a later style change reopens it.
Phase 3…N — Batches. 3–5 slides per batch, one per call. After the batch, export each slide and
check the variety rule against its predecessor. Image URLs are uploaded by applyDeckEffects.js and
verified in the following call (references/05-visuals-and-effects.md). ✋ Per batch.
Phase N+1 — Wire, gate, critique. scripts/wireDeckFlow.js (order, flow Deck, click → next,
optional auto-advance and section flows; references/06-flow-and-playback.md).
scripts/auditDeckQuality.js — a gate that is not pass blocks "done". Then the scored critique
(references/07-critique-framework.md): seven axes plus the monotony check; any axis below 3 → a
targeted revision (max 2 passes); report as Markdown + JSON per
shared/report-schemas/deck-quality-report.schema.json, mirrored to the ledger. Strict mode on: run
penpot-anti-slop diagnose (MODE = "deck") on the deck page and include the slop score. Give the
PDF-export and share-link steps. ✋ Final checkpoint.
execute_code call. A one-shot deck is unauditable and every slide comes out the
same.await penpot.openPage(page) and assert
penpot.currentPage.id before any createBoard(); if it does not match, stop and ask the user to
open the page — never build on the wrong one.NN-archetype-slug, showInViewMode = true,
clipContent = true, on the page's 4-column contact grid (x = (i % 4)·2080, y = ⌊i/4⌋·1240). Root
flex column with padding bound to deck.space.margin (96), then safe-area containers on a
12-column grid (4 = 544, 6 = 840, 8 = 1136), and a hidden notes text layer for speaker notes.fills = [], then bind deck.bg.<tone>.
Grouping containers stay fills = []; only real cards and panels bind deck.surface.*.deck.* for color, type sizes and families, spacing, radius. Verify bindings in a
later call and never re-apply a bound token (#2). Gradients, glass fills and shadows cannot bind —
each is a ledger exceptions entry naming the tokens it derives from.references/04-typography-and-grid.md) — 24px
body is illegible from the back of a room. At most 2 families and 3 weights; sentence case; body
left-aligned. Fonts by exact name (penpot.fonts.all.find(f => f.name === "Inter"), #13b), then
re-assert fontSize and lineHeight.shared/design-quality.md §6).clearFlip(slide) before returning (#16 — the mirror is invisible to
shapeStructure and unmissable in the export); await board.waitForLayoutUpdate() before reading
geometry (#17); edge decorations are absolute children in page coordinates, and the board's
clipping is the bleed (#14).wireDeckFlow.js has run.More excuses and countermeasures: references/08-anti-rationalization.md. Failures and fixes:
references/09-error-recovery.md.
Mode review (shared/modes-and-policies.md). Safe set: renaming a slide board to the
NN-archetype-slug convention. Geometry, tokens, effects, flow wiring and uploads are
Apply-with-review; "looks good" approves only the batch just shown.
Ledger under RUN_ID (deck-<date>-<slug>, shared/state-management.md): phase, deckPageId,
deckStyle, tonalArc, motif, outline, slides: [{ n, id, name, archetype, done }],
styleFrozen, flowName, exceptions, capabilities, deckQuality, and antiSlop (pref,
direction, reports) when strict mode is on — the opt-in itself is file-wide plugin data
penpot-ai → prefs.antiSlop. storage.deck mirrors the ids (data only). Resume: read the ledger,
run createDeckPage.js with PHASE="verify", re-derive the slide list by name (^\d{2}-), continue
from the first slide not done.
Naming (shared/naming-conventions.md): boards 01-cover-launch, 07-big-number-retention; layers
h1, h2, eyebrow, p, stat, caption, img-placeholder, card, safe-area, notes; tokens
deck.bg.dark, deck.text.on-dark, deck.accent, deck.font.size.title, deck.space.margin; flows
Deck and Section: <name>.
01-deck-brief-analysis.md, 02-deck-styles.md, 03-slide-archetypes.md
(catalogue and per-archetype recipes), 04-typography-and-grid.md, 05-visuals-and-effects.md,
06-flow-and-playback.md (View mode, share link, PDF export), 07-critique-framework.md,
08-anti-rationalization.md, 09-error-recovery.md.execute_code) — createDeckPage.js (create, then verify),
setupDeckSystem.js, buildSlide.js (one slide), applyDeckEffects.js, wireDeckFlow.js,
auditDeckQuality.js.visual-effects.md (gradients, glass, shadows, images, clearFlip),
design-quality.md (type craft, color, content honesty, tells, scoring).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-deck-brief-analysis.md (opens in a new tab)references/02-deck-styles.md (opens in a new tab)references/03-slide-archetypes.md (opens in a new tab)references/04-typography-and-grid.md (opens in a new tab)references/05-visuals-and-effects.md (opens in a new tab)references/06-flow-and-playback.md (opens in a new tab)references/07-critique-framework.md (opens in a new tab)references/08-anti-rationalization.md (opens in a new tab)references/09-error-recovery.md (opens in a new tab)scripts/applyDeckEffects.js (opens in a new tab)scripts/auditDeckQuality.js (opens in a new tab)scripts/buildSlide.js (opens in a new tab)scripts/createDeckPage.js (opens in a new tab)scripts/setupDeckSystem.js (opens in a new tab)scripts/wireDeckFlow.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
penpot, slide-deck, presentation-design, deck-tooling, pdf-export
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-accessibilityAudit a Penpot design against WCAG 2.1/2.2 AA (optionally AAA) and produce a structured severity report: color contrast, touch/target sizes, text alternatives, heading hierarchy, and keyboard/focus order. Proposes fixes — does not auto-apply. Also serves as the Evaluator in the brief-to-screen and brief-to-deck loops (scope:deck = slide contrast rules). Triggers: 'check accessibility', 'accessibility audit', 'WCAG check', 'contrast audit', 'a11y review', 'check color contrast', 'is this accessible'./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-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