/opendesigner:opendesigner-exportfrom OpenDesigner
Exports an OpenDesigner design system to CSS variables, Tailwind, DTCG, Swift, Compose, Figma, or Paper. Use after an OpenDesigner interview or on an existing opendesigner/ folder.
Ships in OpenDesigner. 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.
Use this when the person wants their system in code, in Figma or in Paper. It works after an OpenDesigner interview or on any existing opendesigner/ folder.
The DTCG files in opendesigner/tokens/ are the source of truth. Every other format is generated from them. Never edit an export by hand: change the decision and regenerate.
The engine is scripts/engine.py in this skill when it was installed from a release zip. Otherwise it is the sibling opendesigner skill's scripts/engine.py. Run it from the project root.
python3 <engine> build generate, validate, then the exports for the chosen platforms, DESIGN.md and the preview
python3 <engine> export --format tailwind one format only: css tailwind dtcg figma paper swift compose artifact brand, or all
build writes the code exports for the platforms in Q-plat-01: web and desktop get css and tailwind, iOS gets swift, Android gets compose. figma, paper, dtcg, artifact and brand are written for every platform. It names what it left out; export --format <name> or --format all writes it anyway, and a code export already in build/ keeps being refreshed. Until the platforms are named, and for watch, TV, car or headset, it writes all of them.
| Format | Output in opendesigner/ | Use it |
|---|---|---|
| (canonical) | tokens/ (DTCG sets plus opendesigner.resolver.json for modes) | Style Dictionary, Terrazzo, Tokens Studio, Penpot |
dtcg | build/dtcg/<name>.resolver.json | A single resolver file for tools that take one entry point |
css | build/css/tokens.css (custom properties, light and dark) | Import once at the app root |
tailwind | build/tailwind/theme.css (Tailwind v4 @theme; it imports ../css/tokens.css itself) | One line after Tailwind in the main CSS file (below) |
swift | build/swift/DesignTokens.swift (Dynamic Type text styles; body 17 pt) | Add to the iOS target |
compose | build/compose/DesignTokens.kt | Add to the Android UI module |
figma | build/figma/variables.json and build/figma/import/<Collection>.<Mode>.tokens.json | Import in Figma (below) when there is no MCP |
paper | build/paper/tokens.json, build/paper/tokens.light.css, tokens.dark.css | Paper tokens (below) |
artifact | build/artifact/project/ (the system as a Claude Design System artifact's files: index, tokens, README) | Publish the system as a browsable design-system page in Claude |
brand | build/brand/index.html and build/brand/assets/ (the person's logo and icon files) | A brand and press page to host as it is (below) |
The brand and press page (--format brand, issue 49) is made from the system's tokens, and passes the same floors.
hooks.H-logo.clearSpace, hooks.H-logo.minSize; each says "Default" until the person sets it), and do and don't examples drawn from those rules with the person's own file.hooks.H-icons.library) with its licence, not bundled.engine.py set context.press.<field> ... --why "their words"). Each reads "Not enough information" until they give it. Assumed values are not shown, and figures can come from the site brief's proof (Q-site-03).Tailwind v4 wiring. In the main CSS file, for example src/index.css:
@import "tailwindcss";
@import "../opendesigner/build/tailwind/theme.css";
theme.css brings in tokens.css, so light and dark, density and reduced motion work through CSS variables.bg-action-primary, text-fg-primary, rounded-control and h-control-md. DESIGN.md lists the class for each role.bg-blue-600 or rounded-lg doesn't compile. To keep them, run engine.py set exports.tailwindReset false, then engine.py build.Fonts per platform. If raw.fontLicence says the brand font's licence doesn't cover apps, the Swift and Compose files use the system font instead, and say so. Tell the person in one line before they ship an app build.
Ask before wiring an export into the person's code, such as their main CSS file, Tailwind config or build. For an engineer, name the exact files and lines, as above. Offer to append <opendesigner>/assets/output/AGENTS-snippet.md to their AGENTS.md, so later agents use the tokens.
A design file is shared. Someone may have changed it since your last write, or be editing it right now. These steps keep their work safe (research/L21-design-playbook.md, DC-L21-04):
get_metadata and get_screenshot for the frames you will touch, get_variable_defs for the variables. Paper: get_basic_info, get_selection and list_comment_threads. Never write from a copy you read earlier in the session.<opendesigner>/references/guardrails.md section 2). List each one for the person, and record through the engine only what they confirm (engine.py set ... --set-by chosen --quote "<their words>" --why "confirmed by <name>; changed in Figma"). Leave the rest untouched.Detect what is connected before promising anything:
use_figma (signed in, Full seat; canvas writes are in beta): it can create variables, styles and frames. If Figma's official skills are installed (figma-use, figma-generate-library), load them and follow their rules. They know the current API.get_variable_defs, get_design_context, get_screenshot): read-only. Use it to check, not to write.build/figma/import/ (one DTCG file per collection and mode) for Figma's variables import, or build/figma/variables.json for Tokens Studio. Say that Figma imports DTCG only in part: one mode per file, sRGB, px, and no composite tokens.Write flow with use_figma:
Confirm the target file with the person and suggest working on a duplicate first.
Create the five collections in build/figma/variables.json, in its order:
The Figma plan caps the modes per collection (exports.figmaPlan, set by Q-tool-03). The engine splits a collection that goes over the cap and warns. Check the plan before adding more themes.
Create variables with explicit scopes (never "all scopes"), and set code syntax to the CSS variable name so developers see var(--...).
Add text styles for the type scale and effect styles for the elevation levels.
Build one specimen frame per foundation (palette, type, spacing, radius, elevation) and a component sheet, bound to the variables.
Read back with get_variable_defs and compare against tokens/; report any mismatch.
When the person or a designer edits in Figma, read the changes back and list them for the person. Record the ones they confirm as decisions (engine.py set ... --set-by chosen --quote "<their words>" --why "changed in Figma by <name>"), never by editing token files.
Paper's MCP server runs inside Paper Desktop (local, 127.0.0.1:29979/mcp). If its tools are present:
get_guide with topic paper-mcp-instructions). Then call get_basic_info to see the file.build/paper/tokens.json with create_tokens or set_tokens. Paper tokens are CSS variables without modes. Write the light values, and add the dark ones as a separate, clearly named set.get_font_family_info before any typography. Then write specimen artboards with write_html, one visual group per call: palette, type ladder, spacing ruler, radius, elevation, component sheet. The HTML in <opendesigner>/assets/templates/ (component sheet, palette) is a good start. Use the person's tokens, not sample data.get_screenshot. Fix clipping by setting the artboard height to fit its content.finish_working_on_nodes when done.list_comment_threads) and selections (get_selection) come back as a list for the person, like Figma edits; record the ones they confirm through the engine.engine.py validate passes, or each remaining warning has a written waiver.opendesigner/tokens/, and that exports are regenerated, not edited.engine.py feedback "..." --kind gap|bug|confusing|idea (see references/improve.md in the opendesigner skill). Nothing is posted without the person's OK.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ckryptickunal/opendesigner --plugin opendesigner10 skills in this plugin
/opendesignerCreates or sets up a design system (tokens, theme, colours, fonts, DESIGN.md). Use for "make my app look good", a look like a brand's, a landing page, an app or a redesign. One question at a time./opendesigner-extendChanges an existing OpenDesigner system (an opendesigner/ folder), such as a new colour, rounder corners, dark mode or a component. Reads DESIGN.md, decisions and locks first, asks only what is new./opendesigner-extractLearns a look from a website, screenshot, Figma file, repo CSS or brand book. Measures it, maps it to dials, or writes a taste index. Copies structure and quality, never a brand's identity./opendesigner-illustrateIllustrations, stock photos and icons. Finds open-licence art, recolours it to the tokens and wires it in (empty states, onboarding, hero), with a licence ledger. Draws icons like a product's own./opendesigner-paintOriginal art painted in code in the brand's palette. A hero or launch film, a celebration loop, or a still in watercolour, pointillism, charcoal, sketch, woodcut or 2D cel./opendesigner-preflightA launch checklist for anything visual (page, video, deck, share image, UI) that catches the silly mistakes that look cheap or wrong. Use before any render, export, deploy, post or publish.Other plugins' skills for the same job