studio — команда для Claude Code: что делает и как установить
Команда studio запускает локальный веб-редактор токенов поверх свежего экспорта дизайна с предпросмотром компонентов и экспортом стилей.
MIT ★ 5 183 обновлён 2026-10-23
/plugin marketplace add Manavarya09/design-extract
/plugin install designlang@designlangЧто делает studio
Команда поднимает локальный сервер через npx designlang studio на порту 4837. В браузере открывается интерфейс, где можно менять токены дизайна, переключать тёмную тему и проверять параметры анимаций во вкладке Motion. Изменения сразу видны на сетке компонентов и обновлённой странице.
Результат можно выгрузить в виде токенов DTCG, CSS-переменных или темы для Tailwind. Без предварительного запуска /extract <url> или /site <url> студии нечего открывать: по умолчанию инструмент ищет файл *-design-tokens.json в каталоге ./design-extract-output/. Сменить рабочую папку или порт можно флагами --dir и --port.
Какие задачи решает
- редактировать дизайн-токены в локальном визуальном интерфейсе
- проверить тёмную тему и анимации на готовых компонентах
- экспортировать токены в CSS-переменные и тему Tailwind
Примеры запросов агенту
- Запусти студию дизайна на порту 4837
- Открой студию для токенов из папки
./design-extract-output
Как установить studio
1Через маркетплейс плагинов
/plugin marketplace add Manavarya09/design-extract/plugin install designlang@designlang2Вручную: положить файлы
.claude/commands/studio.mdВызов — /studio. Для всех проектов — ~/.claude/commands/
Вручную: положить файлы
~/.codex/prompts/studio.mdВызов — /prompts:studio. В Codex этот формат помечен устаревшим, замена — скиллы
Вручную: положить файлы
.github/prompts/studio.prompt.mdВручную: положить файлы
.gemini/commands/studio.tomlGemini хранит команды в TOML: текст запроса — в поле prompt
Вопросы о studio
Как установить studio в Claude Code?
Выполните команду /plugin marketplace add Manavarya09/design-extract, а затем /plugin install designlang@designlang.
Что делает команда studio?
Она запускает локальный веб-сервер с редактором токенов, где можно интерактивно настраивать цвета, анимации и сразу видеть изменения в компонентах.
Что нужно сделать перед запуском команды?
Сначала выполните /extract <url> или /site <url>, чтобы сгенерировать файл токенов в папке ./design-extract-output/.
Исходный текст
studio.md · MIT
--- description: Launch the local design Studio — a live token editor over the latest extraction. Edit, preview a wall of real components, toggle dark mode, inspect motion, and export. argument-hint: [--dir ./design-extract-output] [--port 4837] --- Launch **designlang studio**, a tiny local web app that turns the most recent extraction into a living, editable design system. Editing a token restyles a wall of real components and a rebuilt page instantly; you can toggle a generated dark mode, inspect easing curves and choreography in the Motion tab, and export the edited system back out as DTCG tokens, CSS variables, and a Tailwind theme — or copy a shareable link that encodes the edits. ```bash npx designlang studio $ARGUMENTS ``` This starts a local HTTP server (default port 4837) and prints a URL. Tell the user to open it in their browser. It reads the latest `*-design-tokens.json` from `./design-extract-output/` by default — if there is no extraction yet, run `/extract <url>` or `/site <url>` first. Useful flags via `$ARGUMENTS`: | Flag | Effect | |---|---| | `--dir <dir>` | directory to read the latest extraction from | | `--port <n>` | port for the local server (default 4837) | The server runs until the user stops it (Ctrl+C). Do not block on it — surface the URL and let the user drive. Full reference: https://github.com/Manavarya09/design-extract#full-cli-reference
© Manavarya Singh · MIT · Manavarya09/design-extract