stitch-design-taste
Semantic Design System Skill for Google Stitch. Generates agent-friendly DESIGN.md files that enforce premium, anti-generic UI standards — strict typography, calibrated color, asymmetric layouts, perpetual micro-motion, and hardware-accelerated performance.
1How It Works & Mechanism
The output is a DESIGN.md specification document rather than code or images: it translates the 'anti-slop' front-end rules from other skills in this repository into a semantic design language readable by Google Stitch, acting as the single source of truth for subsequent screen generation.
This skill generates `DESIGN.md` files optimized for Google Stitch screen generation.
Positioned as the 'single source of truth': once DESIGN.md is written, all subsequent Stitch screen generations must adhere to it, locking in the consistency of colors, fonts, border radii, and spacing across multiple screens.
The generated `DESIGN.md` serves as the **single source of truth** for prompting Stitch to generate new screens that align with a curated, high-agency design language.
The specification is broken down into 7 fixed, mandatory components (Atmosphere, Color, Typography, Components, Layout, Motion, Anti-patterns) to ensure structural completeness without omitting items in DESIGN.md.
Generate a `DESIGN.md` file that encodes:
Transforms abstract aesthetics into tunable parameters using 'configuration dials' and contextual adjectives: Density, Variance, and Motion each have three tiers, with a default 8-6-4 baseline.
Default baseline: Variance 8, Motion 6, Density 4. Adapt dynamically based on user's vibe description.
Rules are presented in pairs of 'bans + alternatives': banning Inter comes with Geist/Outfit/Cabinet Grotesk/Satoshi; banning purple/blue neon comes with neutral bases + a single accent color; banning pure black specifies Off-Black/Zinc-950/Charcoal.
- **Font Selection:** `Inter` is BANNED for premium/creative contexts. Force unique character: `Geist`, `Outfit`, `Cabinet Grotesk`, or `Satoshi`
Colors are required to include hex values and functional roles, restricting accent colors to at most one with saturation < 80%, eliminating 'AI purple-blue gradients' at the source.
- Maximum 1 accent color. Saturation below 80%
Motion is written into the document as 'intent' rather than instructing Stitch to animate: spring-based parameters (stiffness 100 / damping 20) + animating exclusively on transform/opacity, left for subsequent coding agents to implement.
- **Spring Physics default:** `stiffness: 100, damping: 20` — premium, weighty feel. No linear easing
Includes a ready-to-reference finished example: DESIGN.md placed in the same directory acts as an instantiated version of the §Output Format scaffold (including an editable table for the four dials: Creativity, Density, Variance, and Motion).
> **How to use:** Change the numbers above to match your project's vibe.
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| api | Google Stitch(屏幕生成服务,人工在浏览器中使用) |
| package | Stitch MCP Server(可选,用于与 Cursor / Antigravity / Gemini CLI 程序化集成) |
| network | picsum.photos(禁用 Unsplash 后指定的占位图源,写入 DESIGN.md 供产物使用) |
4Recommended Governance & Evidence
- 本地工作目录: File Read/Write and Artifact Output: DESIGN.md — the primary deliverable of this skill: instructions guide the agent to generate/write a DESIGN.md specification file within the user's project (standard deliverable-level behavior).
5Second-Pass Verification
- [ok] 是否真的只产出 DESIGN.md(有无夹带代码/图片生成指令) — 全文无生成图片、无写代码的实现指令;§Motion 部分甚至显式限定为『给编码 agent 的意图说明』而非让 Stitch 动画。grep 'code' 在该文件零命中。
- [ok] Google Stitch 的说法是否有事实依托 — §Prerequisites 指向 labs.google/stitch,并要求具备 Stitch 使用权限;SKILL.md 未声称调用任何 Stitch API,也无端点/密钥,属『人工在 Stitch 里消费本规格』的定位,无夸大。
- [ok] Stitch MCP Server 是否构成供应链依赖 — 文中标注为 'Optionally',未给安装命令或端点,skill 亦无任何调用代码;列为可选第三方接线,风险由用户自评,故未升级风险档。
- [ok] 外部依赖清单完整性 — URL/token 扫描命中仅 labs.google/stitch 与 picsum.photos(DESIGN.md 内另有 shadcn/ui 自定义要求,属框架建议非依赖)。无包管理器指令、无 npm/pip、无 curl。
- [ok] 颜色/字体禁令是否有内部矛盾 — SKILL.md 与 DESIGN.md 两份文件对 Inter 禁令、紫蓝霓虹禁令、纯黑禁令、三列等宽卡禁令、填充文案禁令表述一致(DESIGN.md 的 §Banned Colors/§Banned Fonts/§Anti-Patterns 与 SKILL.md §2/§3/§9 对应),无互相打脸。
- [ok] 元数据(license / stars / last_push / 路径 / commit) — gh api:MIT、87309 stars、pushed_at 2026-08-24T15:23:56Z;git ls-files 确认 skills/stitch-skill/{SKILL.md,DESIGN.md};HEAD == origin/main == ccbc15639c97057cbfcf32ecebc38ef716e4bb37。
6Verdict & Scenarios
58fc7a0076ba73cc…