/ux-design-tooling:penpot-uiux-designfrom ux-design-tooling
Create, review, and improve UI/UX designs in Penpot using MCP tools, design systems, component patterns, and accessibility checks. Useful for designing interfaces, layouts, dashboards, forms, and landing pages.
Ships in ux-design-tooling. 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.
Create or refine Penpot designs by combining MCP tool execution with UI/UX principles, design-system discovery, accessibility checks, component specs, layout rules, and visual validation.
penpot/penpot-mcp MCP server when Penpot tools are available.mcp__penpot__penpot_api_info succeeds before giving setup instructions. If it succeeds, the server is running and connected.npm install, then npm run bootstrap.http://localhost:4400/manifest.json, then click "Connect to MCP server" in the plugin UI.http://localhost:4401/sse under mcp.servers.penpot.url.| Tool | Use it for |
|---|---|
mcp__penpot__execute_code | Run JavaScript in the Penpot plugin context to create, inspect, and modify designs. |
mcp__penpot__export_shape | Export shapes as PNG/SVG for visual inspection. |
mcp__penpot__import_image | Import images, icons, photos, and logos. |
mcp__penpot__penpot_api_info | Retrieve Penpot API documentation and verify server connectivity. |
mcp__penpot__execute_code, penpotUtils.shapeStructure(), and penpotUtils.findShapes() before creating new objects.fills, text styles from fontSize and fontWeight, and components from penpot.library.local.components.penpot.createBoard(), penpot.createRectangle(), penpot.createText(), insertChild(index, shape), shape.resize(w, h), and penpotUtils.setParentXY(shape, x, y).addFlexLayout() and validate child order when dir="column" or dir="row".mcp__penpot__export_shape, inspect bounds and hierarchy with penpotUtils.analyzeDescendants(), isContainedIn(), and penpotUtils.shapeStructure(), then export CSS with penpot.generateStyle(selection, { type: 'css', includeChildren: true }) when requested.| Situation | Action |
|---|---|
| User has a design system | Use specified colors, spacing, typography, component patterns, and naming conventions. |
| Current Penpot file has patterns | Discover and reuse existing colors, text styles, and components before adding defaults. |
| No design system exists | Use the default tokens below and offer to establish consistent patterns. |
| Components need details | Read references/component-patterns.md for buttons, forms, and navigation specs. |
const allShapes = penpotUtils.findShapes(() => true, penpot.root);
const colors = new Set();
allShapes.forEach(s => { if (s.fills) s.fills.forEach(f => colors.add(f.fillColor)); });
const textStyles = allShapes.filter(s => s.type === 'text').map(s => ({ fontSize: s.fontSize, fontWeight: s.fontWeight }));
const components = penpot.library.local.components;
return { colors: [...colors], textStyles, componentCount: components.length };
| Rule | Value |
|---|---|
| Related screen gap | 100px between boards in the same flow. |
| Different flow gap | 200px+ between sections or flows. |
| Board alignment | Align boards vertically with the same y and order flows horizontally. |
| Mobile screen | 375×812, status bar 44px, header/nav 56px, content padding 16px, bottom nav/CTA 84px. |
| Desktop dashboard | 1440×900, sidebar 240px, header 64px, page title/actions row, content grid. |
const boards = penpotUtils.findShapes(s => s.type === 'board', penpot.root);
let nextX = 0;
const gap = 100;
boards.forEach(b => { const rightEdge = b.x + b.width; if (rightEdge + gap > nextX) nextX = rightEdge + gap; });
const newBoard = penpot.createBoard();
newBoard.x = nextX;
newBoard.y = 0;
newBoard.resize(375, 812);
┌─────────────────────────────┐
│ Status Bar (44px) │
├─────────────────────────────┤
│ Header/Nav (56px) │
├─────────────────────────────┤
│ Content Area │
│ Padding: 16px horizontal │
├─────────────────────────────┤
│ Bottom Nav/CTA (84px) │
└─────────────────────────────┘
┌──────┬──────────────────────────────────┐
│ │ Header (64px) │
│ Side │──────────────────────────────────│
│ bar │ Page Title + Actions │
│ 240 │──────────────────────────────────│
│ px │ Content Grid │
└──────┴──────────────────────────────────┘
Use these only when user tokens are absent.
| Category | Token or level | Value | Usage |
|---|---|---|---|
| Spacing | spacing-xs | 4px | Tight inline elements. |
| Spacing | spacing-sm | 8px | Related elements. |
| Spacing | spacing-md | 16px | Default padding. |
| Spacing | spacing-lg | 24px | Section spacing. |
| Spacing | spacing-xl | 32px | Major sections. |
| Spacing | spacing-2xl | 48px | Page-level spacing. |
| Typography | Display | 48-64px, Bold | Hero headlines. |
| Typography | H1/H2/H3 | 32-40px, 24-28px, 20-22px | Page titles and sections. |
| Typography | Body/Small/Caption | 16px, 14px, 12px | Main content, secondary text, labels, hints. |
| Color | Success/Warning/Error | #22C55E, #F59E0B, #EF4444 ranges | Confirmations, caution, errors. |
| Color | Primary/Secondary/Neutral | Brand, supporting actions, gray scale | CTAs, secondary actions, text and borders. |
| Area | Checks |
|---|---|
| Buttons | Clear action-oriented label of 2-3 words; minimum touch target 44×44px; states for default, hover, active, disabled, loading; contrast 3:1; consistent border radius. |
| Forms | Labels above inputs, not just placeholders; required indicators; adjacent error messages; logical tab order; input types such as email and tel match content. |
| Navigation | Current location indicated; consistent position; maximum 7±2 top-level items; mobile target size 48px. |
| Accessibility | Text contrast 4.5:1; large text 3:1; touch targets 44×44px; visible focus states; alt text; H1→H2→H3 hierarchy; never rely solely on color. |
| Review | Visual hierarchy, spacing, alignment, readable 16px+ body text, obvious interactive elements, loading/empty/error states, and design-system consistency. |
width or height directly: they are READ-ONLY; use shape.resize(w, h).parentX or parentY directly: they are READ-ONLY; use penpotUtils.setParentXY(shape, x, y).insertChild(index, shape) for z-ordering: do not rely on appendChild.dir="column" or dir="row"; validate after applying addFlexLayout().text.resize() to growType values "auto-width" or "auto-height".| Issue | Solution |
|---|---|
| Plugin won't connect | Check servers are running with npm run start:all in the penpot-mcp directory. |
| Browser blocks localhost | Allow local network access, disable Brave Shield, or try Firefox. |
| Tools not appearing in client | Restart VS Code or Claude completely after config changes. |
| Tool execution fails or times out | Ensure the Penpot plugin UI is open and shows "Connected". |
| "WebSocket connection failed" | Check firewall allows ports 4400, 4401, and 4402. |
Read bundled references only when needed:
references/setup-troubleshooting.md: installation, server startup, and connection troubleshooting.references/component-patterns.md: detailed button, form, navigation, and component specs.references/accessibility.md: contrast, keyboard, target size, and WCAG-oriented checks.references/platform-guidelines.md: screen sizes and iOS, Android, Material Design guidance.Keep these original operational phrases because they map to real Penpot workflow checks: user-centered design, mobile-first design, existing tokens/specs, Create/modify**, Create/modify, create/modify, Color/Contrast**, Loading/empty/error states, text/borders, sections/flows, and the flex-order warning REVERSED, and the literal export connector via. Client setup may involve settings.json and restarting VS Code/Claude; tool execution fails/times out when the plugin UI is not connected.
## Penpot design result - <screen or flow>
**Status:** created | improved | reviewed | blocked
**Target:** web | mobile | desktop | dashboard | form | landing page | design system
**Design system:** reused | discovered | default tokens
| Area | Decision | Evidence | Follow-up |
| --- | --- | --- | --- |
| Layout | <board size, grid, spacing> | <Penpot shape or export evidence> | <next step> |
| Components | <buttons/forms/nav/cards> | <states and patterns> | <next step> |
| Accessibility | <contrast/touch/focus/hierarchy> | <check result> | <fix> |
| Validation | <export/API check> | <file or shape exported> | <remaining issue> |
### MCP actions
- `mcp__penpot__execute_code`: <summary>
- `mcp__penpot__export_shape`: <summary or not needed>
100px or 200px+ spacing rules.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
penpot, ui-ux, design-system, accessibility, component-library
2 skills in this plugin
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin ux-design-toolingOther plugins' skills for the same job