本文へ移動
cccskills
無料GitHub で公開

stitch-ued-guide

Visual vocabulary, design terminology, and prompt engineering strategy for Stitch. Reference this when you need layout pattern names, aesthetic style terms, color structure formulas, or device guidelines.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md8.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Stitch UED Guide

This is a reference guide, not an action skill. Use it when:

  • You need specific design terminology for a Stitch prompt (masonry, glassmorphism, split-screen)
  • You're unsure how to describe a layout pattern or visual style
  • You want to apply color + theme structure consistently
  • You need to know device-specific constraints for prompt writing

Prompt engineering strategy

The most effective Stitch prompts follow this 4-part structure:

[Context & Style] + [Layout Structure] + [Component Details] + [Content & Data]

Context & Style:

"Mobile fitness app for gym-goers. Dark mode with neon green accents. Cyberpunk aesthetic. Rounded corners."

Layout Structure:

"Bottom navigation bar (Home, Workout, Progress, Profile). Scrollable main feed. Sticky top bar with greeting."

Component Details:

"Workout cards with gradient border, thumbnail, title, duration badge, and 'Start' pill button."

Content & Data:

"Sample data: 'Upper Body Blast' (45 min), 'Core Destroyer' (20 min), 'Morning Run' (30 min, completed today)."

Stitch model selection

ModelWhen to use
GEMINI_3_1_PROHigh-fidelity designs, complex layouts, when quality matters — recommended default
GEMINI_3_FLASHFast iteration, wireframes, rapid exploration, when speed matters
GEMINI_3_PRODeprecated — still works but will be removed. Use GEMINI_3_1_PRO instead

Color variant reference (colorVariant)

Controls how Stitch derives the full color palette from your primaryColor:

colorVariantVisual effectBest for
MONOCHROMESingle-hue, editorial feelLuxury, minimal, text-heavy, portfolios
NEUTRALSubdued, professionalCorporate, enterprise, medical
TONAL_SPOTBalanced accent spots on neutral baseSaaS, productivity, dashboards
VIBRANTBold, energetic colorsConsumer apps, social, food
EXPRESSIVEMulticolor, dynamicCreative, gaming, entertainment
FIDELITYPrecise brand color matchingBrand-heavy, marketing, landing pages
CONTENTPalette adapts to contentMedia, editorial, photo-heavy
RAINBOWFull spectrumKids apps, events, playful
FRUIT_SALADWarm multicolorFood, lifestyle, wellness

Spacing scale reference (spacingScale)

spacingScaleEffectBest for
0Minimal spacing — very tight, data-denseAdmin panels, data tables, terminal-style UIs
1Compact — efficient use of spaceDashboards, dense mobile lists, SaaS tools
2Normal — comfortable breathing roomStandard apps, consumer products
3Spacious — generous whitespaceLanding pages, marketing, portfolios, luxury

DesignTheme API field reference

Quick reference for all DesignTheme fields returned by get_project:

FieldTypeDescription
colorModeLIGHT / DARKBase theme mode
customColorhex stringSeed color for palette generation
colorVariantenum (9 values)How palette is derived from seed
headlineFontfont enum (68 values)Display/headline typeface
bodyFontfont enumBody text typeface
labelFontfont enumLabels, captions, metadata typeface
fontfont enumDeprecated — use headlineFont/bodyFont/labelFont
roundnessROUND_FOUR/EIGHT/TWELVE/FULL (ROUND_TWO exists but is deprecated/unused)Corner radius preset
spacingScaleinteger 0-3Layout density
spacingobjectOptional. Map of spacing token name → CSS value (e.g. {"sm": "8px"})
typographyobjectOptional. Map of typography level name (e.g. h1, body) → Typography token (fontFamily, fontSize, fontWeight, letterSpacing, lineHeight)
namedColorsobject (40+ tokens)Full semantic color map (Material 3)
designMdstringAuto-generated design system markdown
descriptionstringBrief aesthetic description
overridePrimaryColorhexExplicit primary override
overrideSecondaryColorhexExplicit secondary override
overrideTertiaryColorhexExplicit tertiary override
overrideNeutralColorhexExplicit neutral base override
backgroundLighthexLight mode background
backgroundDarkhexDark mode background

Layout patterns

Mobile patterns

  • Vertical scroll feed — infinite scroll of content cards, sticky header, bottom nav
  • Tab navigation — segmented control or tab bar, content switches inline
  • Bottom sheet — slide-up panel for secondary content or actions
  • Full-screen form — single-column, large touch targets, sticky submit
  • Detail → action — hero content at top, description below, sticky CTA at bottom

Desktop patterns

  • Left sidebar + main — persistent side nav (200-280px), main content area, top bar
  • Top nav + content — horizontal navigation bar, sectioned main content below
  • Split screen — two equal halves (form/preview, signup/product screenshot)
  • Dashboard grid — KPI strip, charts, tables, widgets in responsive grid
  • Landing page — full-width hero, feature sections, pricing, footer CTA

