stitch
Skill9 starsChanged 3 months agoMITView on GitHub
Operate Google Stitch through an already configured Stitch MCP server. Use when the user explicitly mentions Stitch or asks to generate, edit, vary, import, export, synchronize, or convert Stitch screens; manage a Stitch design system; run a resumable multi-page Stitch loop; or turn Stitch screens into React. Do not trigger for generic UI design requests that do not require Stitch.
- Reads credentials
11 other projects use a version of this.
Adopted by
Most recently taken up by
- aakash1552005/universal-agent-skillstheir own version, first seen Nov 29, 2026
- itamaker/skillstheir own version, first seen Nov 29, 2026
- delorenj/skillstheir own version, first seen Nov 8, 2026
- hemal08ce094/DesignSkillsSwiftUItheir own version, first seen Nov 8, 2026
- lachinovedhem/standards-mcptheir own version, first seen Oct 11, 2026
- openstory-so/skillstheir own version, first seen Oct 7, 2026
Used with
Projects with it also use bold, cafe and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
bergsideSkillbold
Strong visual presence with heavyweight typography, high-contrast colors, and commanding layouts.
Also in 4 projects that use this
bergsideSkillcafe
Cozy cafe-inspired interface with warm tones, soft typography, and clean layouts for a relaxed browsing experience.
Also in 4 projects that use this
- +10 more from bergside
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- bergside/awesome-design-skills★ 2.9ksame name
- delorenj/skills★ 17same name
- nassim-arifette/stitch-to-code★ 5same name
- aakash1552005/universal-agent-skills★ 4same name
- X24LABS/STITCH-AGENT★ 4same name
- openstory-so/skills★ 2same name
- robrohan/claude-skills★ 1same name
- hemal08ce094/DesignSkillsSwiftUI★ 0same name
- itamaker/skills★ 0same name
- lachinovedhem/standards-mcp★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository110 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/orchestrator/mcp-server/AGENTS.mdAGENTS.md
- skills/supabase-postgres-best-practices/AGENTS.mdAGENTS.md
- skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- agent-md-refactorSkill
- agent-team-codexSkill
- agent-teamSkill
- antigravity-mnemoSkill
- antigravitySkill
- api-handoffSkill
- api-testerSkill
- argosSkill
- atlasSkill
- auto-continue-loopSkill
- autoresearchSkill
- biz-strategySkill
- ceoSkill
- clioSkill
- code-reviewerSkill
- codex-mnemoSkill
- codexSkill
- command-creatorSkill
- commit-workSkill
- consistency-auditSkill
- crafting-effective-readmesSkill
- daily-meeting-updateSkill
- database-schema-designerSkill
- datadog-cliSkill
- data-visualizationSkill
- dependency-updaterSkill
- deprecation-and-migrationSkill
- design-planSkill
- design-system-starterSkill
- devin-mnemoSkill
- diagram-designSkill
- docker-db-backupSkill
- docker-deploySkill
- documentation-and-adrsSkill
- docxSkill
- domain-dictionarySkill
- domain-name-brainstormerSkill
- dotnet-coding-standardsSkill
- draw-ioSkill
- estimateSkill
- excalidrawSkill
- excel2mdSkill
- explainSkill
- find-skillsSkill
- flow-verifierSkill
- frontend-designSkill
- fullstack-coding-standardsSkill
- game-changing-featuresSkill
- grok-mnemoSkill
- gs-certificationSkill
- health-dataSkill
- hestiaSkill
- humanizerSkill
- irisSkill
- jiraSkill
- ko-en-translatorSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
28 rules. 0 are common, 17 are distinctive, and 11 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
17
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 8
Treat Stitch as a design execution backend.
- Distinctive: line 15
Use standalone Stitch mode only when the user explicitly wants direct Stitch work without Aphrodite.
- Very specific: line 17
Never invent a visual direction inside this skill when DESIGN.md or docs/design-refs/ exists.
- Distinctive: line 22
Stop and report the missing dependency if no Stitch MCP tools are available.
- Distinctive: line 23
Read references/mcp-contract.md completely before any Stitch MCP call.
- Very specific: line 24
Read the project root DESIGN.md and relevant docs/design-refs/ artifacts before generating or editing a screen.
- Very specific: line 25
Check .stitch/metadata.json before remote lookup.
- Distinctive: line 34
Read-only: list/get projects, retrieve screens, download artifacts, compare state.
- Very specific: line 37
Treat the user's explicit request to create/edit/vary as authorization for that scoped remote mutation.
- Distinctive: line 60
When the full-install compatibility aliases are active, preserve these mappings:
- Distinctive: line 65
If the request is ambiguous, infer the least-mutating route from the available artifacts.
- Distinctive: line 69
Use this order when artifacts disagree:
- Very specific: line 77
Use .stitch/DESIGN.md only as a synchronized transport copy of root DESIGN.md.
- Distinctive: line 86
Create variants for exploration around a good base.
- Distinctive: line 87
Avoid rerolling a screen whose structure is already correct.
- Very specific: line 92
Update .stitch/metadata.json only from observed remote state, then run the state validator.
- Distinctive: line 93
Run code-level and visual verification required by the selected route.
- Very specific: line 98
Never assume legacy tools such as get_screen_html, get_screen_metadata, or download_screen_asset exist.
- Distinctive: line 99
Never repeat colors, fonts, and theme instructions in every generation prompt when a project-level Stitch design system is applied.
- Very specific: line 100
Never send position or dimension fields to apply_design_system.
- Very specific: line 101
Never expose an API key in a prompt, command transcript, committed file, or report.
- Very specific: line 102
Never overwrite an existing root DESIGN.md, staged screen, or application file without first comparing the old and new state.
- Distinctive: line 103
Never keep an autonomous loop alive by inventing unnecessary pages.
- Distinctive: line 104
Never impose a new React architecture merely because Stitch emitted static HTML.
- Distinctive: line 105
Never declare visual fidelity from HTML inspection alone.
- Distinctive: line 109
Use the bundled scripts instead of re-emitting binary/base64 payloads or writing ad hoc state checks:
- Very specific: line 124
Read references/import-export.md before using the uploader.
- Distinctive: line 128
Do not report completion until all applicable evidence exists:
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Stitch
Treat Stitch as a design execution backend. Keep product structure, visual direction, and design policy in Aphrodite; use this skill to translate those decisions into Stitch operations and code artifacts.
Boundary
- Let
design-plan(/aphrodite) own discovery, IA, layout blueprints, and the rootDESIGN.md. - Let Stitch own remote project/screen operations and
.stitch/runtime state. - Let the existing application architecture own routing, state, data, and component conventions.
- Use standalone Stitch mode only when the user explicitly wants direct Stitch work without Aphrodite.
Never invent a visual direction inside this skill when DESIGN.md or docs/design-refs/ exists. Compile those artifacts into Stitch inputs.
Preflight
- Inspect the available tools and identify the Stitch MCP namespace by capability, not by a hard-coded prefix.
- Stop and report the missing dependency if no Stitch MCP tools are available. Never fabricate project IDs, screen IDs, URLs, or tool results.
- Read references/mcp-contract.md completely before any Stitch MCP call.
- Read the project root
DESIGN.mdand relevantdocs/design-refs/artifacts before generating or editing a screen. - Check
.stitch/metadata.jsonbefore remote lookup. Validate it with:
python <STITCH_SKILL_DIR>/scripts/validate_stitch_state.py .stitch/metadata.jsonResolve <STITCH_SKILL_DIR> to the directory containing this SKILL.md; do not assume the skill is installed inside the target project.
- Classify the action:
- Read-only: list/get projects, retrieve screens, download artifacts, compare state.
- Remote mutation: create/edit/vary/apply a design system.
- Sensitive upload: send a local image, HTML file, or
DESIGN.mdto Stitch.
- Treat the user's explicit request to create/edit/vary as authorization for that scoped remote mutation. Before a sensitive upload, still show the exact project, files, types, and sizes and obtain confirmation.
Route the Request
The first column is a semantic route key. In the default source-only install, a parent harness or the current
LLM selects the route after reading this file; it does not issue a slash command. The /stitch ... text in
parentheses is only a compatibility alias when source-only skills were explicitly activated with
--include-source-only-skills.
| Route key (full-install compatibility alias) | Route | Required reference |
generate (/stitch generate) | Generate a screen from text or an uploaded image | generate-and-design-system.md |
edit (/stitch edit) | Modify selected existing screens | generate-and-design-system.md |
variants (/stitch variants) | Produce controlled alternatives from a selected screen | generate-and-design-system.md |
design-system pull (/stitch design-system pull) | Reverse-extract remote visual language into a proposed DESIGN.md update | generate-and-design-system.md |
design-system push (/stitch design-system push) | Synchronize the root DESIGN.md into Stitch | generate-and-design-system.md |
design-system apply (/stitch design-system apply) | Apply a Stitch design-system asset to selected screens | generate-and-design-system.md |
loop (/stitch loop) | Generate a resumable multi-page set | loop-state.md |
react (/stitch react) | Convert or synchronize Stitch screens with a React app | react-handoff.md |
import (/stitch import) | Capture local UI and upload it into Stitch | import-export.md |
sync (/stitch sync) | Refresh remote metadata and local staged artifacts | loop-state.md |
status (/stitch status) | Compare local runtime state with the remote project | loop-state.md |
When the full-install compatibility aliases are active, preserve these mappings:
/stitch designmeans/stitch design-system pull./stitch promptmeans compile an Aphrodite brief into thegenerateroute without calling Stitch unless generation was requested.
If the request is ambiguous, infer the least-mutating route from the available artifacts. Ask only when two routes would materially change different remote state.
Artifact Authority
Use this order when artifacts disagree:
- Root
DESIGN.md: design-system source of truth. - Latest
docs/design-refs/brief, sitemap, direction, and layout blueprint: page structure and content contract. - Existing application code: functional and architectural contract.
.stitch/files: transport, cache, and resumable execution state.- Remote Stitch screen: generated implementation candidate.
Use .stitch/DESIGN.md only as a synchronized transport copy of root DESIGN.md. Do not let it become a second independently edited design system. See references/loop-state.md for the full artifact contract.
Core Execution Protocol
- Retrieve the current project and selected screens before mutation.
- Resolve the intended device type, target screen instances, and design-system asset.
- Compile only the requested change:
- Generate for a new structure.
- Edit for a localized change.
- Create variants for exploration around a good base.
- Avoid rerolling a screen whose structure is already correct.
- Perform the smallest sufficient Stitch operation.
- Retrieve the resulting project and screen metadata again; do not trust a mutation response alone.
- Download the resulting HTML and full-width screenshot into
.stitch/designs/without overwriting existing files unless refresh was requested. - View the screenshot and compare it with
DESIGN.md, the layout blueprint, and the requested delta. - Update
.stitch/metadata.jsononly from observed remote state, then run the state validator. - Run code-level and visual verification required by the selected route.
- Report project ID, affected screen IDs, local artifacts, verification evidence, and any residual drift.
Non-Negotiable Rules
- Never assume legacy tools such as
get_screen_html,get_screen_metadata, ordownload_screen_assetexist. Discover the live contract and preferget_screendownload URLs when available. - Never repeat colors, fonts, and theme instructions in every generation prompt when a project-level Stitch design system is applied. This creates two competing theme sources.
- Never send position or dimension fields to
apply_design_system; pass onlyidandsourceScreenfor real screen instances. - Never expose an API key in a prompt, command transcript, committed file, or report. Use the
STITCH_API_KEYenvironment variable for direct uploads. - Never overwrite an existing root
DESIGN.md, staged screen, or application file without first comparing the old and new state. - Never keep an autonomous loop alive by inventing unnecessary pages. Finish when the declared roadmap is complete.
- Never impose a new React architecture merely because Stitch emitted static HTML. Adapt to the repository's stack and conventions.
- Never declare visual fidelity from HTML inspection alone. Inspect the downloaded screenshot or a rendered local page.
Deterministic Helpers
Use the bundled scripts instead of re-emitting binary/base64 payloads or writing ad hoc state checks:
# Validate resumable state
python <STITCH_SKILL_DIR>/scripts/validate_stitch_state.py .stitch/metadata.json
# Download a screen artifact without accidental overwrite
python <STITCH_SKILL_DIR>/scripts/fetch_stitch_asset.py \
--url "<download-url>" --output .stitch/designs/home.html
# Preview an upload without network mutation
python <STITCH_SKILL_DIR>/scripts/upload_to_stitch.py \
--project-id "<project-id>" --file DESIGN.md --dry-runRead references/import-export.md before using the uploader. An actual upload requires STITCH_API_KEY and --confirm-upload after user confirmation.
Completion Evidence
Do not report completion until all applicable evidence exists:
- Stitch MCP capability and target project confirmed.
- Resulting screen or design-system IDs retrieved after mutation.
.stitch/metadata.jsonupdated and validator passed.- Generated screenshot visually inspected.
- React route: typecheck/lint and rendered comparison completed when the project supports them.
- Loop route: sitemap and baton agree; baton is explicitly complete when no declared page remains.
Provenance
This local adapter selectively incorporates operational patterns from google-labs-code/stitch-skills as reviewed at commit 535b0889a46868c9b08f8a7f7084db3c1958a2b6 on 2026-08-09. The upstream project is a useful implementation reference, not the local design-policy authority and not an officially supported Google product.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

