stitch-design-system
Write a semantic `DESIGN.md` for Google Stitch or similar screen generators. Use when the user wants a reusable design brief that guides AI-generated screens without falling into generic UI patterns.
- License 许可
- MIT
- 最近更新
- 2026-09-20
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- stitch-design-system
- description
- Write a semantic `DESIGN.md` for Google Stitch or similar screen generators. Use when the user wants a reusable design brief that guides AI-generated screens without falling into generic UI patterns.
- argument-hint
- [product or surface]
- user-invocable
- true
03 SKILL.md 正文
Stitch Design System
Use this skill when the output is not code first. The deliverable is a strong DESIGN.md that other tools can use to generate screens consistently.
Goal
Produce a semantic design system document that:
- captures product tone
- encodes concrete visual rules
- gives screen generators enough structure to stay consistent
- blocks generic AI UI patterns before they spread
DESIGN.md becomes the design source of truth for generated screens.
Inputs
Gather the minimum context first:
- who the product is for
- what the surface does
- what the brand should feel like
- whether this is marketing, product UI, admin UI, or editorial
- any hard constraints around accessibility, density, motion, or theming
If the product already has live UI, inspect it before writing the document.
Authoring Rules
Write semantic guidance, not utility-class soup.
Good:
- "Muted graphite text for secondary metadata"
- "Primary buttons feel dense and tactile, with brief downward press feedback"
Weak:
- "text-slate-500"
- "rounded-xl shadow-md"
Use exact values where they help:
- hex or oklch colors
- type pairings
- spacing ranges
- border radii
- motion timing
- breakpoint behavior
Keep the system opinionated. A vague DESIGN.md produces vague screens.
Required Sections
Write the file with these sections:
-
Visual Theme Describe the atmosphere, density, contrast, and overall point of view.
-
Color Roles Name each color by role, not just appearance. Keep one clear accent unless the product truly needs more.
-
Typography State display, body, and mono choices plus hierarchy rules and banned defaults.
-
Layout Principles Explain grid logic, spacing rhythm, content width, asymmetry, and mobile collapse.
-
Components Define how buttons, cards, inputs, navigation, tables, empty states, and feedback states should feel.
-
Motion Describe where motion belongs, how restrained or expressive it should be, and what performance limits apply.
-
Responsive Behavior Document how layouts collapse, what cannot disappear on mobile, and minimum touch-target expectations.
-
Anti-Patterns List the specific things the generator must not do.
Anti-Pattern Guidance
Call out generic traps directly:
- overused fonts
- purple-blue neon gradients
- decorative glass everywhere
- equal card grids by default
- centered heroes when the design needs tension
- gradient headline text used as a shortcut for "premium"
- empty backgrounds with no atmosphere
- repeated placeholder content and fake metrics
The ban list matters as much as the preferred style.
Editing Existing DESIGN.md Files
If a DESIGN.md already exists:
- keep good constraints
- remove contradictions
- tighten vague language
- preserve stable product truths
- avoid churn for cosmetic preference alone
Final Check
Before finishing, verify:
- another agent could generate multiple screens from this doc without guessing core style decisions
- the document is specific enough to guide design, not just describe taste
- the rules fit the actual product context
- the anti-pattern list is concrete and useful
04 同仓库更多 Skills
writing-shape
Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.
writing-fragments
Grilling session that mines the user for fragments — heterogeneous nuggets of writing (claims, vignettes, sharp sentences, half-thoughts) — and appends them to a single document as raw material for a future article. Use when the user wants to develop ideas before imposing structure, or mentions "fragments", "ideate", or "raw material" for writing.
writing-beats
Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.
stop-slop
Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.
humanizer
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, passive voice, negative parallelisms, and filler phrases.
feedback
Prepare, deliver, and debrief timely interpersonal feedback using a question-first coaching flow, observable behavior, owned experience, and concrete impact. Use when drafting feedback, coaching managers, rehearsing a feedback conversation, praising specific behavior, or reviewing whether feedback landed.