create-design-workspace/SKILL.md
Bootstrap a full frontend delivery workspace from UI screenshots or a Figma URL, then carry the implementation through Storybook-first, token-first development and visual parity. Use when the user wants to start a new product build from reference images, a Figma design, or both.
npx skillsauth add harrychuang/cursor-skills create-design-workspaceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user wants a complete implementation workflow from UI references rather than a one-off component patch.
This skill has two jobs:
The generated workspace must remain usable in all of these environments:
When bootstrapping or updating the template, preserve these entrypoints:
CLAUDE.md and .claude/commands/*.cursorrules and .cursor/rules/*AGENTS.mdUse this skill in an empty project directory, or in a brand-new directory created specifically for the new UI-to-code workspace.
This skill is for starting a new design-driven project. It is not intended to be dropped directly into the root of an existing application with unrelated code.
FIGMA_PATFIGMA_AUTH_MODE=connectorBefore implementation, classify the source mode:
Do not claim that one static image is enough to recover hidden states, responsive behavior, product rules, real data behavior, exact typography, or complete component ownership. Use start-here/ACCURACY_CONTRACT.md in the generated workspace to set expectations and sign-off criteria.
node /Users/HarryChuang/.cursor/skills/create-design-workspace/scripts/bootstrap-design-workspace.mjs --target "<target-dir>" [--project-name "<name>"] [--figma-url "<url>"] [--figma-pat "<pat>"] [--figma-auth-mode "connector"] [--screenshot "<path>"]
npm run workspace:init
npm run workspace:sync
npm run workspace:check
--screenshot flag per file to the bootstrap script.reference/ for later parity runs. Ask the user to place the images in the repo when a persistent reference set is needed.--figma-url.FIGMA_PATFIGMA_AUTH_MODE=connector when Cursor, Claude Code, or Codex already has authenticated Figma MCP/connector accessFIGMA_PAT nor connector auth mode is configured, treat the workspace as invalid for Figma-first automation:
workspace:sync may still pass so tasks can be regeneratedworkspace:check must fail until FIGMA_PAT is set or FIGMA_AUTH_MODE=connector is declaredFIGMA_PAT in .env.local, or declare FIGMA_AUTH_MODE=connector, then re-run npm run workspace:sync and npm run workspace:checkskills/figma-m3-variables/SKILL.md as Phase 0Ref -> Sys -> Comp variablesargTypes and expose expanded controls in docs.observed source values from inferred system recommendations, then map the chosen system into tokens.Once the workspace exists:
start-here/KICKSTART.md, start-here/BUILD_PLAN.md, start-here/TASKS.md, and design/foundations/README.md.
start-here/ACCURACY_CONTRACT.md before implementation.skills/design-system-governance/SKILL.mdskills/ui-screenshot-to-storybook-product/SKILL.mdskills/ui-visual-parity/SKILL.mdskills/figma-m3-variables/SKILL.md first when Figma mode is configuredWhen handing off to a specific tool:
start-here/KICKSTART.md/buildstart-here/KICKSTART.mdDo not stop after scaffolding unless the user explicitly asks only for setup.
workspace:init; the template intentionally keeps managed skills out of versioned starter files.development
Extract a reusable design-system specification from UI screenshots/images, Figma URLs or exports, Figma Variables, existing app/project folders, or prototype code. Use when Codex must produce evidence-backed design principles, design elements, token architecture, component inventory, component token specs, anti-AI style constraints, static HTML documentation for developers, cross-agent handoff guidance for Claude Code/Cursor/Codex, and a checkpoint before any product implementation.
development
Create, apply, audit, and understand Variables in Figma using Google Material Design's three-tier token inheritance (Ref → Sys → Comp). Use when: creating Variables for components or screens, applying existing Variables to nodes, auditing token naming and structure for compliance, or having AI read existing Variables to reverse-engineer design components. Triggers: create Variables, apply Variables, Figma variables, M3 token, design token, token inheritance, token audit, audit variables, design component from variables, three-tier token.
tools
Turn screenshots or Figma exports into token-backed Storybook components and composed product screens.
tools
Turn screenshots or Figma exports into token-backed Storybook components and composed product screens.