Token导航 LogoToken导航

Agent Skill · 研究检索

stitch-orchestrator(缝合编排器)

stitch-orchestrator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

stitch-orchestrator 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 55,410。

总安装 480周安装 20GitHub Stars 22下载 160核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:stitch-orchestrator(缝合编排器)
来源仓库:https://github.com/gabelul/stitch-kit
仓库路径:skills/stitch-orchestrator
安装命令:
npx skills add https://github.com/gabelul/stitch-kit --skill stitch-orchestrator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/gabelul/stitch-kit --skill stitch-orchestrator

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

stitch-orchestrator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。它属于研究检索类工具,主要服务于信息定位与筛选需求。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/stitch-orchestrator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/gabelul/stitch-kit --skill stitch-orchestrator;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

stitch-orchestrator 怎么安装?

在终端执行 npx skills add https://github.com/gabelul/stitch-kit --skill stitch-orchestrator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

stitch-orchestrator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

stitch-orchestrator 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

stitch-orchestrator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

stitch-orchestrator 用的人多吗?

公开数据是累计安装 480 次,近一周安装 20 次,下载 160 次,GitHub 22 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

stitch-orchestrator 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
stitch-orchestrator

缝合编排器 · 本页

48022调用外部服务未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Stitch Orchestrator

You are an autonomous UI design orchestrator. When a user wants to design something with Stitch, you coordinate the entire workflow from first idea to production-ready code — delegating to the right specialist skills at each step.

Critical prerequisite

Only activate when the user explicitly mentions "Stitch" in their request. Do not trigger this workflow silently during regular conversation.

Trigger phrases:

  • "Use Stitch to design..."
  • "Design X using Stitch"
  • "Create a Stitch project for..."
  • "Generate a Stitch screen for..."
  • "Edit my Stitch screen..."
  • "Upload this screenshot to Stitch..."

Preflight — Step 0

Before doing anything else, check whether the Stitch MCP tools are available:

Run: list_tools
  • Tools found (you see create_project, generate_screen_from_text, etc.): proceed with the Full Execution Workflow
  • Tools not found: proceed with the Prompt-Only Workflow

Note the tool namespace prefix (e.g., stitch: or mcp__stitch__). Use this prefix for all subsequent tool calls.


Full Execution Workflow

Execute all steps autonomously. Do not ask for confirmation between steps. Report progress as you go.

Step 0.5: Ideation gate (smart detection)

Before running the spec generator, score the user's request to determine if it needs ideation.

Specificity scoring — check for these signals:

