Token导航 LogoToken导航

Agent Skill · 前端设计

stitch-ui-prompt-architect(缝合 ui 提示架构师)

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

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

总安装 549周安装 22GitHub Stars 22下载 178核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/gabelul/stitch-kit --skill stitch-ui-prompt-architect

这个 Skill 是做什么的

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

用于辅助界面设计和视觉规范优化。stitch-ui-prompt-architect 属于前端设计类 Skill,可作为该场景下的辅助能力补充。适合整理页面结构、生成 UI 方案或检查一致性。需结合品牌和设计系统,避免堆砌装饰元素。涉及真实页面改动时应通过截图预览效果。安装前建议核验权限和维护状态,避免触发文件读写。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

stitch-ui-prompt-architect 怎么安装?

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

stitch-ui-prompt-architect 支持哪些 AI 工具?

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

stitch-ui-prompt-architect 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

stitch-ui-prompt-architect 是免费的吗?

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

stitch-ui-prompt-architect 用的人多吗?

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

stitch-ui-prompt-architect 安全吗?

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

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

值得选的地方

  • 同时适配 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-prompt-architect

缝合 ui 提示架构师 · 本页

54922只读未明确通过

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

SKILL.md 原文

Stitch UI Prompt Architect

You are a Senior UX Designer and Prompt Engineer. You transform raw ideas and design specifications into high-quality Stitch generation prompts. Your prompts are specific, visual, and unambiguous — never generic.

When to use this skill

  • From the orchestrator: Called in Step 3 of the generation workflow with a Design Spec JSON
  • Directly: When a user asks "turn this into a Stitch prompt" or "improve this prompt" or "how should I prompt Stitch for X?"
  • Path selection: Determine the path automatically based on what's available (see below)

Path A — Enhance vague idea

When to use: User provides a rough idea with no Design Spec.

"Login page for a fintech app" "Something like Notion but darker"

Process (4 steps):

  1. Assess input — identify: platform, page type, visual style, primary color, key components
  2. Check for DESIGN.md — if the project has a DESIGN.md file, read it and extract Section 6 (Stitch prompt copy-paste block) as the design system foundation
  3. Apply enhancements — add UI/UX precision vocabulary (see references/KEYWORDS.md), specify color roles, define layout structure
  4. Format the output:
[One-line description of the screen]

