design-md
它能做什么
这个工具会分析在 Stitch 平台上创建的项目,并生成一个 DESIGN.md 文件。这份文档描述项目的视觉方面,比如颜色、形状和风格,这样 AI 就能创建与现有设计保持一致的新页面。
适用场景
- ✓当你希望 AI 创建的新页面与现有项目的设计相匹配时。
- ✓当你需要为 Stitch 项目记录设计系统时。
- ✓当你想了解一个 Stitch 项目的视觉风格时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-md/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请根据现有页面,为“My Online Store”项目创建一份 DESIGN.md 文档。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会读取 Stitch 项目的技术细节,比如颜色、形状和代码,然后把这些信息整理成一份易读的文档,描述该项目的设计系统。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Stitch DESIGN.md Skill
You are an expert Design Systems Lead. Your goal is to analyze the provided technical assets and synthesize a "Semantic Design System" into a file named DESIGN.md.
When to Use This Skill
Use this skill when:
- Analyzing Stitch projects
- Creating DESIGN.md files
- Synthesizing semantic design systems
- Working with Stitch design language
- Generating design documentation for Stitch projects
Overview
This skill helps you create DESIGN.md files that serve as the "source of truth" for prompting Stitch to generate new screens that align perfectly with existing design language. Stitch interprets design through "Visual Descriptions" supported by specific color values.
Prerequisites
- Access to the Stitch MCP Server
- A Stitch project with at least one designed screen
- Access to the Stitch Effective Prompting Guide: https://stitch.withgoogle.com/docs/learn/prompting/
The Goal
The DESIGN.md file will serve as the "source of truth" for prompting Stitch to generate new screens that align perfectly with the existing design language. Stitch interprets design through "Visual Descriptions" supported by specific color values.
Retrieval and Networking
To analyze a Stitch project, you must retrieve screen metadata and design assets using the Stitch MCP Server tools:
Namespace discovery: Run
list_toolsto find the Stitch MCP prefix. Use this prefix (e.g.,mcp_stitch:) for all subsequent calls.Project lookup (if Project ID is not provided):
- Call
[prefix]:list_projectswithfilter: "view=owned"to retrieve all user projects - Identify the target project by title or URL pattern
- Extract the Project ID from the
namefield (e.g.,projects/13534454087919359824)
- Call
Screen lookup (if Screen ID is not provided):
- Call
[prefix]:list_screenswith theprojectId(just the numeric ID, not the full path) - Review screen titles to identify the target screen (e.g., "Home", "Landing Page")
- Extract the Screen ID from the screen's
namefield
- Call
Metadata fetch:
- Call
[prefix]:get_screenwith bothprojectIdandscreenId(both as numeric IDs only) - This returns the complete screen object including:
screenshot.downloadUrl- Visual reference of the designhtmlCode.downloadUrl- Full HTML/CSS source codewidth,height,deviceType- Screen dimensions and target platform- Project metadata including
designThemewith color and style information
- Call
Asset download:
- Use
web_fetchorread_url_contentto download the HTML code fromhtmlCode.downloadUrl - Optionally download the screenshot from
screenshot.downloadUrlfor visual reference - Parse the HTML to extract Tailwind classes, custom CSS, and component patterns
- Use
Project metadata extraction:
- Call
[prefix]:get_projectwith the projectname(full path:projects/{id}) to get:designThemeobject with color mode, fonts, roundness, custom colors- Project-level design guidelines and descriptions
- Device type preferences and layout principles
- Call
Analysis & Synthesis Instructions
1. Extract Project Identity (JSON)
- Locate the Project Title
- Locate the specific Project ID (e.g., from the
namefield in the JSON)
2. Define the Atmosphere (Image/HTML)
Evaluate the screenshot and HTML structure to capture the overall "vibe." Use evocative adjectives to describe the mood (e.g., "Airy," "Dense," "Minimalist," "Utilitarian").
3. Map the Color Palette (Tailwind Config/JSON)
Identify the key colors in the system. For each color, provide:
- A descriptive, natural language name that conveys its character (e.g., "Deep Muted Teal-Navy")
- The specific hex code in parentheses for precision (e.g., "#294056")
- Its specific functional role (e.g., "Used for primary actions")
4. Translate Geometry & Shape (CSS/Tailwind)
Convert technical border-radius and layout values into physical descriptions:
- Describe
rounded-fullas "Pill-shaped" - Describe
rounded-lgas "Subtly rounded corners" - Describe
rounded-noneas "Sharp, squared-off edges"
5. Describe Depth & Elevation
Explain how the UI handles layers. Describe the presence and quality of shadows (e.g., "Flat," "Whisper-soft diffused shadows," or "Heavy, high-contrast drop shadows").
Output Guidelines
- Language: Use descriptive design terminology and natural language exclusively
…
常见问题
什么是“语义化设计系统”?
这是一种用 AI 能够理解的文字来描述项目设计的方式,会说明每个视觉元素的用途。
DESIGN.md 文件是什么?
它是一份给 AI 看的指南,描述项目的视觉风格,确保新生成的内容与原有设计保持一致。
使用这个工具需要会编程吗?
不需要。这个工具面向所有人设计,即使没有编程基础也能使用,它会把技术细节转化为直观的视觉描述。
详情
作者的原始描述
Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
热度
- GitHub 星标
- 48k
- 排名
- #4426
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。