Skip to content

Update stitch-design skill, to support design systems and upload images#44

Open
JLXIA wants to merge 1 commit intomainfrom
jilin
Open

Update stitch-design skill, to support design systems and upload images#44
JLXIA wants to merge 1 commit intomainfrom
jilin

Conversation

@JLXIA
Copy link
Copy Markdown
Contributor

@JLXIA JLXIA commented Mar 27, 2026

  1. Support MCP tools for design systems, e.g. "create_design_system", "update_design_system", "apply_design_system"
  2. Support uploading images to Stitch, through API calls
  3. minor updates

@JLXIA JLXIA requested review from davideast and dpaul March 27, 2026 17:20
Creates a new design system for a project.

> [!IMPORTANT]
> You MUST call `update_design_system` immediately after `create_design_system`
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are there two separate calls here?

Applies a design system to one or more screens in a project.

> [!IMPORTANT]
> `selectedScreenInstances` must contain **only** `id` and `sourceScreen` — do NOT
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just change the API to ignore these?

After generating `.stitch/DESIGN.md`, make sure to also create or update the
design system in Stitch using MCP tools.

**Two-step design system creation:**
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...but why

Copy link
Copy Markdown

@dpaul dpaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great to think ahead and try to figure out a way to validate this in a repeatable way. I assume you're just playing around with things until they work at this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants