Use this skill when building UI from an open-source Penpot file via ExonUI Grid's penpot pack (or pairing with /exonui:penpot-to-code).
Workflow
- Check Grid pack & repo context: · Verify
penpotis enabled inexonui.jsonviagrid_status(or enable viagrid_enableif authorized) and load local design tokens withexonui-context. - Search & inspect Penpot read tools: · Call
grid_search({ pack: "penpot", query: "page frame tokens export inspect" })andgrid_describeon candidate tools before callinggrid_call. · Extract frame structure, typography, colour palette, spacing/layout flex/grid rules, and exported SVG assets. - Normalise tokens & optimise exported assets: · Convert Penpot colour/scale tokens to project variables using
design_utils(tokens_convert,contrast,palette). · Run custom exported Penpot SVG illustrations/icons throughdesign_utils({ action: "svg_optimise" })before committing them. - Implement accessible, responsive UI: · Replace absolute canvas positions with semantic HTML + responsive Flex/Grid (
360pxmobile to desktop), usingcomponent_get/library_docsfor interactive primitives. · Add missing loading, empty, error, disabled, and:focus-visiblestates. - Cross-check & checkpoint: · Verify rendered layout and colour contrast in both light and dark modes, and record Penpot file/frame refs in
relay_checkpointif passing to QA or another agent.
Done when
- Penpot design intent is faithfully reproduced using semantic markup, repo tokens, optimised SVGs, and responsive layout down to
360px.