Command Palette

Search for a command to run...

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

google-stitch-workflow

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

Use when working with Google Stitch through a disciplined MCP-first workflow. Prefer this skill for project inspection, controlled screen generation and…

luischarroот luischarro1 915 установок в других каталогах

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

Google Stitch Workflow

Use Google Stitch as a controlled design exploration and screen-iteration surface, not as a blind code generator.

The normal loop is:

  1. Inspect the project and available screens.
  2. Generate or edit one screen.
  3. Review the actual visual artifact.
  4. Iterate in small preservation-oriented steps.
  5. Move to code only after one direction is clearly accepted.

For full details, edge cases, and expanded recipes, read references/complete-operator-manual.md as an index and load only the focused reference needed for the task.

When To Use

Use this skill when the task involves:

  • inspecting Stitch projects and screens before making changes
  • generating a new screen from a structured text prompt
  • refining generated screens with small controlled edits
  • organizing a multi-screen redesign without losing revision history
  • converting vague design requests into stronger Stitch prompts
  • deciding when to stay in Stitch and when to move into production code

Do not use Stitch as the primary path when the real task is:

  • deterministic code-side UI repair in an existing app
  • pixel-perfect implementation fixes that do not need design exploration
  • whole-product planning in one giant prompt
  • assuming browser-only Stitch features exist through MCP

Startup Handshake

Run a capability-first check before the first generation or edit.

Critical: do not use generic MCP schema discovery as the reliability test for Stitch. Some Stitch MCP environments return schema discovery errors even when direct tool calls work.

Use your agent runtime's direct MCP call mechanism instead (see Runtime Adapters). Call list_projects once. If it succeeds, Stitch is operational.

list_projects output is very large: every project carries its full design theme and designMd, so a few dozen projects can return hundreds of thousands of characters. Do not read it whole. Save it to a file and summarize it, for example:

jq -r '.projects[] | [.name, .title, (.screenInstances | length), .updateTime] | @tsv' list_projects.json

Some runtimes (Claude Code among them) save oversized tool results to a file automatically and return the path; run the summary on that file. Pass filter: "view=shared" to list only projects shared with you (default is view=owned).

Only enter setup mode when Stitch is not configured or the user explicitly asks for setup help. Confirm the active project with the user before editing or generating.

Current baseline tools (official Stitch MCP server, https://stitch.googleapis.com/mcp):

  • read: list_projects, get_project, list_screens, get_screen, list_design_systems, download_file
  • generate and edit: create_project, generate_screen_from_text, edit_screens, generate_variants
  • design system: create_design_system, update_design_system, apply_design_system, upload_design_md, create_design_system_from_design_md
  • destructive: delete_project (cannot be undone; call it only after the user confirms the exact project by title and ID)

Tools that older wrapper setups exposed and the official server does not: fetch_screen_image, fetch_screen_code, get_screen_image, get_screen_code, generation_status, list_generations, build_site. Treat them as unverified. Use them only if your own tool list shows them; otherwise use download_file for images and HTML, and list_screens polling for long generations.

If baseline read tools are missing, stop and fix environment state first. If a generate or design-system tool is missing, continue with what the environment exposes and say what is missing.

Runtime Adapters

This skill is agent-neutral. It requires access to a configured Stitch MCP server, not a specific agent runtime. Tool names are the same everywhere; only the call syntax differs.

  • Claude Code: the server is added once by the user (for example as a user-scope HTTP MCP server named stitch pointing at https://stitch.googleapis.com/mcp). Tools then appear directly as mcp__stitch__<tool>, such as mcp__stitch__list_projects. If the tools are deferred, load their schemas first (for example with a tool search for select:mcp__stitch__get_screen) and read the parameters from the loaded schema.
  • Codex, Cursor, OpenClaw, or another agent: use that runtime's MCP tool-call interface for the same tool names.
  • CLI-style MCP clients: call stitch.<tool> with a JSON argument object.

Credentials belong in the runtime's MCP configuration, set up by the user. Never print, echo, paste, or store an API key in prompts, files, logs, or chat.

Do not make any particular wrapper, proxy, or CLI a hard requirement unless the user explicitly chooses that path.

Operating Rules

  • Rewrite the user request into a stronger design prompt before any generate, edit, or variants call.
  • Inspect before editing: list projects/screens and read the target screen first.
  • Work one screen at a time.
  • Keep prompt
Полный SKILL.md на ClawHub

Установить google-stitch-workflow в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл google-stitch-workflow?

Use when working with Google Stitch through a disciplined MCP-first workflow. Prefer this skill for project inspection, controlled screen generation and editing, DESIGN.md-based design systems, visual review, prompt structuring, and failure recovery.

Как установить скилл google-stitch-workflow?

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

Скилл google-stitch-workflow запускает скрипты?

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

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

Сравнить google-stitch-workflow с