Pular para o conteúdo
Kitbay
Skill

web-design-analyzer

CC-BY-NC-4.0Atualizado em 11 de nov. de 20269.425Estrelas no GitHubInclui scripts

A Chinese-language skill from the anbeime/skill collection that reverse-engineers the design of a web page from a screenshot.

O que a skill ensina

A Chinese-language skill from the anbeime/skill collection that reverse-engineers the design of a web page from a screenshot. The agent runs a bundled Python script that sends the image to OpenAI's GPT-4 Vision API, then presents the returned design system as JSON: overall style, colours as hex codes with Tailwind class names, font types, weights and line heights, and component traits such as corner radius, shadows and borders. It also shows a prompt the agent can use to build a similar page, and a second script converts the result into a brand style for the repository's roadshow video skill. It needs Pillow and an OpenAI API key.

O que faz

  • Extract colours, typography and component styles from a web page screenshot
  • Output the design system as JSON with Tailwind class names
  • Generate a coding prompt for rebuilding a similar page