Skip to content

gabelul/stitch-kit / skills/stitch-design-md

stitch-design-md

Verified

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.

FileKindSize
SKILL.mdskill md8.9 KB
examples/DESIGN.mdmarkdown2.7 KB
examples/usage.mdmarkdown2.3 KB
scripts/fetch-stitch.shscript1.3 KB

examples/usage.md

View on GitHub
# stitch-design-md — Usage Examples

## Example 1: Extract design system from an existing Stitch screen

**User:** "I've designed the homepage in Stitch. Generate a DESIGN.md so I can keep new screens consistent."

**Skill activates because:** User explicitly mentions "Stitch" and wants design documentation.

**What the skill does:**
1. Calls `list_projects` → finds the project
2. Calls `list_screens` → identifies the homepage screen
3. Calls `get_screen` → gets HTML and screenshot download URLs
4. Downloads HTML via `scripts/fetch-stitch.sh`
5. Calls `get_project` → gets `designTheme` (font, roundness, colorMode)
6. Analyzes HTML for color values, Tailwind classes, typography scale
7. Writes `DESIGN.md` with atmosphere, palette, typography, components, layout, and Section 6 prompt snippets

**Output:** `DESIGN.md` with complete design system + copy-paste Section 6

---

## Example 2: Multi-page site setup

**User:** "Use Stitch to build a 5-page SaaS site. Generate the homepage first, then set up DESIGN.md for the rest."

**What the skill does:**
1. After homepage generation, user calls `stitch-design-md`
2. Extracts design system from the homepage
3. Creates `DESIGN.md` with Section 6 ready to paste
4. User then runs `stitch-loop`, including Section 6 in every `next-prompt.md`
5. Result: all 5 pages share the same colors, fonts, shapes, and spacing

---

## Example 3: From a Stitch URL

**User:** "Here's my Stitch design: https://stitch.withgoogle.com/projects/3492931393329678076?node-id=375b1aadc9cb45209bee8ad4f69af450 — write a DESIGN.md for it."

**What the skill does:**
1. Parses URL → extracts `projectId: 3492931393329678076`, `screenId: 375b1aadc9cb45209bee8ad4f69af450`
2. Calls `get_screen` directly (no need for list operations)
3. Downloads HTML, analyzes, writes DESIGN.md

---

## How DESIGN.md Section 6 gets used downstream

```
# In next-prompt.md (for stitch-loop):

---
page: pricing
---
A clear pricing page for a SaaS project management tool.

**DESIGN SYSTEM:**
[Paste Section 6 from DESIGN.md here verbatim]

**Page Structure:**
1. Pricing hero with tagline
2. Three pricing tiers (Free, Pro, Enterprise)
3. Feature comparison table
4. FAQ accordion
5. CTA footer
```

The Section 6 block locks in the visual identity — Stitch uses it to stay consistent with your existing screens.
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall