跳到正文
Skillpedia
界面(UI/UX)48k · #4426

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/design-md/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

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:

  1. Namespace discovery: Run list_tools to find the Stitch MCP prefix. Use this prefix (e.g., mcp_stitch:) for all subsequent calls.

  2. Project lookup (if Project ID is not provided):

    • Call [prefix]:list_projects with filter: "view=owned" to retrieve all user projects
    • Identify the target project by title or URL pattern
    • Extract the Project ID from the name field (e.g., projects/13534454087919359824)
  3. Screen lookup (if Screen ID is not provided):

    • Call [prefix]:list_screens with the projectId (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 name field
  4. Metadata fetch:

    • Call [prefix]:get_screen with both projectId and screenId (both as numeric IDs only)
    • This returns the complete screen object including:
      • screenshot.downloadUrl - Visual reference of the design
      • htmlCode.downloadUrl - Full HTML/CSS source code
      • width, height, deviceType - Screen dimensions and target platform
      • Project metadata including designTheme with color and style information
  5. Asset download:

    • Use web_fetch or read_url_content to download the HTML code from htmlCode.downloadUrl
    • Optionally download the screenshot from screenshot.downloadUrl for visual reference
    • Parse the HTML to extract Tailwind classes, custom CSS, and component patterns
  6. Project metadata extraction:

    • Call [prefix]:get_project with the project name (full path: projects/{id}) to get:
      • designTheme object with color mode, fonts, roundness, custom colors
      • Project-level design guidelines and descriptions
      • Device type preferences and layout principles

Analysis & Synthesis Instructions

1. Extract Project Identity (JSON)

  • Locate the Project Title
  • Locate the specific Project ID (e.g., from the name field 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-full as "Pill-shaped"
  • Describe rounded-lg as "Subtly rounded corners"
  • Describe rounded-none as "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

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4426
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能