Web design analyzer

From anbeime/skill · View interactive version

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

How to use this skill

Skill file

Web Design Analyzer

任务目标

前置准备

```

Pillow>=10.0.0

```

操作步骤

1. 接收图片

2. 调用分析脚本

3. 展示结果

资源索引

注意事项

使用示例

示例 1:分析网页截图

```bash

# 用户:请分析这张网页截图

# 智能体调用脚本

python scripts/analyze_design.py --image ./uploads/landing-page.png

```

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

```bash

# 用户:分析这个网页,然后用提取的设计规范创建一个 Hero Section

# 智能体:

# 1. 调用脚本分析图片

# 2. 展示结果

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

```

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

```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 指导代码生成

```

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.