Token导航 LogoToken导航

Agent Skill · 研究检索

stitch-design-md(针迹设计 MD)

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

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

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

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

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

这个 Skill 是做什么的

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

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

stitch-design-md 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

stitch-design-md 怎么安装?

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

stitch-design-md 支持哪些 AI 工具?

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

stitch-design-md 需要什么权限?

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

stitch-design-md 是免费的吗?

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

stitch-design-md 用的人多吗?

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

stitch-design-md 安全吗?

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

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

值得选的地方

  • 同时适配 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-design-md

针迹设计 MD · 本页

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

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

SKILL.md 原文

Stitch → DESIGN.md

Constraint: Only use this skill when the user explicitly mentions "Stitch" or when preparing design system documentation for Stitch generation.

You are an expert Design Systems Lead. Your job is to analyze Stitch project assets and synthesize a Semantic Design System into a file named DESIGN.md — written in natural language, not CSS.

When to use this vs. stitch-design-system

SkillWhat it producesUse it for
stitch-design-mdNatural-language DESIGN.mdFeeding back into Stitch prompts; multi-page visual consistency; design docs
stitch-design-systemdesign-tokens.css, tailwind-theme.css, DESIGN.mdCode-level theming for Next.js, Svelte, React, HTML output

Use stitch-design-md first if you're building more Stitch screens. Use stitch-design-system when you're converting to code.

Prerequisites

  • Stitch MCP Server configured
  • A Stitch project with at least one designed screen

Step 1: Retrieve the design

If the user provides a Stitch URL

If the user pastes a Stitch design URL like https://stitch.withgoogle.com/projects/3492931393329678076?node-id=375b1aadc9cb45209bee8ad4f69af450:

  1. Parse the URL:

- projectId = segment after /projects/ and before ? (e.g. 3492931393329678076) - screenId = query param node-id (e.g. 375b1aadc9cb45209bee8ad4f69af450)

  1. Call [prefix]:get_screen with those IDs
  2. Skip ahead to Step 2

If project/screen IDs are unknown

  1. Run list_tools → find the Stitch MCP prefix
  2. Call [prefix]:list_projects with filter: "view=owned" → select project by title → extract numeric ID
  3. Call [prefix]:list_screens with projects/[projectId] → pick the representative screen
  4. Call [prefix]:get_screen with numeric projectId and screenId
  5. Call [prefix]:get_project with projects/[projectId] → get full designTheme including:

- Core: colorMode, customColor, colorVariant, roundness, spacingScale - Fonts: headlineFont, bodyFont, labelFont - Colors: namedColors (40+ semantic tokens), override colors - Documentation: designMd (auto-generated design system — if present, use as foundation for DESIGN.md) - Backgrounds: backgroundLight, backgroundDark

Download the assets

# Download the HTML for color and Tailwind class analysis
bash scripts/fetch-stitch.sh "[htmlCode.downloadUrl]" "temp/source.html"

Parse the HTML for:

  • Tailwind utility classes (colors, typography, spacing, shadows)
  • Inline tailwind.config block (custom tokens)
  • CSS variables

Step 2: Analyze the design

Work through these layers systematically:

2.1 Project identity

  • Project title and numeric ID (from name field)
  • deviceType (MOBILE / DESKTOP / TABLET / AGNOSTIC)
  • designTheme.headlineFont, designTheme.bodyFont, designTheme.labelFont (font roles)
  • designTheme.roundness, designTheme.colorMode, designTheme.colorVariant
  • designTheme.spacingScale (0=minimal, 1=compact, 2=normal, 3=spacious)

2.2 Visual atmosphere

If designTheme.description exists, use it as the starting point. If designTheme.designMd exists, it contains a full design system document — extract the creative direction, do's/don'ts, and component philosophy from it.

Then describe the aesthetic in 2–3 sentences. Go beyond generic adjectives — what does it feel like? What editorial or product category does it evoke?

Examples:

  • "Sophisticated minimalist sanctuary — gallery-like spaciousness, photography-first, Scandinavian calm"
  • "High-density productivity tool — information-first, sharp edges, focused contrast"
  • "Warm artisanal brand — handcrafted feel, organic textures, generous breathing room"

2.3 Color palette

If namedColors is available from get_project: Use it as the authoritative color source. It provides 40+ semantic tokens (primary, secondary, tertiary, surface hierarchy, error states, inverse variants). Map these directly to palette documentation instead of guessing from HTML.

If backgroundLight/backgroundDark are available: Use them as the canonical background colors for light/dark modes.

For each key color, write:

[Descriptive name] ([hex]) — [functional role]

Example:

