Token导航 LogoToken导航

Agent Skill · 前端设计

stitch-ui-designer(缝合 ui 设计师)

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

stitch-ui-designer 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 6,596。

总安装 485周安装 20GitHub Stars 4下载 158核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/partme-ai/stitch-skills --skill stitch-ui-designer

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合根据产品场景整理页面结构、生成 UI 方案或检查视觉一致性。适用于需要优化界面布局、提升用户体验或整合品牌视觉规范的场景。可协助生成 UI 方案、调整组件层级或检查文本溢出,需结合现有设计系统和用户任务。

通过 npx skills add 命令从指定 GitHub 仓库安装,需确认项目是否有明确的品牌和设计系统。注意不应只堆装饰元素,涉及真实页面改动时应通过截图或浏览器预览检查表现。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

stitch-ui-designer 怎么安装?

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

stitch-ui-designer 支持哪些 AI 工具?

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

stitch-ui-designer 需要什么权限?

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

stitch-ui-designer 是免费的吗?

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

stitch-ui-designer 用的人多吗?

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

stitch-ui-designer 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

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

前端设计类 Skill 对比

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

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
stitch-ui-designer

缝合 ui 设计师 · 本页

4854调用外部服务未明确通过

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

SKILL.md 原文

Stitch Designer (Master Skill)

This is the entry point for all UI design tasks. It acts as the "Orchestrator Agent" that autonomously plans and executes the design workflow.

When to use this skill

CRITICAL PREREQUISITE: You must ONLY use this skill when the user EXPLICITLY mentions "Stitch" in their request.

Use this skill when:

  • The user asks to "Design a UI", "Create a screen", "Make an app page" using Stitch.
  • The user provides a high-level design request (e.g., "I need a dashboard for my SaaS") and mentions Stitch.

Trigger phrases include:

  • "Use Stitch to design..."
  • "Stitch me a UI for..."

Workflow (Flow-first, copy-pastable)

This skill must follow this workflow end-to-end. Do not skip steps.

0) Preflight (Tool Availability)

  1. Detect whether Stitch MCP tools are available.
  2. If tools are available, follow the Execution workflow.
  3. If tools are not available, follow the Prompt-only workflow.

1) Intent Classification

Determine the task type:

  • New screen: design + generate a new UI screen.
  • Refine / Beautify: modify an existing screen while preserving layout and information architecture.

2) Design Spec Workflow (Brain)

Invoke stitch-ui-design-spec-generator with the user request.

Expected result:

  • A structured Design Spec JSON (Theme, Device, Style, Mode).

3) Contract Workflow (Hard Constraints)

If the request includes a named design system / style, fetch constraints from the matching design contract tool and inject them into the final prompt.

Supported mapping (Match Priority: Specific > General):

  • uview-pro, uviewpro, uview pro -> use stitch-ui-design-spec-uviewpro (Match this FIRST)
  • uview, uview2, uview2.0, u-view -> use stitch-ui-design-spec-uview
  • layui, layui-vue, layui vue -> use stitch-ui-design-spec-layui
  • bootstrap, bootstrap-vue, bs-vue -> use stitch-ui-design-spec-bootstrap
  • element, element-plus, el-plus, element-ui -> use stitch-ui-design-spec-element-plus
  • vant, vant4, vant-ui -> use stitch-ui-design-spec-vant

Decision rules:

  • If the user asks for refine/beautify, or explicitly asks for selector / JSON / contracts.include / states.include:

- Use stitch-ui-design-spec-uview or stitch-ui-design-spec-layui in selector mode. - Treat the returned selection JSON as internal and use the assembled prompt as the execution prompt.

  • Otherwise:

- Use stitch-ui-design-spec-uview or stitch-ui-design-spec-layui in prefix mode. - Prepend the returned prefix to [Context].

4) Prompt Assembly Workflow (Pen)

Invoke stitch-ui-prompt-architect with the user request and (if any) Design Spec + contract prefix. The output must conform to Prompt Quality Standard: Optimized Prompt Structure (see below) so that Stitch receives a precise "construction blueprint" rather than a vague idea.

Minimum structure (always present):

[Context]
...

[Layout]
...

[Components]
...

When the request describes an app or multi-section screen, the assembled prompt MUST additionally follow the Optimized Prompt Structure (inspired by enhance-prompt best practice: Project Overview + Design System (required) + Page Structure and Function). See section Prompt Quality Standard below.

5) Execution Workflow (Hand) — Tools Available

ALWAYS execute immediately (no confirmation loop):

  1. Create project: create_project
  2. Generate screen: generate_screen_from_text
  3. List screens: list_screens
  4. Get the target screen: get_screen (export screenshot + HTML assets)

6) Prompt-only Workflow — Tools Not Available

STOP execution. Do not fake results. Output only a copy-paste prompt for the user to run in Stitch.

Output Patterns (Strict Templates)

Use these templates to keep outputs consistent.

Template A — Tools Available (Execution Report)

ALWAYS use this exact template:

# Stitch Design Delivery

## Execution Result
- Project: projects/{id}
- Screen: {screenId}

## Asset Export
- Screenshot: {from get_screen output}
- HTML: {from get_screen output}

## Notes
- Prompt: Executed with `[Context] [Layout] [Components]` structure (including required constraints and layout invariants).

Template B — Tools Not Available (Prompt Only)

ALWAYS use this exact template. When the request is app/product-level or multi-section, the content inside each section must follow the Optimized Prompt Structure (Project overview in Context; Design system (required) in Context or a dedicated block; Page structure and function with core function + areas in Layout/Components).

[Context]
...

[Layout]
...

