Agent skill Frontend
Figma Create Design System Rules
Connect design references and design tools to frontend implementation.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add openai/skills --skill figma-create-design-system-rules --agent claude-code --yesCheck this file in your project.claude/skills/figma-create-design-system-rules/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add openai/skills --skill figma-create-design-system-rulesSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. The local project, its actual language and framework, an existing assistant instruction file, and Figma MCP access. The Open Design entry is a discovery pointer. This page’s command installs the full workflow from openai/skills. If a same-name Skill is installed, check its source in skills-lock.json first.
View operation manualWhat this skill helps with
- Connect design references and design tools to frontend implementation.
Good for
- Design handoff
- Task
- Write Figma handoff rules that match the current codebase
- Inputs
- The local project, its actual language and framework, an existing assistant instruction file, and Figma MCP access.
- Deliverable
- A reviewable addition to the appropriate assistant rules file, with paths and decisions verified against a representative component.
- Skill name
figma-create-design-system-rules- Repository
nexu-io/open-design
Define an outcome you can verify
An underspecified prompt
Add standard Figma rules using React and Tailwind defaults.
Default framework examples can point to folders, components, and tokens that do not exist in your project.
A verifiable workflow
- Trace the genuine component, token, icon, and asset conventions.
- Give the assistant verifiable paths and a policy for mapping gaps.
- Check that a fresh reader can find the right files and follow the rules.
Figma Create Design System Rules operation manual
A reviewable addition to the appropriate assistant rules file, with paths and decisions verified against a representative component.
The local project, its actual language and framework, an existing assistant instruction file, and Figma MCP access.
Get the Figma rules template and inspect the repo
Trace the genuine component, token, icon, and asset conventions.
Prompt · Step 1Read figma-create-design-system-rules/SKILL.md installed from openai/skills and use its full workflow. Check the connected MCP tools and access to the target. For [project root and assistant], read the installed Skill and invoke the Figma create_design_system_rules capability with the actual framework and language when required by this host. Then locate the real UI components, style tokens, icons and asset conventions. Trace one existing component into an actual call site. Return the candidate instruction file plus source evidence before writing.Merge a short, project-specific rule section
Give the assistant verifiable paths and a policy for mapping gaps.
Prompt · Step 2Read figma-create-design-system-rules/SKILL.md installed from openai/skills and use its full workflow. Check the connected MCP tools and access to the target. Using [confirmed repository paths and conventions], merge a Figma handoff section into AGENTS.md for Codex, CLAUDE.md for Claude Code, or .cursor/rules/figma-design-system.mdc for Cursor as applicable. Preserve existing rules. Explain how to resolve a Figma link, reuse a component and semantic token, handle an unmatched asset or token, and compare the rendered result. Cite specific examples that already exist.Rehearse on one representative component
Check that a fresh reader can find the right files and follow the rules.
Prompt · Step 3Read figma-create-design-system-rules/SKILL.md installed from openai/skills and use its full workflow. Check the connected MCP tools and access to the target. Using only the updated rule section, trace [representative component or authorized Figma node] to its token sources, component import and visual verification path. Flag any link or rule that fails against real files. If no live Figma node is available, report a repository-only rehearsal and list each unresolved live check.
Look up a workflow detail
Open the corresponding documentation below.
Which rules file does Codex read for this workflow?SKILL.md
- Command or reference
create_design_system_rules- Examples
- Use the applicable AGENTS.md for Codex, CLAUDE.md for Claude Code, or a .cursor/rules/figma-design-system.mdc project rule for Cursor. Read existing instructions and keep the new section within the intended project scope.
Troubleshooting and FAQ
Which rules file does Codex read for this workflow?
Use the applicable AGENTS.md for Codex, CLAUDE.md for Claude Code, or a .cursor/rules/figma-design-system.mdc project rule for Cursor. Read existing instructions and keep the new section within the intended project scope.
What if I already installed the Open Design entry?
The Open Design entry is a discovery pointer. This page’s command installs the full workflow from openai/skills. If a same-name Skill is installed, check its source in skills-lock.json first.