К основному содержанию
скилл CX Codex

craft-setup — скилл для Claude Code: настройка дизайна

Скилл craft-setup для Claude Code, который собирает вводные о продукте и записывает их в DESIGN.md. Запускается перед первой экранной задачей, если в корне проекта ещё нет этого файла.

MIT ★ 393 обновлён 2026-11-15

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add diego3g/craft
/plugin install craft@craft
Открыть на GitHub

Что делает craft-setup

Скилл помогает определить продуктовый стиль до начала работы над экранами. Он сначала читает README, документацию, CSS и файлы токенов, затем задаёт вопросы по одному сообщению: о продукте, аудитории, настроении, бренде и ограничениях. Референсы обязательны: для каждого нужно обсудить, что взять, а чего избегать.

Ответы попадают в DESIGN.md с восемью разделами. Скилл показывает файл и ждёт одобрения, после чего создаёт основы дизайна через craft-system либо предлагает импорт существующей дизайн-системы через craft-sync. Уже имеющиеся стили и токены он расширяет, но не переименовывает и не перемещает без запроса. При команде «пропусти» вопросы и одобрение брифа можно обойти, но шаг с основами дизайна остаётся.

Какие задачи решает

  • зафиксировать стиль продукта в DESIGN.md
  • собрать вводные о целевой аудитории и бренде
  • разобрать референсы и отметить, что брать или избегать
  • подготовить основы дизайна перед созданием экранов

Примеры запросов агенту

  • Настрой дизайн продукта и создай DESIGN.md.
  • Определи стиль бренда и основы дизайна для этого проекта.
  • Начни работу над экраном: сначала собери дизайн-бриф.

Как установить craft-setup

1Через маркетплейс плагинов

/plugin marketplace add diego3g/craft
/plugin install craft@craft

Команда ставит плагин craft целиком, со всеми его скиллами

2Через Skills CLI (Vercel)

npx skills add diego3g/craft --skill craft-setup -a claude-code

3Вручную: положить файлы

~/.claude/skills/craft-setup/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/craft-setup/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о craft-setup

Как установить craft-setup в Claude Code?

Добавь маркетплейс командой /plugin marketplace add diego3g/craft, затем установи плагин командой /plugin install craft@craft.

Что делает craft-setup?

Скилл собирает требования к дизайну, записывает их в DESIGN.md и после одобрения готовит основы дизайна. Он включается для дизайн-задачи, если в корне проекта нет DESIGN.md, или по прямой просьбе настроить стиль.

Что происходит, если попросить craft-setup пропустить вопросы?

Скилл создаёт краткий DESIGN.md, а предположения помечает как (assumed). Вопросы и одобрение брифа можно пропустить, но шаг с основами дизайна выполняется.

Исходный текст

SKILL.md · MIT
---
name: craft-setup
description: Use when a request to design or create a page, screen or element starts in a project with no DESIGN.md at its root, when the person asks to set up, define or start the design, style, brand or guidelines of a product, or runs /craft-setup (/craft:craft-setup in the Claude Code plugin).
---

# Design setup

## Overview

Before the first screen, agree on what the product is, who it's for, how it should feel and what it should never look like. Write that down in `DESIGN.md`, the brief every later design decision reads first. **Ask, don't invent**: a brand made up by the agent is a guess the person will have to undo. Read what exists, interview the person one question at a time, write the brief, stop for approval, then build the foundations.

## When to use

- A design task and no `DESIGN.md` at the project root.
- "Set up the design", "define our style / brand / guidelines", `/craft-setup` (`/craft:craft-setup` in the Claude Code plugin).

## When NOT to use

- `DESIGN.md` exists and the task is a design: use `craft`.
- Changing one token or one guideline: use `craft-system`.

## Steps