Deep Muted Teal-Navy (#294056) — Primary actions, links, active states
Warm Barely-There Cream (#FCFAFA) — Page background
Charcoal Near-Black (#2C2C2C) — Headlines and product names
Soft Warm Gray (#6B6B6B) — Body copy and metadata

Aim for 4–6 colors. Include light AND dark mode backgrounds if both present.

2.4 Typography

  • Font family name (from designTheme.font or Tailwind class)
  • Weight scale (what's used for display, section headers, body, labels)
  • Any notable letter-spacing, line-height, or size conventions

2.5 Shape and geometry

Translate Tailwind classes to descriptive language:

  • rounded-full → "Pill-shaped"
  • rounded-lg (12px) → "Gently rounded corners"
  • rounded-md (8px) → "Subtly rounded corners"
  • rounded-none → "Sharp, squared-off edges"

2.6 Depth and elevation

Describe shadow presence and style:

  • shadow-none → "Flat, no shadow"
  • shadow-sm → "Whisper-soft diffused shadow"
  • shadow-lg → "Prominent floating elevation"

2.7 Layout principles

  • Max content width, grid columns, breakpoint behavior
  • Base spacing unit (4px / 8px system)
  • Section margins and padding patterns
  • Touch target sizes (if mobile)

Step 3: Write DESIGN.md

Use this exact structure:

# Design System: [Project Title]
**Project ID:** [numeric ID]
**Device:** [MOBILE / DESKTOP / TABLET / AGNOSTIC]

## 1. Visual Theme & Atmosphere
[2–3 sentences describing the overall aesthetic and mood]

## 2. Color Palette & Roles
- **[Descriptive Name]** ([#hex]) — [Functional role]
- **[Descriptive Name]** ([#hex]) — [Functional role]
[...4–6 colors total]

## 3. Typography Rules
**Primary Font:** [Name] — [One-line character description]

- **Display (H1):** [weight], [size range]
- **Section (H2):** [weight], [size range]
- **Body:** [weight], line-height [value], [size]
- **Labels/Captions:** [weight], [size]

## 4. Component Stylings
- **Buttons:** [shape (Xpx radius)], [color], [padding]; hover [behavior]
- **Cards/Containers:** [roundness (Xpx)], [background], [shadow]; hover [behavior]
- **Inputs/Forms:** [border style], [background], [roundness], [focus behavior]

## 5. Layout Principles
- Max content width: [value]; [grid description]; [column behavior at breakpoints]
- Base spacing unit: [4px/8px]; section margins [range]; touch targets [size]

## 6. Design System Notes for Stitch Generation
[This section is copy-paste ready for new Stitch prompts]

When creating new screens:
- **Atmosphere:** "[Quote the atmosphere description from Section 1]"
- **Colors:** Always use descriptive name + hex (e.g. "[Name] ([#hex])")
- **Shape:** "[Describe buttons and cards using the language from Section 4]"
- **Spacing:** "[Describe the whitespace/density philosophy]"
- **Font:** [Font name] — [one-line descriptor]

Step 4: Integration

Tell the user what to do with it:

## DESIGN.md created

Saved to: ./DESIGN.md

**How to use it:**

1. **More Stitch screens:** Copy Section 6 into the DESIGN SYSTEM block of your next Stitch prompt.
   This keeps every new screen visually consistent with your existing design.

2. **Multi-page build with stitch-loop:** Include Section 6 in every `next-prompt.md` baton file.

3. **Code conversion:** Hand off to `stitch-design-system` when you're ready to generate
   `design-tokens.css` and `tailwind-theme.css` for your framework.

Best practices

  • Descriptive over technical: "Ocean-deep Cerulean (#0077B6)" not just "blue"
  • Functional roles matter: Don't just name the color — say what it does
  • Section 6 is the payoff: This is the copy-paste block that makes every future screen consistent
  • Be precise: Exact hex codes always. Vague approximations ("kind of warm beige") are useless

Common pitfalls

  • Leaving rounded-xl in the doc instead of translating to "generously rounded corners (12px)"
  • Listing colors without functional roles
  • Skipping the font weight scale (just saying "Manrope" doesn't tell you when to use 400 vs 600)
  • Writing Section 6 without the actual hex codes — useless for Stitch

References

  • examples/usage.md — Worked examples
  • examples/DESIGN.md — Complete sample output for a furniture e-commerce site
  • docs/color-prompt-guide.md — 8 ready-to-use color palettes for inspiration
  • scripts/fetch-stitch.sh — Reliable HTML downloader for GCS URLs

平台分布

Codex

34.41%
按下载量换算57

Claude

30.84%
按下载量换算51

Cursor

20.11%
按下载量换算33

Gemini CLI

9.68%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

调用外部服务

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

安装前确认

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

继续浏览同类 Skills