Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

figcraft-design

БесплатноБез исполняемых скриптовНе проверен

Use for every design task when FigCraft is installed - the design system and every screen are drawn as editable FigCraft layers (frames, auto layout…

makifbaysalот makifbaysal★ 123 звезды на GitHub

Об этом скилле

FigCraft Design

Overview

When get_design_file says figcraft_installed: true, the design IS a FigCraft file — the way a product designer works in a design tool, not an HTML page. The human sees each page of that file rendered on the task and opens it in FigCraft for detail; developers get the notes document and the exact values in it. Everything is editable layers: frames with auto layout, text, vectors, components with variants, instances, paint and text styles, colour variables with Light and Dark modes. Never paste a screenshot as an image, never draw a screen as one flat picture.

Core principle: One file per task, built from the design system's components; every screen a real auto-layout frame a designer could keep working in; verify every frame by looking at it.

The file

  1. get_design_file (no arguments in your own task's run). It returns task_file — the ONLY file you write — and, when the project or repository already has a design system file, it has already copied it there (seeded_from), so the Foundations page, styles, variables and components are in the file you open.
  2. Open it with the figcraft MCP open_file (path task_file). When task_file_exists is false, start a new document instead and save_file it to exactly task_file before anything else, so a crash never loses the work.
  3. Name the document <Project or repository> — <feature> (screen design) or <Project or repository> — Design system (design system).
  4. save_file to task_file after every page you finish and once more before the run ends. A file that was not saved does not exist for the human.
  5. Never write project_design_system_file or repository_design_system_file: the system replaces them with this task's file when the human approves a design-system task.

Discover commands with list_commands and a filter (autoLayout, component, style, variable, text, export) — never unfiltered. run_command runs one; batch runs many as one undo step, chaining ids with as / $ref. Prefer batch with 20–60 commands. Always pass explicit ids / parent; never rely on the selection or the current page.

Pages

Page What it holds
00 · Foundations The design system: Colors (every token as a swatch with name, value, Light and Dark), Typography (the scale set in real copy, each line naming its style), Spacing & radius, Icons (the set the code uses, imported from the repository's SVGs), brand imagery (logo, mascot, illustrations), and Components — every component as a main component or component set with its variants and states.
01 · <Flow> … One page per flow of the task (01 · Auth & Onboarding, 02 · Invoices). Screens in rows, one row per flow or variant, a Bold 32 label above each row.
Review (design review only) The approved frame and the built screenshot side by side per state, each difference a numbered callout.

A design-system task builds or revises 00 · Foundations and nothing else. A screen-design task adds its flow pages and only ADDS to Foundations a component it proposes (in a Proposed section, named in the notes) — it never changes an existing one.

Foundations — the design system as a file

  • Colour variables in a Theme collection with Light and Dark modes, named by role exactly as the tokens you propose (primary, on-primary, surface, text-secondary); every fill on every screen is bound to a variable, never a raw hex.
  • Text styles Type/<role> (Type/Headline L) and paint styles Color/<role>; apply them with style.apply.
  • Components for every recurring element — status bar, navigation bar, page header, buttons (each style × state as variants: default, pressed, disabled, loading), inputs (empty, filled, focus, error), cards, list rows, chips, sheets, dialogs, snackbars, empty state. Auto layout inside every component, so text overrides resize it. Component properties for text and booleans where the code has props.
  • The values come from the code (design-system-authoring) and from propose_design_system's tokens — the file and the proposal say the same thing. Contrast-check every text/background pair you draw.

Screens

  • Device frames at real size: iPhone 393 × 852 (mobile), 768 × 1024 tablet, 1440 × 900 web. A long scrolling screen is one taller frame named … — full scroll, never cut.
  • Frame name <Area> / <Screen> — <state> (Invoices / List — empty), variant in the name when there are several (Invoices / List — A · default). Every state of every screen is its own frame (rule every-state-designed): default, loading, empty, error, dark, and the control states that change the layout.
  • Build from instances of the Foundations components (instance.create {component, parent, x, y}) and override their text; draw locally only what the design system lacks, and name it as a proposed addition.
  • Auto layout for real structure — lists, rows, cards, buttons, sections — w
Полный SKILL.md на GitHub

Установить figcraft-design в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл figcraft-design?

Use for every design task when FigCraft is installed - the design system and every screen are drawn as editable FigCraft layers (frames, auto layout, components, variants, styles, variables) in the task's own .figcraft file from get_design_file; Foundations page, one page per flow, frame naming, batch-and-verify loop, saving, and the short notes document the human reviews beside it

Как установить скилл figcraft-design?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл figcraft-design запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить figcraft-design с