[Components]
...

Prompt Quality Standard: Optimized Prompt Structure

To make Stitch accurately implement the design, the final prompt (from step 4) must be a detailed construction blueprint, not a short wishlist. Use the following structure whenever the user describes an app, a product, or a screen with multiple sections.

Source of truth: This structure is derived from the optimized-prompt pattern: a clear project overview, a design system (required) with explicit tokens, and page structure and function with one core function per page/section plus area-level details (top nav, main visual, function area, actions, bottom). Reference: blog "Trae+Stitch MCP+Skills: My New AI Programming Paradigm" — after optimization it becomes a detailed construction blueprint including color scheme, font sizes, button styles, page layout, and UX.

1) Project Overview — Required for app/product-level requests

  • One short paragraph: what the product/screen is, who it is for, style (e.g. modern minimal, professional and trustworthy, bright and fresh), and key attributes (ease of use, information readability, full localized UI, etc.).
  • Example: "An AI ingredient-list analysis tool for end users, turning chemical terms into plain language via image recognition and composition parsing. Modern minimal design, emphasis on ease of use and readability, full localized interface."

2) Design System — Required

The prompt MUST include an explicit design system block so Stitch does not guess colors, type, or components. Include:

BlockContentExample
PlatformWeb / Mobile / Desktop, target device or width"Mobile miniapp, prioritize iOS and Android" / "Admin Web, min width 1280px"
ThemeMood + domain affinity"Bright and fresh, professional and trustworthy, with domain-friendly tone"
Color schemePrimary + Secondary + Warning + Neutrals (Background, Text, Secondary text, Divider), each with #hex and usagePrimary #165DFF for buttons/nav; Secondary #36D399 for positive cues; Background #FFFFFF; Text #1D2129; Secondary text #86909C; Divider #F2F3F5
TypographyTitle / Body / Auxiliary: size (px) + font + weightTitle 20px Bold; Body 16px Regular; Auxiliary 14px Light
Component styleButtons / Cards / Icons: radius, shadow, interactionButtons 8px radius, soft shadow; Cards 12px radius, light shadow; Icons linear, minimal

If a named design system (uView Pro, Bootstrap, Element Plus, etc.) is used, the contract prefix from step 3 already supplies tokens; the assembled prompt must still state Platform, Theme, and Layout invariants in human-readable form so Stitch understands intent.

3) Page Structure and Function

For each page or major section:

  • Core function: One line — "This page/section is for... so that..."
  • Areas (choose as needed): Top nav / Hero / main visual / Function area / Action area / Footer / Sidebar.
  • Under each area: concrete elements (e.g. "Brand logo + Help entry", "Primary CTA 'Scan label' large filled", "Secondary 'Choose from gallery' outline"). Use specific copy and roles (primary button, secondary button, card, list item) instead of "a button" or "some text".

Example (single section):

### 1. Home (Scan / Upload)
**Core function**: App entry, guide user to start
- **Top nav**: Brand logo + Help entry
- **Hero**: Headline "Ingredient Translator" + subhead "Understand food labels at a glance"
- **Function area**: Primary button "Scan label" (large, primary fill); Secondary "Choose from gallery" (outline, primary border); short usage copy
- **Footer**: Privacy and terms links

4) Prompt Structure Checklist (before calling generate_screen_from_text)

Verify (and if missing, request the prompt-architect to add):

  • Project overview present for app/product-level requests? (one paragraph: what, who, style, key attributes)
  • Design system (required) present? Platform, Theme, Color scheme with #hex, Typography (px + font + weight), Component style (buttons, cards, icons)
  • Per-page/section: Core function one line + areas (top nav / hero / function / action / footer) with concrete elements and specific copy?
  • Layout and Components sections still populated? (macro layout + component list)
  • No vague placeholders? ("a button" → "primary CTA button 'Sign In'"; "some list" → "vertical list of Workout Cards with thumbnail, duration, Start button")

If any of the above is missing, re-invoke stitch-ui-prompt-architect with explicit instructions to fill the Optimized Prompt Structure (project overview, design system with hex/px, page structure with core function and area-level details), then re-run the checklist before execution.


Anti-Patterns (Strict Prohibitions)

  • ⛔ NO FAKE SUCCESS: If you didn't get a real API response, do not say "Project Created".
  • ⛔ NO APP SCAFFOLDING: Do not invoke any external project scaffolding skills (e.g., uniappx-project-creator, flutter-project-creater, react-native-project-creater) and do not run scripts to create codebases.
  • ⛔ NO CODING: Do not write Vue/React/HTML code in this flow. This skill is for Design Generation only.
  • ⛔ NO CONFUSION: A "Stitch Project" is a design workspace, NOT a code repository.

Keywords

orchestrator, design agent, ui designer, master skill, design flow, stitch pilot

References

  • Workflow End-to-End
  • Workflows Reference
  • Optimized Prompt Output Examples (ZH + EN) — full Chinese and English examples of the optimized prompt (project overview + design system + page structure and function) from the blog "Trae+Stitch MCP+Skills: My New AI Programming Paradigm".
  • Optimized prompt structure: Project Overview + Design System (required) + Page Structure and Function. See blog "Trae+Stitch MCP+Skills: My New AI Programming Paradigm" (optimized prompt section). Goal: turn a vague idea into a detailed construction blueprint (colors, font sizes, button styles, layout, UX) to improve Stitch output precision.

平台分布

Codex

35.61%
按下载量换算56

Claude

32.36%
按下载量换算51

Cursor

20.46%
按下载量换算32

Gemini CLI

9.34%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

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

安装前确认

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

继续浏览同类 Skills