1. **Read first.** README, docs, existing CSS or tokens, the design file, brand folders, any old `DESIGN.md` draft. Write down what they already answer. **If the code already has a design system** (a UI package, token files, a component library), say so with counts, and write "Design system source: `<path>`" into the brief's Brand section. In step 6, offer to import it into the design tool instead of creating foundations; the brand questions it answers are skipped. **Two UI packages** → ask which is the source before skipping any brand question. **Never ask a question these files answer.** Confirm it in one line instead ("Your README says pt-BR only and members over 60, so I'll design for 18px text and 48px taps").
2. **Interview, one question per message.** Follow [the interview](references/interview.md) in its order: product, audience and voice, mood, brand, references, constraints.
   - Offer 3–5 options plus "something else" whenever you can.
   - Skip any question already answered.
   - Stop when the answers are enough to design the first screen. Six good answers beat fifteen.
3. **References are required.** Ask for 2–5 products, sites or images they like. For each one, ask **what to take and what to avoid**. If it's a link or an image you can open, look at it and say what you see before asking.
4. **Write `DESIGN.md`** at the project root from [the template](references/design-md-template.md), with all eight sections: Product, Audience and voice, Mood, Brand, References, Constraints, Decisions log, Open questions.
   - Use their words where you can.
   - Anything you inferred and they didn't confirm goes under Open questions, not into the brief as fact.
5. **Stop and show the person `DESIGN.md`.** Change it until they approve it.
6. **Foundations.**
   - **Design system already in code:** offer the import. On yes, **REQUIRED SUB-SKILL:** `craft-sync` (import). It shows an inventory and asks which components to draw. On no, log "<date> — Import into <tool> declined" in the Decisions log. Offer it even after "skip": it's about the design tool, not the brief.
   - **No system in code:** **REQUIRED SUB-SKILL:** `craft-system` in create mode for the foundations (tokens, type, spacing, interaction rules). It has its own approval stop.
   - Existing tokens and styles are the starting point: extend them, don't rename or move them without asking.

## If the person says "skip" or "just design it"

Don't keep asking. Write a minimal `DESIGN.md` from what you read and what they said:
- every gap becomes an Open question;
- every assumption is marked "(assumed)".

Say in one line which assumptions matter most. "Skip" waives the interview and the brief's approval stop, never step 6:
- **design system in code** → still ask the one import question ("Import it into <tool> now? I'll show what's there and you pick the components"), then continue;
- **no tokens yet** → the foundations step and its stop still run, because `craft` can only draw with system pieces.

Then continue with the task they asked for.

## Before you start

- If no adapter in `references/adapters/` matches your tool, do the same verbs in your tool and say which you mapped by hand. With no design tool at all, build in HTML (`html.md`). If an image is all you have, say that values read from it are estimates.
- `DESIGN.md` is a plain Markdown file in the repo in every tool. Only the optional references board lives in the design tool.

## Rules

| Rule | Why |
|---|---|
| One question per message, with options | A wall of questions gets skimmed and half-answered |
| Read before asking; never ask what the files say | Asking what's in the README tells them you didn't look |
| No invented brand: colours, fonts and mood come from them or are marked "(assumed)" | An invented brand is a guess they have to undo screen by screen |
| References always come with take/avoid | "I like Stripe" is useless; "take the calm spacing, avoid the gradients" is a rule |
| "Never like" is asked explicitly | What to avoid narrows the design faster than what to aim for |
| Don't redesign existing files during setup | Setup records decisions; changing their CSS is a design task they didn't ask for yet |
| No screens during setup | Screens come from `craft`, after the brief and foundations are approved |

## Done when

`DESIGN.md` is approved with its eight sections, and the foundations are settled: created and approved through `craft-system`, or (with a system in code) imported through `craft-sync` or the import declined and logged. After a "skip": `DESIGN.md` is written with its assumptions marked, the foundations exist (approved, or already in the project), and the original task has continued.

## Common mistakes

| Thought | Reality |
|---|---|
| "I'll pick a nice palette and fonts, they can change it" | They can't change what they didn't know was decided. Ask, or mark it "(assumed)". |
| "While I'm here I'll mock the main screens" | That's `craft`'s job, after approval. Setup ends at the brief and foundations. |
| "Let me ask all six questions at once to save time" | One per message, with options. It's faster for them to answer. |
| "Their tokens are messy, I'll restructure them" | Extend them. Restructuring is a separate, approved change. |
| "No references given, I'll skip that section" | Ask for them. If they have none, offer three that fit the mood and ask what to take and avoid from each. |

© Diego Fernandes · MIT · diego3g/craft

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

Все скиллы по теме «Дизайн» →
ui-craft educlopez Скилл ui-craft для дизайна и вёрстки интерфейсов: сначала разведка проекта, потом код. Помогает уйти от типовых AI-макетов. CX Codex +1 1 700установок ui-craft-minimal educlopez Скилл ui-craft-minimal настраивает агента на вёрстку минималистичных интерфейсов в духе Linear, Notion и Vercel. Фиксирует монохромную гамму, крупный воздух и запрещает лишнюю анимацию. CX Codex +1 1 000установок craft-design-engineering gustavo-fior Скилл craft-design-engineering для Claude Code с правилами дизайн-инженерии: типографика, цвет, отступы, анимации и цифры. Доводит UI до аккуратного вида. CX Codex +1 744установок om-ux-setup open-mercato Скилл om-ux-setup извлекает дизайн-систему репозитория в исполняемый контракт в .uxproof/. Запускается при настройке UX-проверок или после изменения дизайн-токенов. CX Codex +1 3 500установок vocabulary index-how Скилл vocabulary для Claude Code превращает нечёткие описания интерфейса в точные термины и разграничивает близкие понятия. Помогает вычитывать спецификации и коммиты. CX Codex +1 1 200установок awesome-design-md wearescientist Скилл awesome-design-md подбирает стиль интерфейса из библиотеки DESIGN.md и применяет его к вёрстке: layout, цвет, типографика, отступы. CX Codex +1 1 100установок

Из того же набора9

using-craft Скилл using-craft для Claude Code направляет задачи по дизайну интерфейса к нужному скиллу из набора Craft. Для новой страницы он сначала проверяет, есть ли в корне проекта DESIGN.md. CX Codex +1 ★ 393звёзд репо craft-explore Скилл craft-explore для Claude Code предлагает варианты дизайна экрана, потока или отдельного элемента. Запускается, когда нужны альтернативы или текущий вариант не нравится. CX Codex +1 ★ 393звёзд репо craft-states Скилл craft-states для Claude Code помогает спроектировать состояния экрана, потока или компонента. Включается при редизайне и проверке макета перед передачей в разработку. CX Codex +1 ★ 393звёзд репо craft-critique Скилл craft-critique для Claude Code проверяет дизайн экрана и предлагает точечные правки. Запускается на просьбу оценить или улучшить макет, перед показом готового экрана и передачей дизайна в код. CX Codex +1 ★ 393звёзд репо craft Скилл craft для Claude Code проектирует и перерабатывает страницы, экраны, потоки и элементы интерфейса. Перед созданием проверяет контекст проекта, перечисляет состояния и сверяет результат. CX Codex +1 ★ 393звёзд репо craft-system Скилл craft-system для Claude Code помогает создавать и менять дизайн-систему, а также проверять её на расхождения. Он включается при работе с токенами, компонентами и экранами. CX Codex +1 ★ 393звёзд репо craft-sync Скилл craft-sync для Claude Code переносит токены и компоненты между кодом и дизайн-инструментом. Включается перед дизайн-задачей или по просьбе импортировать систему и синхронизировать правки. CX Codex +1 ★ 393звёзд репо craft Плагин craft для Claude Code помогает проектировать экраны с полным набором состояний и проверять дизайн перед показом. Задайте задачу на создание или изменение интерфейса: плагин выберет подходящий скилл. ★ 393звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой