Web Design Analyzer logo

Web Design Analyzer

CommunityPopular
anbeime
web-design-analyzer

网页与数字界面设计师和网页开发工程师在需要逆向分析网页截图时,使用本技能一键提取配色、排版及组件特征,自动生成结构化 Design System 数据与 AI Coding Prompt,让设计还原与前端开发更高效。

Overview

Publisheranbeime
Repositoryskill
Skill nameweb-design-analyzer
Stars
7.9K
Forks
703
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by anbeime on GitHub. Read the source before you install it.

Installation

Install the Web Design Analyzer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/anbeime/skill/tree/main/skills/web-design-analyzer/web-design-analyzer
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/anbeime/skill.git /tmp/skill
mkdir -p .claude/skills
cp -r /tmp/skill/skills/web-design-analyzer/web-design-analyzer .claude/skills/web-design-analyzer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Web Design Analyzer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Web Design Analyzer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Web Design Analyzer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Web Design Analyzer

任务目标

  • 本 Skill 用于:从网页截图中自动提取设计系统(Design System),包括色彩、排版、组件风格等核心要素
  • 能力包含:
    • 自动识别网页视觉风格(Vibe & Style)
    • 提取精确的色彩系统(Hex Code + Tailwind 类名)
    • 分析排版系统(字体类型、字重、行高)
    • 识别组件特征(圆角、阴影、边框)
    • 生成结构化 JSON 数据和可直接使用的 Coding Prompt
    • 导出为路演视频品牌风格配置(与 ppt-roadshow-generator 协同)
  • 触发条件:用户上传网页截图并要求分析其设计,或需要将网页设计风格应用于路演视频

前置准备

  • 依赖说明:scripts 脚本所需的依赖包及版本
    Pillow>=10.0.0
  • 非标准文件/文件夹准备:无

操作步骤

  • 标准流程:

    1. 接收图片

      • 用户上传网页截图(支持 PNG、JPG、JPEG 等常见格式)
      • 智能体确认图片文件路径
    2. 调用分析脚本

      • 智能体调用 scripts/analyze_design.py --image <图片文件路径> 执行分析
      • 脚本将自动调用 OpenAI GPT-4 Vision API 处理图片
      • 脚本返回结构化的分析结果
    3. 展示结果

      • 智能体展示 JSON 格式的设计系统数据
      • 智能体展示生成的 Coding Prompt
      • 智能体提供进一步操作建议(如:使用生成的 Prompt 创建 Landing Page)
  • 可选分支:

    • 当用户希望使用 Gemini API:提示当前版本仅支持 OpenAI,未来可能扩展
    • 当 API 调用失败:提供错误信息和可能的解决方案(如检查 API Key、图片格式等)

资源索引

注意事项

  • 仅在需要时读取参考,保持上下文简洁。
  • 确保用户上传的图片清晰度足够,以便准确提取设计细节。
  • 脚本会自动处理图片编码和 API 调用,无需手动干预。
  • 充分利用智能体的语言理解和展示能力,将 API 返回的结构化数据以友好的方式呈现给用户。

使用示例

示例 1:分析网页截图

  • 功能说明:上传一张网页截图,提取完整的设计系统
  • 执行方式:混合(用户上传 → 脚本分析 → 智能体展示)
  • 关键参数:图片文件路径
  • 简单示例:
    bash
    # 用户:请分析这张网页截图
    # 智能体调用脚本
    python scripts/analyze_design.py --image ./uploads/landing-page.png

示例 2:生成 Coding Prompt 后创建组件

  • 功能说明:先分析设计,然后使用生成的 Prompt 创建类似的 Landing Page
  • 执行方式:混合(脚本分析 → 智能体生成代码)
  • 关键要点:确保生成的 Coding Prompt 准确反映设计风格
  • 简单示例:
    bash
    # 用户:分析这个网页,然后用提取的设计规范创建一个 Hero Section
    # 智能体:
    # 1. 调用脚本分析图片
    # 2. 展示结果
    # 3. 使用生成的 Coding Prompt 指导代码生成

示例 3:导出为路演视频风格

  • 功能说明:将网页设计转换为路演视频可用的品牌风格配置
  • 执行方式:混合(脚本分析 → 转换脚本 → 导出配置)
  • 关键参数:设计系统 JSON 路径
  • 简单示例:
    bash
    # 用户:分析这个网页,然后导出为路演视频风格
    # 智能体:
    # 1. 调用 analyze_design.py 分析图片,生成 design_system.json
    # 2. 调用 convert_to_roadshow_style.py 转换,生成 brand_style.json
    # 3. 提示用户可以将 brand_style.json 用于路演视频生成

    1. 调用脚本分析图片

    2. 展示结果

    3. 使用生成的 Coding Prompt 指导代码生成

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Web Design Analyzer AI skill do?

网页与数字界面设计师和网页开发工程师在需要逆向分析网页截图时,使用本技能一键提取配色、排版及组件特征,自动生成结构化 Design System 数据与 AI Coding Prompt,让设计还原与前端开发更高效。

Why use Web Design Analyzer on TypingMind?

Because you install it once and use it with any model. Web Design Analyzer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Web Design Analyzer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/anbeime/skill/tree/main/skills/web-design-analyzer/web-design-analyzer. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Web Design Analyzer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Web Design Analyzer?

As many as you like. As long as a model supports skills, you can use Web Design Analyzer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Web Design Analyzer AI skill free?

It is published on GitHub by anbeime. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