A library of Agent Skills designed to work with the Stitch MCP server. Each skill follows the Agent Skills open standard, for compatibility with coding agents such as Antigravity, Gemini CLI, Claude Code, Cursor.
TypeScript
update the code-to-design to use DS v2
JLXIAa79108325354
diff --git a/skills/code-to-design/SKILL.md b/skills/code-to-design/SKILL.mdindex b4dd77d..2a53fcb 100644--- a/skills/code-to-design/SKILL.md+++ b/skills/code-to-design/SKILL.md@@ -54,14 +54,14 @@ structure.> [!WARNING]> **Checkpoint — User Confirmation Required.**-> Before calling `create_design_system` and proceeding to upload, you **MUST** pause and ask the user to review both the extracted static HTML file(s) and the generated `DESIGN.md`. Present a summary of the extracted design system (key colors, fonts, roundness, overall theme) and the path to the HTML file, and wait for explicit approval. Do **NOT** proceed until the user confirms.+> Before calling `upload_design_md` and proceeding to upload, you **MUST** pause and ask the user to review both the extracted static HTML file(s) and the generated `DESIGN.md`. Present a summary of the extracted design system (key colors, fonts, roundness, overall theme) and the path to the HTML file, and wait for explicit approval. Do **NOT** proceed until the user confirms.> [!IMPORTANT]> You **MUST** create the design system in the Stitch platform using the MCP tools. Do not just create the local file.>> Follow the two-step pattern:-> 1. Call `create_design_system` with only `displayName`.-> 2. Call `update_design_system` with the full `designMd` and required theme fields.+> 1. Call `upload_design_md` with the base64 encoded content of the `DESIGN.md` file and the `projectId`. This uploads the markdown and returns the source screen ID.+> 2. Immediately call `create_design_system_from_design_md` with the `projectId` and `selectedScreenInstance` (constructed using the returned source screen ID and fetching the screen instance ID from `get_project`).>> Refer to the `manage-design-system` skill for detailed schemas and required fields.@@ -82,4 +82,3 @@ You will need:>> Get the instance ID from `get_project` (pass the project name as `projects/{id}`).-