stitch::code-to-design
Installation
SKILL.md
Code to Design
Transform your existing frontend code into a Stitch Design so you can iterate and improve it using Stitch.
This skill orchestrates three other skills in sequence:
extract-static-html: Extract a single self-contained HTML file from your build output.extract-design-md: Analyze the source code to create a design system (DESIGN.md).upload-to-stitch: Upload that HTML file and the design system to your Stitch project.
Workflow
Follow these steps to convert your existing code.
Prerequisites
- A built web application directory containing
index.htmland assets. - Target Stitch
projectId(uselist_projectsif unknown).