design-md
Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
Security Assessment
About design-md
The 'design-md' skill is designed to facilitate the creation of 'DESIGN.md' files, which serve as a central source of truth for generating consistent and visually aligned screens within Stitch projects. This skill analyzes technical assets within a project, synthesizing a semantic design system from the provided design language. By translating these elements into a 'DESIGN.md' file, it ensures that new screens generated by Stitch adhere to the same aesthetic and functional principles as the original designs. It bridges the gap between design and technical execution by making sure that new screens align perfectly with the established design language, reducing inconsistencies and improving design coherence across a project.
The skill enables users to extract metadata, design assets, and project-level design guidelines from Stitch projects. By pulling visual references, HTML/CSS code, and project metadata, it allows for the synthesis of a detailed design description, including color palettes, geometry, and shape descriptions. It also supports mapping colors with descriptive names and their roles, ensuring that new designs match the mood and style of the existing project. The overall atmosphere of a design, including its mood and layout, is also captured and documented for precise replication.
This skill is particularly useful for design system leads, UI/UX designers, and developers working with Stitch projects. It ensures the creation of highly consistent and reproducible design outputs, which is critical when maintaining design systems over time. Target users include those who need to automate the creation of design files that guide screen generation, ensuring design integrity across various teams and stages of a project.
FAQ
What is the primary purpose of the 'design-md' skill?
The primary purpose of the 'design-md' skill is to analyze Stitch projects and synthesize a semantic design system into 'DESIGN.md' files, ensuring design consistency when generating new screens within the project.
What tools are required to use the 'design-md' skill?
The skill requires access to the Stitch MCP Server, a Stitch project with at least one designed screen, and the Stitch Effective Prompting Guide.
How do I retrieve project and screen data for analysis?
You can retrieve project data by using the '[prefix]:list_projects' call and filter by 'view=owned'. For screen data, use '[prefix]:list_screens' with the project ID and then extract the screen ID to fetch the metadata.
Can the skill handle any type of screen design?
The skill works best with projects that have existing screen designs in Stitch. The project should contain at least one screen for the skill to analyze and synthesize a design system.
What information does the 'DESIGN.md' file contain?
The 'DESIGN.md' file includes descriptions of the design system, color palettes, layout principles, typography, and other visual elements that define the design language of the project.
Install design-md
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
google-labs-code/stitch-skills