Universal patterns

  • Masonry grid — variable-height cards, Pinterest-style layout
  • Bento grid — asymmetric boxes of varying sizes, each containing different content
  • Hero section — full-width/height with background image, headline, CTA
  • Card grid — uniform cards in responsive column grid

Visual styles

StyleDescriptionUse for
FlatNo shadows, bold colors, simple shapesMobile apps, illustrations
MaterialCards with elevation, clear hierarchy, ripple effectsAndroid-style apps
NeumorphismExtruded elements on same-color bg, soft shadowsLuxury, subtle UIs
GlassmorphismFrosted glass effect, blur + transparency + borderModern SaaS, overlays
BrutalismRaw, high-contrast, purposefully rough, grid-breakingEditorial, bold brands
MinimalismMaximum whitespace, single accent color, typographic focusPortfolios, landing pages
CyberpunkDark bg, neon accents, glitch elements, monospace fontsGaming, tech, dark mode

Color structure formula

For consistent, professional palettes in prompts:

[Domain/mood description] + [Background hex] + [Primary hex] + [Secondary hex] + [Text hex] + [Aesthetic mood]

Example:

"Modern SaaS productivity app. Slate-50 (#F8FAFC) background. Indigo (#6366F1) primary. Violet (#8B5CF6) secondary. Zinc-900 (#18181B) text. Clean, structured, professional."

Dark mode example:

"Premium dark dashboard. Zinc-900 (#18181B) background. Indigo-400 (#818CF8) primary on dark. Zinc-800 (#27272A) card surface. Zinc-100 (#F4F4F5) text. Focused, high-contrast, developer-friendly."

Device guidelines

DeviceDimensionsKey constraints
MOBILE~375px wideBottom navigation, thumb-friendly tap targets (44px min), single-column layouts, larger type
DESKTOP~1440px wideMulti-column layouts, sidebar navigation, dense data tables, hover interactions
TABLET~768-1024pxHybrid: 2-column grids, collapsible sidebar, touch-friendly but more space
AGNOSTICFluidResponsive/fluid layout — not tied to a specific device, adapts to viewport

Accessibility in prompts

Include these phrases in prompts to guide Stitch toward accessible output:

  • "High contrast text, WCAG AA compliant colors"
  • "Touch-friendly tap targets, minimum 44px height"
  • "Clear visual hierarchy, strong heading sizes"
  • "Sufficient color contrast between text and background"

Quick reference — UI component names for Stitch prompts

Use these precise names (vague descriptions produce worse results):

  • "Floating action button (FAB)" not "button in corner"
  • "Segmented control" not "toggle group"
  • "Bottom sheet" not "popup from bottom"
  • "Skeleton loader" not "loading placeholder"
  • "Snackbar" not "notification at bottom"
  • "Breadcrumb trail" not "navigation path"
  • "Stepper / wizard" not "multi-step form indicator"
  • "Data table with sortable columns" not "list of data"
  • "Autocomplete input" not "search with suggestions"

Related skills

  • stitch-ui-design-spec-generator — produces the structured JSON this guide helps you describe
  • stitch-ui-prompt-architect — applies this vocabulary to build final Stitch prompts

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Audits Stitch-generated components for WCAG 2.1 AA accessibility issues and applies fixes — semantic HTML, ARIA attributes, keyboard navigation, focus management, and screen reader support.

日本語の概要は準備中です。原文の説明を表示しています。

gabelul/stitch-kit452026年7月21日 更新

Adds a purposeful animation layer to Stitch-generated components — CSS transitions, Framer Motion (React/Next.js), or Svelte transitions. Always respects prefers-reduced-motion.

日本語の概要は準備中です。原文の説明を表示しています。

gabelul/stitch-kit452026年7月21日 更新

Analyzes a Stitch project's screens and synthesizes a natural-language DESIGN.md — visual atmosphere, color palette with hex values, typography rules, and Stitch-ready prompt snippets. Use this before stitch-loop or any multi-page build to establish design consistency.

日本語の概要は準備中です。原文の説明を表示しています。

gabelul/stitch-kit452026年7月21日 更新

Extracts a Stitch design and generates production code artifacts — CSS custom properties with dark mode tokens, a Tailwind v4 @theme block, and a semantic design system document. Run this before framework conversion skills.

日本語の概要は準備中です。原文の説明を表示しています。

gabelul/stitch-kit452026年7月21日 更新

Converts a Stitch screen, a local HTML file, or a URL into clean, platform-agnostic HTML5 + CSS — semantic markup, CSS custom properties for theming, dark mode via prefers-color-scheme, mobile-first responsive, zero framework dependencies. Works in browsers, WebViews, Capacitor, and Ionic. Only the Stitch route needs an API key.

日本語の概要は準備中です。原文の説明を表示しています。

gabelul/stitch-kit452026年7月21日 更新

Conversational design ideation agent that researches trends, explores visual directions, and refines ideas through adaptive questioning — then produces a rich PRD document and auto-generates Stitch screens. Your design buddy that thinks deeply before designing.

日本語の概要は準備中です。原文の説明を表示しています。

gabelul/stitch-kit452026年7月21日 更新

gabelul のスキルをすべて見る

このスキルの問題を報告する