본문으로 건너뛰기
cccskills
무료GitHub에 공개

web-design-analyzer

Analyze webpage screenshots to extract colors, typography, and component styles. Generate structured JSON describing reusable design rules and an AI coding prompt, or convert the results into brand styling for a presentation video.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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

연동 도구OpenAI
설치 방법 보기

이럴 때 유용합니다

  • Extract design rules from a webpage screenshot
  • Prepare a coding prompt for a similar landing page
  • Export webpage styling for a presentation video

포함된 파일(5)

  • SKILL.md4.7 KB
  • references/api-spec.md5.6 KB
  • references/roadshow-export-guide.md4.7 KB
  • scripts/analyze_design.py8.8 KB
  • scripts/convert_to_roadshow_style.py8.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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:分析网页截图

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

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

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

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

  • 功能说明:将网页设计转换为路演视频可用的品牌风格配置
  • 执行方式:混合(脚本分析 → 转换脚本 → 导出配置)
  • 关键参数:设计系统 JSON 路径
  • 简单示例:
    # 用户:分析这个网页,然后导出为路演视频风格
    # 智能体:
    # 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 指导代码生成

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Organize AI agents into execution, management, and review roles for complex projects. Choose preset or custom teams, share project context and decisions, and combine their discussions and work into meeting records, feasibility reports, or implementation outputs.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing a technical architecture from several perspectives
  • Discussing product pricing across market and cost considerations
  • Assessing a new product's feasibility
anbeime/skill8.3천2026년 10월 18일 업데이트

Generate character images, backgrounds, synthetic speech, and music for product videos featuring 小省导购员, a digital shopping presenter. Coordinate these assets with InfiniteTalk to produce a 25-second vertical video made from five scenes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Producing a 25-second vertical product presentation video
  • Generating reference images for the 小省导购员 character
  • Creating business setting backgrounds for a video
anbeime/skill8.3천2026년 10월 18일 업데이트

Convert PDF, Word, and Excel documents into structured Markdown for search and knowledge bases. The skill tries three parsers in sequence when needed and returns metadata, a confidence score, and the parser used.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Prepare documents for retrieval-augmented generation
  • Structure documents for an internal knowledge base
  • Extract structured text from contracts
anbeime/skill8.3천2026년 10월 18일 업데이트

Organize parsed documents into four color-coded cards covering facts, explanations, risks, and actions. Preserve source references and generation details so readers can review evidence, identify uncertainty, and consider next steps in research, financial, or legal analysis.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Separating facts from interpretations in financial reports
  • Organizing evidence and risks in legal documents
  • Turning research documents into evidence-linked analysis cards
anbeime/skill8.3천2026년 10월 18일 업데이트

Record operations across multiple AI agents and connect events into a traceable history. Search records by tracking ID, time window, or responsible component to support audits and investigations, with local storage available when the vector database fails.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Trace task dispatch and execution across agents
  • Search audit records by time or responsible component
  • Keep recording events during vector database failures
anbeime/skill8.3천2026년 10월 18일 업데이트

Screen documents and external URLs before they enter a processing workflow. Check blocked domains and document permissions, then produce a pass or reject decision, a risk report, and a tracking ID for later review.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Screening documents before adding them to a knowledge base
  • Checking external URLs against a domain blocklist
  • Reviewing document permissions before processing
anbeime/skill8.3천2026년 10월 18일 업데이트

anbeime의 스킬 모두 보기

이 스킬의 문제 신고