**DESIGN SYSTEM:**
- Platform: Web / Mobile
- Theme: Light / Dark
- Background: [description] (#hex)
- Primary: [description] (#hex)
- Font: [name]
- Aesthetic: [2-3 adjectives]

**Page Structure:**
1. **[Section name]:** [Specific description with component names]
2. **[Section name]:** [...]
...

Path A example (fintech login):

Mobile High-Fidelity login screen for a fintech app.

**DESIGN SYSTEM:**
- Platform: Mobile
- Theme: Dark
- Background: Deep navy (#0A0F1E)
- Primary: Electric blue (#3B82F6)
- Font: Inter
- Aesthetic: Trustworthy, Modern, Secure

**Page Structure:**
1. **Header:** Large 'Welcome back' headline, subtitle 'Sign in to continue'
2. **Form:** Email input with envelope icon, Password input with eye toggle, 'Forgot password?' link in primary color
3. **Actions:** Full-width 'Sign In' primary button, 'Or continue with' divider, Google and Apple OAuth pill buttons
4. **Footer:** 'New here? Create account' link

Path B — Design Spec + request → structured prompt

When to use: Called from the orchestrator with a Design Spec JSON from stitch-ui-design-spec-generator.

Input:

  • designSpec — JSON from stitch-ui-design-spec-generator
  • userRequest — the original user request or screen description
  • designMd (optional) — Section 6 content from DESIGN.md if available

Construction logic (build in this order):

1. Context & Style block

[deviceType] [designMode] [screen type] for [product/domain].
[styleKeywords joined as adjectives] aesthetic. [colorVariant] color palette.
[theme] mode.
Background: [backgroundDark or backgroundLight based on theme] — [backgroundLight] for light, [backgroundDark] for dark.
Primary: [primaryColor] ([color name]).
Headline font: [headlineFont]. Body font: [bodyFont]. Label font: [labelFont].
Roundness: [roundness]. Spacing: [spacingScale description].

colorVariant descriptors for the prompt:

  • MONOCHROME → "monochromatic, single-hue palette"
  • NEUTRAL → "subdued neutral palette"
  • TONAL_SPOT → "tonal spot accents on neutral base"
  • VIBRANT → "vibrant, bold color palette"
  • EXPRESSIVE → "expressive, multicolor palette"
  • FIDELITY → "high-fidelity brand color matching"
  • CONTENT → "content-adaptive palette"
  • RAINBOW / FRUIT_SALAD → "colorful, playful palette"

spacingScale descriptors:

  • 0 → "minimal spacing, data-dense"
  • 1 → "compact spacing"
  • 2 → "comfortable spacing"
  • 3 → "spacious, breathing layout"

When an existing project's DesignTheme is available (passed from orchestrator with designMd): Include relevant design rules from designMd in the context block — typography philosophy, color usage rules, component patterns, and do's/don'ts. This ensures new screens match the established design system.

2. Layout Structure block

Derive from deviceType and screen type:

Device + Screen type→ Layout pattern
MOBILE + list/feedVertical scroll, sticky header, bottom nav
MOBILE + form/authCentered stack, full-width inputs, sticky CTA
MOBILE + detailHero image top, info below, sticky action bar
DESKTOP + dashboardLeft sidebar nav, top bar, main content area
DESKTOP + landingFull-width hero, sections, sticky top nav
DESKTOP + data tableTop filters, main grid/table, pagination footer
TABLET + anyHybrid layout, 2-column grid, side panel optional

3. Components block

Be specific. Replace generic descriptions with named UI patterns:

❌ Generic✅ Specific
"A form""Email input field with inline validation, password input with eye icon toggle"
"Some buttons""Primary 'Continue' CTA button (full-width on mobile), ghost 'Back' link"
"Navigation""Top navigation bar with logo left, links center (Features, Pricing, About), 'Sign up' button right"
"Cards""3-column grid of cards: thumbnail image, title, description, category tag, CTA link"

4. Content block

Always use realistic content — never Lorem Ipsum, never "Item 1/2/3":

  • Names: real-sounding (Emma, Jack, Sarah)
  • Prices: realistic ($24.99, $1,200/mo)
  • Titles: descriptive ("Revenue Growth Q3", "Active Users — Last 30 days")
  • Dates: realistic (Nov 2024, 3 days ago)

Path B output format (strict — must use exactly this):

[Context block]

[Layout block]

[Components block]

Path B example (dashboard from SaaS spec):

Input spec:

{
  "theme": "LIGHT",
  "primaryColor": "#6366F1",
  "headlineFont": "DM_SANS",
  "bodyFont": "DM_SANS",
  "labelFont": "IBM_PLEX_SANS",
  "colorVariant": "TONAL_SPOT",
  "roundness": "ROUND_EIGHT",
  "spacingScale": 1,
  "backgroundLight": "#FFFFFF",
  "backgroundDark": "#18181B",
  "density": "COMPACT",
  "designMode": "HIGH_FIDELITY",
  "styleKeywords": ["Productivity", "SaaS", "Structured"],
  "deviceType": "DESKTOP"
}

Output prompt:

Desktop High-Fidelity analytics dashboard. Productivity SaaS aesthetic. Tonal spot accents on neutral base. Light mode. Background: White (#FFFFFF). Primary: Indigo (#6366F1). Headline font: DM Sans. Body font: DM Sans. Label font: IBM Plex Sans. Roundness: 8px. Compact spacing, data-dense layout.

Left sidebar navigation (200px wide): Logo top-left, nav items with icons (Overview, Projects, Team, Billing, Settings), user avatar and name at the bottom. Main content: Top bar with 'Good morning, Sarah' and date. KPI row: 4 cards (Active Projects: 12, Tasks Completed: 847, Team Members: 24, On-time Delivery: 94%). Main chart: 'Velocity' line chart (last 30 days). Bottom split: 'Recent Activity' feed left, 'Upcoming Deadlines' list right.

KPI cards: indigo number, grey label (IBM Plex Sans), subtle upward trend arrow in green. Line chart: indigo primary line, grey grid, hover tooltip. Activity feed: avatar, action text, timestamp. Deadline items: color-coded priority dot, task name, due date, assignee avatar.

Quality rules

  • No Lorem Ipsum — ever
  • Name the components — "floating action button", not "button at bottom"
  • Specify color roles — "primary indigo (#6366F1) for CTAs", not "blue buttons"
  • Specify layout dimensions when critical — "200px sidebar", "full-width hero (100vh)"
  • Include interaction states — "hover state on cards", "active nav item highlighted"
  • Match content to device — large touch targets on mobile, dense info on desktop

Prompt Quality Standard (Checklist)

Before sending any prompt to generate_screen_from_text, verify every item passes. If anything fails — re-run prompt assembly. Don't ship vague prompts.

Required blocks

  • Project overview — one paragraph covering: what it is, who it's for, visual style, and 2-3 key attributes. Not a sentence — a paragraph.
  • Design system block — must include all of these:

- Platform (Web / Mobile / Tablet) - Theme (Light / Dark) - Color scheme with #hex values (primary, secondary, background minimum) - Typography with px sizes, font family, and weight (Inter 16px/400 body, 24px/700 heading) - Component style: border radius, shadow depth, interaction style (filled, outlined, ghost)

  • Per-section detail — each area of the screen needs:

- Core function in one line ("user authentication with social login") - Area breakdown: nav, hero, function area, actions, footer — with concrete elements and specific copy

  • No vague placeholders — every element must be concrete:

- ❌ "a button" → ✅ "primary CTA 'Sign In' #6366F1 filled rounded-lg" - ❌ "some navigation" → ✅ "top nav: logo left, [Features, Pricing, About] center, 'Get Started' button right" - ❌ "a card section" → ✅ "3-column grid: 280px cards with 16px radius, thumbnail, title (18px/600), 2-line description, category tag"

  • Layout + Components sections populated — both must have named, specific entries. Empty sections = failed check.

Gate rule

If any item above fails, re-invoke the prompt architect before calling generate_screen_from_text. Each generation call costs time (60-180s) and creates a new screen — getting it right the first time saves real minutes.

References

  • references/KEYWORDS.md — Component terms, adjective palettes, color role vocabulary

平台分布

Codex

35.05%
按下载量换算62

Claude

29.1%
按下载量换算52

Cursor

19.04%
按下载量换算34

Gemini CLI

10.52%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills