Skip to content
Kitbay
Skill

web-design-analyzer

CC-BY-NC-4.0Updated on Nov 11, 20269,425GitHub starsIncludes scripts

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

What the skill teaches

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.

Capabilities

  • 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