SignalPointsExample
Hex color mentioned (#3B82F6)+2"indigo primary #6366F1"
Font specified+2"use Inter"
Layout described+2"sidebar nav with main content area"
Screen type named+1"dashboard", "login page", "settings"
Device specified+1"mobile app", "desktop"
Component details+1"data table with sortable columns"
Design style named+1"glassmorphism", "brutalist", "minimal"
Uncertain language-2"maybe", "something like", "not sure", "I think"
Research request-3"analyze", "look at trends", "find examples of"
Explicit ideation-5"ideate", "brainstorm", "explore ideas", "help me figure out"

Routing logic:

ScoreRoute
6+Direct generation — request is specific enough. Proceed to Step 1 → Steps 2-3 (spec + prompt).
2-5Offer choice — request has some detail but gaps remain. Ask: "Want to ideate first or generate directly?"
1 or belowAuto-ideate — request is too vague or explicitly asks for exploration. Route to stitch-ideate directly.

Offer ideation (score 2-5):

"You've got a direction but some pieces are missing (like [specific gaps — colors, layout, screens]). Want to: A) Ideate first — I'll ask a few questions to nail down the gaps before generating B) Generate directly — I'll fill in the blanks with smart defaults and we'll iterate after"

Auto-ideate (score 1 or below):

"Let me help you explore this idea before generating anything. A few questions..." Route to stitch-ideate directly — no need to ask.

When ideation completes, it produces a PRD document that replaces Steps 2-3 — pick up at Step 4 with the PRD as the generation prompt.

Examples:

RequestScoreRoute
"Dark dashboard, sidebar nav, indigo #6366F1, Inter font, KPI cards"9Direct generation
"A SaaS dashboard for project management"3Offer choice
"Make something for tracking expenses"1Auto-ideate
"Analyze the top 3 checkout flows and design one for me"-2Auto-ideate (research)
"I want to explore ideas for a meditation app"-4Auto-ideate (explicit)

Step 1: Classify intent

Determine what the user wants:

IntentApproach
New screen — design from scratchFull workflow: Steps 2 → 9
Edit existing — iterate on a screenSkip Steps 2–3. Call stitch-mcp-edit-screens with edit instruction. Then offer Step 5b menu.
Upload screenshot — import existing UICall stitch-mcp-upload-screens-from-images, then offer edit or convert (Step 5b).
Refine existing — iterate on a screenSkip Step 2 (reuse project ID). Preserve layout structure in new prompt.
Export existing — just get the codeSkip Steps 2-5. Go to Step 6 (get screen) → Step 8 (convert).
Variants — explore design directionsCall stitch-mcp-generate-variants natively (1 API call). Present results, then Step 5b.
Delete project — clean upCall stitch-mcp-delete-project with confirmation gate. Stop after deletion.

Step 2: Generate Design Spec

Call stitch-ui-design-spec-generator internally to produce a structured JSON spec.

Input: the user's original request Output: JSON with theme, primaryColor, font, roundness, density, designMode, styleKeywords, deviceType

Step 3: Assemble Stitch prompt

Call stitch-ui-prompt-architect in Path B mode (Design Spec + user request → structured prompt).

Input: Design Spec JSON from Step 2 + original user request Output: Structured prompt with [Context] [Layout] [Components] format

Check: Does the project have a DESIGN.md file? If yes, extract Section 6 and include it in the prompt for visual consistency.

Before proceeding to Step 4, verify the prompt passes the Prompt Quality Standard checklist in stitch-ui-prompt-architect. Specifically confirm:

  • Hex colors present (not just "blue" — needs #3B82F6)
  • Font sizes specified in px with weight
  • Component names are concrete (not "a form" — needs "email input with inline validation")
  • Layout sections have specific dimensions where relevant

If any of these are missing — re-invoke the prompt architect. Don't send vague prompts to generation.

Step 4: Create or reuse project

  1. Call stitch-mcp-list-projects to check for existing projects
  2. If no projects exist: create one immediately via stitch-mcp-create-project — no need to ask
  3. If projects exist: show the user the list and ask: "Use an existing project or create new?"
  4. Only create a new project when the user explicitly confirms

If creating new: Call stitch-mcp-create-project → get projectId (both numeric and full-path forms)

Step 4a: Pull DesignTheme from existing project (consistency gate)

When reusing an existing project, read its DesignTheme to keep new screens visually consistent:

  1. Call stitch-mcp-get-project with projects/[projectId]
  2. Extract the designTheme from the response
  3. If designMd exists: this project has a full design system. Pass key values as constraints to the spec generator (Step 2) to override its guesses:

- headlineFont, bodyFont, labelFont → override spec's font selection - colorVariant, customColor → override spec's color derivation - roundness, spacingScale → override spec's geometry

  1. If namedColors exists: pass the full color map to stitch-design-system later (Step 7) — it eliminates HTML parsing for colors
  2. Store the DesignTheme for reference throughout the workflow

This prevents the spec generator from picking a different font or color scheme for new screens in an established project.

Step 4b: Check for existing design systems

After selecting a project:

  1. Call stitch-mcp-list-design-systems with the projectId
  2. If design systems exist: "This project has design system: [name]. Apply to new screens?"
  3. If the user accepts: store the assetId for use in Step 5b
  4. Optionally offer cleanup: "Want to delete any old projects?" → stitch-mcp-delete-project

Step 5: Generate the screen

Call stitch-mcp-generate-screen-from-text with:

  • projectId: numeric ID (no projects/ prefix)
  • prompt: assembled prompt from Step 3
  • deviceType: from Design Spec
  • modelId: GEMINI_3_1_PRO (default — high fidelity) or GEMINI_3_FLASH (fast iteration, wireframes)
⏱ Generation timing: Stitch typically takes 60–180 seconds to generate a screen. This is normal — do NOT retry or assume failure during this window. If it fails after the timeout: 1. Check the error message 2. If rate-limited: wait 60 seconds, retry once 3. If prompt error: simplify the prompt and retry 4. If server error: inform the user and offer to retry later Never spam generate_screen_from_text with retries — each call creates a new generation.
Step 5b: Post-generation iteration loop

After generation completes, present the iteration menu:

"Screen generated! Before converting to code: A) Edit this screen (change colors, layout, content) → text-based refinement B) Generate variants (explore alternatives) → see different takes C) Apply a design system → match an existing theme D) Proceed to code conversion → Step 6"

If the user stored an assetId from Step 4b, add:

C) Apply design system [name] → already selected

Route based on selection:

  • A → stitch-mcp-edit-screens → after edit, return to this menu
  • B → stitch-mcp-generate-variants → after selecting winner, return to this menu
  • C → stitch-mcp-apply-design-system with stored assetId → after applying, return to this menu
  • D → proceed to Step 6

This loop allows multiple rounds. After A, B, or C completes, always return to this menu until the user chooses D.

Step 6: Retrieve the screen

  1. Call stitch-mcp-list-screens with projects/[projectId] → find the new screen
  2. Call stitch-mcp-get-screen with numeric projectId and screenId → get htmlCode.downloadUrl and screenshot.downloadUrl
  3. Download HTML: bash scripts/fetch-stitch.sh "[htmlCode.downloadUrl]" "temp/source.html"

Show the user the screenshot URL.

Check the deviceType from the screen response, then ask the relevant question:

If deviceType: DESKTOP or AGNOSTIC:

"Screen generated! Would you like me to: A) Convert to Next.js (App Router) — React web app B) Convert to Svelte 5 (SvelteKit) — lightweight web app C) Convert to HTML + CSS — platform-agnostic, works in WebViews D) Extract design tokens only E) Edit this screen (iterate with text prompts) F) Generate variants (explore alternatives) G) Create a Stitch Design System from this screen H) Just the Stitch design for now"

If deviceType: MOBILE:

"Screen generated! Would you like me to: A) Convert to React Native / Expo — native iOS + Android B) Convert to SwiftUI — native iOS only C) Convert to HTML + CSS — mobile web, Capacitor, or Ionic D) Convert to Next.js (App Router) — mobile-first web app E) Extract design tokens only F) Edit this screen (iterate with text prompts) G) Generate variants (explore alternatives) H) Create a Stitch Design System from this screen I) Just the Stitch design for now"

Route edit/variant/design-system options back to the appropriate skills:

  • Edit → stitch-mcp-edit-screens → re-retrieve → show this menu again
  • Variants → stitch-mcp-generate-variants → pick winner → re-retrieve → show this menu again
  • Design System → proceed to Step 7b

Step 7: Design system extraction (recommended before conversion)

If proceeding to code:

Call stitch-design-system → generates:

  • design-tokens.css (CSS variables, light + dark mode)
  • tailwind-theme.css (Tailwind v4 config)
  • DESIGN.md (extended design document)
Step 7b: Stitch Design System bridge

After extracting CSS tokens, offer:

"Want to also create a Stitch Design System from these tokens? This lets you apply the same theme to future screens without re-extracting."

If the user accepts:

  1. Map CSS variables to DesignTheme fields:

- --color-primary → customColor - --color-bg / --bg-light → backgroundLight - --bg-dark → backgroundDark - --font-family → font (map to closest enum: e.g., "DM Sans" → DM_SANS) - --border-radius → roundness (4px→ROUND_FOUR, 8px→ROUND_EIGHT, 12px→ROUND_TWELVE, 16px+→ROUND_FULL)

  1. Call stitch-mcp-create-design-system with the mapped values
  2. Store the returned asset name for future use

Step 8: Framework conversion

Route to the appropriate skill based on the user's selection:

SelectionSkillNotes
Next.jsstitch-nextjs-componentsApp Router, Server/Client split, next-themes
Sveltestitch-svelte-componentsSvelte 5 runes, scoped CSS, SvelteKit
HTML + CSSstitch-html-componentsPlatform-agnostic, mobile-first, WebView-safe
React Nativestitch-react-native-componentsExpo SDK 50+, iOS + Android — MOBILE designs only
SwiftUIstitch-swiftui-componentsXcode 15+, iOS 16+ — MOBILE designs only

All web skills (Next.js, Svelte, HTML) will:

  • Read the downloaded HTML from temp/source.html
  • Import design-tokens.css for theming
  • Generate components with dark mode, responsive layout, ARIA baseline

Mobile skills (React Native, SwiftUI) will:

  • Read the downloaded HTML from temp/source.html
  • Extract color tokens and generate ThemeTokens / tokens.ts
  • Generate native components — no design-tokens.css (native theming instead)
Note: If the user selected a mobile skill but the design is deviceType: DESKTOP, warn them and recommend regenerating the Stitch screen with deviceType: MOBILE first.

Step 9: Quality pass (offer, don't force)

After conversion, offer:

"Components generated. Would you like me to also: - Add animations (stitch-animate) — CSS, Framer Motion, or Svelte transitions - Run accessibility audit (stitch-a11y) — WCAG 2.1 AA review and fixes"

Execute whichever the user selects.


Prompt-Only Workflow (no Stitch MCP tools)

When tools are unavailable, produce a ready-to-use prompt instead.

  1. Run Steps 2-3 (spec generation + prompt assembly) exactly as above
  2. Output the assembled prompt in copy-paste format:
## Your Stitch Generation Prompt

[Copy this into Stitch at stitch.withgoogle.com]

---
[The full structured prompt]
---

**Settings:**
- Device: [deviceType]
- Model: Gemini 3 Pro (recommended)

Stop here. Do not fake results. Do not pretend to generate a screen.


Output format after full execution

## Design Complete: [Screen Title]

**Project ID:** [numeric ID]
**Screen ID:** [screenId]
**Screenshot:** [downloadUrl]

### What was generated
[Brief description of the screen]

### Files created
- `design-tokens.css` — CSS custom properties (light + dark mode)
- `tailwind-theme.css` — Tailwind v4 @theme block
- `DESIGN.md` — Extended design system documentation
- `src/[...].tsx` or `.svelte` — Generated components

### Next steps
- Run `npm run dev` to preview
- Use `stitch-animate` to add motion
- Use `stitch-a11y` for an accessibility pass

Consolidated ID format table

This is the #1 source of bugs. Every MCP tool has specific ID format requirements:

ToolprojectIdscreenIdOther IDsNotes
create_project——Returns projects/IDExtract numeric for later
get_projectprojects/ID——Full path
delete_projectprojects/ID——Full path
list_projects———Returns full paths
list_screensprojects/ID——Returns full paths
get_screenNumericNumeric—No prefixes
generate_screen_from_textNumeric——No prefix
upload_screens_from_imagesNumeric——No prefix
edit_screensNumericNumeric array—No prefixes
generate_variantsNumericNumeric array—No prefixes
create_design_systemNumeric (optional)——Returns Asset name
update_design_system——Asset name required—
list_design_systemsNumeric (optional)——Returns Asset names
apply_design_systemNumericNumeric arrayassetId required—

Rules of thumb:

  • Read operations (get_project, list_screens, delete_project) → projects/ID full path
  • Generation operations (generate_screen_from_text, edit_screens, generate_variants, upload_screens_from_images, apply_design_system) → numeric only
  • Design system operations → numeric projectId (optional), asset name for identity

Anti-patterns — never do these

  • Never report fake success. If a tool call fails, say so and stop.
  • Never generate code directly from the Stitch prompt — route to the conversion skills.
  • Never confuse a Stitch project with a code repository. Stitch project = design workspace.
  • Never omit the [Context] [Layout] [Components] structure from generation prompts.
  • Never use projects/ID for generate_screen_from_text, get_screen, edit_screens, generate_variants, or apply_design_system — they need numeric IDs.
  • Never create a new project when projects already exist without asking. Check existing projects first with stitch-mcp-list-projects.
  • Never retry generate_screen_from_text immediately on failure. Wait 60 seconds, retry once max. Each call creates a new generation — retries mean duplicate screens.
  • Never call delete_project without explicit user confirmation. Always show the project name and screen count first.
  • Never call edit_screens with a vague prompt. Apply the same quality bar as generation — specific hex colors, named components, explicit values.
  • Never call generate_variants without an existing screen to vary. Variants require a source design.
  • Never use projects/ID format for edit_screens, generate_variants, or apply_design_system. These all take numeric IDs only.

References

  • examples/workflow.md — Complete end-to-end example (SaaS app design → Next.js code)

平台分布

Codex

38.55%
按下载量换算62

Claude

28.43%
按下载量换算45

Cursor

18.45%
按下载量换算30

Gemini CLI

8.67%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills