stitch::manage-design-system
Skill0 starsChanged 5 months agoMITView on GitHub
Manage design systems in Stitch using MCP tools. Includes retrieval of assets, creating/updating design systems in Stitch, and applying them to screens.
- Reads credentials
2 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- mahik504/orchestra-workflowedited, first seen Oct 15, 2026
- HK-hub/AgentSkillsedited, first seen Mar 2, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- HK-hub/AgentSkills★ 693% same
- mahik504/orchestra-workflow★ 187% same
Wrote their own version · 0
None found.
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 repository26 other files it gives its agents.
- find-skillsSkill
- notebooklmSkill
- stitch::code-to-designSkill
- design-mdSkill
- doc-coauthoringSkill
- enhance-promptSkill
- stitch::extract-design-mdSkill
- stitch::extract-static-htmlSkill
- frontend-designSkill
- stitch::generate-designSkill
- hatch-petSkill
- impeccableSkill
- internal-commsSkill
- karpathy-guidelinesSkill
- mcp-builderSkill
- product-engineering-auditorSkill
- react:componentsSkill
- remotionSkill
- shadcn-uiSkill
- stitch-loopSkill
- taste-designSkill
- design-taste-frontendSkill
- ui-ux-pro-maxSkill
- stitch::upload-to-stitchSkill
- webapp-testingSkill
- website-builder-setupSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 2 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Create a "source of truth" for your project's design language to ensure consistency across all future screens.
- Very specific: line 29
Project lookup: Use list_projects to find the target projectId.
- Very specific: line 30
Screen lookup: Use list_screens for that projectId to find representative screens (e.g., "Home", "Main Dashboard").
- Very specific: line 32
Metadata fetch: Call get_screen for the target screen to get screenshot.downloadUrl and htmlCode.downloadUrl.
- Very specific: line 34
Asset download: Use read_url_content to fetch the HTML code.
- Very specific: line 38
If you need to extract a design system from existing screens, use the design-md skill (in the stitch-utilities plugin).
- Distinctive: line 40
If there are no existing screens (new project), or the user provides a direct description (e.g., "dark theme, blue and purple, rounded, …
- Very specific: line 53
After generating .stitch/DESIGN.md, make sure to also create or update the design system in Stitch.
- Very specific: line 66
Option A (Recommended - Uploader Script): Use the modified upload-to-stitch Python script which natively handles .md files.
- Very specific: line 74
Option B (Direct MCP Tool): If the DESIGN.md is small (under ~5KB), you can call the upload_design_md MCP tool directly, passing the …
- Very specific: line 75
Create Design System: Call the create_design_system_from_design_md tool immediately after the upload, passing the projectId and the …
- Very specific: line 83
Use apply_design_system to apply a design system to existing screens.
- Very specific: line 105
Call get_project to retrieve screenInstances — each has an id and sourceScreen.
- Very specific: line 107
Call list_design_systems to retrieve the design system name (format: assets/{assetId}) — use the part after assets/ as the assetId.
- Very specific: line 114
After writing .stitch/DESIGN.md, also create or update .stitch/metadata.json to track the projectId, title, all known screens, and design …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Design-System
Create a "source of truth" for your project's design language to ensure consistency across all future screens.
[!NOTE] Refer to your system prompt for instruction on handling MCP tool prefixes for all tools mentioned in this skill (e.g.,
get_screen,create_design_system_from_design_md,apply_design_system).
📥 Retrieval
To analyze a Stitch project, you must retrieve metadata and assets using the Stitch MCP tools:
- Project lookup: Use
list_projectsto find the targetprojectId. - Screen lookup: Use
list_screensfor thatprojectIdto find representative screens (e.g., "Home", "Main Dashboard"). - Metadata fetch: Call
get_screenfor the target screen to getscreenshot.downloadUrlandhtmlCode.downloadUrl. - Asset download: Use
read_url_contentto fetch the HTML code.
🧠 Synthesis from Description
If you need to extract a design system from existing screens, use the design-md skill (in the stitch-utilities plugin).
If there are no existing screens (new project), or the user provides a direct description (e.g., "dark theme, blue and purple, rounded, Inter font"):
- Map the user's vague terms to precise values using the design mappings (see
design-mdskill institch-utilitiesorgenerate-designskill). - Select concrete hex codes, font families, and roundness values.
- Generate the
DESIGN.mdfile (refer to thedesign-mdskill institch-utilitiesfor structure). - Proceed to the "Create or Update Design System in Stitch" step below.
📝 Output Structure
The DESIGN.md file should follow the structure defined in the design-md skill (in the stitch-utilities plugin).
🚀 Create or Update Design System in Stitch
After generating .stitch/DESIGN.md, make sure to also create or update the
design system in Stitch.
Two-step design system creation:
[!WARNING] Checkpoint — User Confirmation Required. Before uploading, you MUST pause and ask the user for confirmation. Present a summary of the design system you are about to create (display name, key colors, fonts, and roundness) and wait for explicit approval before proceeding. Do NOT upload until the user confirms.
- Upload
DESIGN.md:- Option A (Recommended - Uploader Script): Use the modified
upload-to-stitchPython script which natively handles.mdfiles. It base64-encodes the markdown file in-process and sends it to the/v1/projects/{projectId}/screens:batchCreateendpoint, bypassing output token limits.
This returns thepython3 stitch-skills/plugins/stitch-design/skills/upload-to-stitch/scripts/upload_to_stitch.py \ --project-id <PROJECT_ID> \ --file-path /path/to/DESIGN.md \ --api-key <API_KEY>sourceScreenID and thescreenInstanceID. - Option B (Direct MCP Tool): If the
DESIGN.mdis small (under ~5KB), you can call theupload_design_mdMCP tool directly, passing the base64-encoded design markdown content asdesignMdBase64.
- Option A (Recommended - Uploader Script): Use the modified
- Create Design System: Call the
create_design_system_from_design_mdtool immediately after the upload, passing theprojectIdand theselectedScreenInstance(containing theidandsourceScreenreturned from the upload step).
Once the upload script and create_design_system_from_design_md have both completed,
Stitch holds the design tokens at the project level — you do NOT need to repeat
them in generation prompts.
🎨 Apply Design System to Screens
Use apply_design_system to apply a design system to existing screens.
[!IMPORTANT]
selectedScreenInstancesmust contain onlyidandsourceScreen— do NOT include position/dimension fields (x,y,width,height) or the request will fail with "invalid argument". Get the screen instance IDs fromget_project.
{
"projectId": "...",
"assetId": "...",
"selectedScreenInstances": [
{
"id": "...",
"sourceScreen": "projects/.../screens/..."
}
]
}How to get the required IDs:
- Call
get_projectto retrievescreenInstances— each has anidandsourceScreen. - Call
list_design_systemsto retrieve the design systemname(format:assets/{assetId}) — use the part afterassets/as theassetId. - Filter out any instances with
type: "DESIGN_SYSTEM_INSTANCE"— only pass real screens.
📋 Update Project Metadata
After writing .stitch/DESIGN.md, also create or update .stitch/metadata.json
to track the projectId, title, all known screens, and design system summary.
See examples/metadata.json for the format.
Schema Reference
See reference/tool-schema.md for the full
designSystem object schema with all available options.
💡 Best Practices
Refer to the design-md skill (in the stitch-utilities plugin) for best practices on describing design elements.
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.

