/codex-toolkit:figma-clifrom codex-toolkit
Build and edit designs directly in Figma Desktop from the terminal using the figma-cli command (controls Figma live over a local connection, no API key). Use whenever the user wants to create, render, or edit Figma frames/components/variants, add or import design tokens/variables (shadcn, Tailwind, DTCG, CSS), extract a design system to DESIGN.md, generate gradients/wallpapers, animate with Figma Motion, run accessibility audits, or connect an AI assistant to their Figma. Triggers on "build/make X in Figma", "add my design system", "create N buttons/cards", "use my variables", "export the design system", "check contrast".
Ships in codex-toolkit. 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.
None: SKILL.md is the whole skill.
figma-cli controls Figma Desktop directly (no API key). Use the installed
CLI version and check its help before selecting a connection mode. Preserve
the user's selected mode; if none is specified, prefer figma-cli connect --safe.
Opening a connection does not authorize edits to the user's design.
If the figma-cli command is not found, report the missing dependency and see
Installation below. This skill does not install the CLI, patch Figma, or
register a development plugin automatically. Explain any required application
change and obtain authorization before performing it.
figma-cli connect — Yolo (CLI default): patches Figma Desktop. Use only
when that application change is explicitly authorized; do not select it as a fallback.figma-cli connect --browser — Browser: drives Figma in a Chromium browser via
a local connection; never modifies the Figma app. Use when patching the desktop
app is undesirable (compliance / locked-down machine / no "App Management" permission).figma-cli connect --safe — Safe: official plugin (Plugins → Development → FigCli).render / render-batch — they have smart positioning.
NEVER use eval to create visual nodes (no positioning, bypasses guards).render-batch '[...]' or shadcn add <c> --count N.figma-cli verify "<id>" --measure (returns a
screenshot + real w/h so you catch size bugs by numbers, not by eye).var:name, never raw hex when a system is loaded:
<Frame bg="var:primary"><Text color="var:on-primary">Go</Text></Frame>render-batch ... --collection figma.figma-cli import tailwind.config.js | globals.css | tokens.json.figma-cli extract → DESIGN.md.flex="row|col" gap={16} p={24} px py pt pr pb pl justify="center|between" items="center"w={320} h={200} w="fill" w="hug" w="60%" (percent resolves vs parent)bg="#fff" stroke="#000" strokeWidth={2} rounded={12} shadow="..." opacity={0.8}<Text size={14} weight="semibold" color="#000" lineHeight={20} truncate maxLines={2} w="fill"><Icon name="lucide:home" size={20} color="var:primary" /><Frame w={1} bg="var:border" />) auto-fills the cross axis.For text to wrap, the parent AND every <Text> need w="fill", and the parent
needs flex="col" or flex="row".
Don't read the structure markdown by hand. Use:
figma-cli spec <Component> → authoritative variant axes + sample size (compact).
Build EXACTLY to those axes (e.g. Variant × Size = a Component Set, not one node).figma-cli spec <Component> --check <nodeId> → enforces it (exit 1 on mismatch:
wrong structure, missing axes, wrong height). Treat non-zero as "not done".figma-cli connect --safe # connect through the development plugin
figma-cli render '<Frame>...</Frame>' # one frame
figma-cli render-batch '[ "<Frame>", ... ]' --direction row
figma-cli shadcn add button --count 3 # N distinct shadcn primitives
figma-cli node to-component "<id>" # promote to a component
figma-cli verify "<id>" --measure # screenshot + dimensions
figma-cli a11y audit # contrast / touch / text checks
figma-cli tokens preset shadcn # 244 primitives + semantic (light/dark)
figma-cli var visualize # show colors on canvas
figma-cli motion preset <id> fade-up # animate (Figma Motion, beta)
figma-cli blocks create dashboard-01 # pre-built dashboard layout
figma-cli is a separately installed Node CLI that talks to Figma Desktop locally; it is not bundled with this skill. If installation is requested, verify the requirements and installation instructions for the selected release at https://github.com/silships/figma-cli before changing the environment. Do not create a global command link or patch the application merely because the skill was selected. Full command reference and JSX docs live in that repo's README.md and REFERENCE.md; check them against the installed version.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub artypoul/gigma_skills --plugin codex-toolkit19 skills in this plugin
/background-removeRemove backgrounds from images using AI. Triggers include: "remove background", "transparent background", "cut out", "isolate subject", "remove bg", "make transparent", "extract subject", "background removal" Creates PNG or WebP images with transparent backgrounds.
/banquet-image-generationГенерировать, редактировать и проверять визуализации банкетного зала по подтверждённой фотографии и плану конкретного проекта, сохраняя геометрию и привязку зоны. Проверка сама по себе не разрешает новую генерацию./cabinet-screen-ux-passRefine an existing cabinet or admin screen without breaking the current flow. Use when the user asks to make a page more informative, clearer, or visually stronger, to move deep settings inside the main management surface, or to improve presentation while preserving routes, business logic, and the current block structure unless a structural change is explicitly requested./featureОркестрирует полный doc-first цикл разработки фичи в одном pull request: план → ревью монстров → реализация → ревью → готово к мержу. Используй всегда, когда пользователь просит сделать или реализовать фичу, добавить функционал, провести задачу до готового PR, хочет порядок "сначала план, потом код", или когда изменение затрагивает несколько файлов, пользовательский сценарий, данные, API, UI или архитектурные решения. Агент сам пишет план и код; пользователь ставит задачу, отвечает на реальные продуктовые развилки и мержит в конце. Не используй для опечаток, однострочных фиксов и других мелких механических правок./figma-poster-positioningСоздание, правка и математическое ревью редактируемых афиш в Figma: единая сетка, безопасные зоны и проверка свойств всех слоёв по запросу. Создание графики и экспорт передавать профильным скиллам лишь при необходимости./gh-address-commentsHelp address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in.