Agent skill

Image to Code Skill: Generate References, Then Build

An image-first skill from the taste-skill repository that makes an AI coding agent generate design images, analyze them closely, and only then write the frontend.

Install
git clone https://github.com/Leonxlnx/taste-skill
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the image-to-code skill?

The image-to-code skill is one SKILL.md in the Leonxlnx/taste-skill repository. It tells an AI coding agent to generate reference images for each section, analyze them in detail, then build the frontend to match. It works from images the agent makes, not from a Figma file.

The image-to-code skill is one of several skills in the taste-skill repository. The repo's README summarizes it as an image-first pipeline: generate site references, analyze them, then implement the frontend to match.

Its SKILL.md is long, with 38 numbered sections. The folder is named image-to-code-skill, while the skill's own name inside the file is image-to-code. Use the folder path when you copy it.

What it changes in your agent's output

  • The agent generates design images before it writes any code, when image generation is available in your setup.
  • It then studies those images for text, type, spacing, buttons, color, grid, radius and shadows, and writes code from that analysis.
  • Implementation is told to copy the references faithfully instead of drifting back to a generic layout.
  • Hero areas stay clean: a one to three line headline, and no invented stats, pills or badges.

The three-step order

The skill fixes the order of work. The agent should not skip ahead, and the README tip is to name the pipeline in your prompt so it is followed.

  1. Generate images first, one large image per section, with no cropping of old images.
  2. Analyze every image in depth before choosing any markup.
  3. Implement the frontend to match the references, then run the skill's clarity check.

Who it is for

Best for

  • New landing pages with no mockup, where you want a visual target before code.
  • Agents that can generate images, so the references come from the same session.
  • Teams who want a stricter alternative to pasting one screenshot and hoping for a match.

Not for

  • Reading a Figma file. The skill has no Figma input. For that, see Figma MCP or Framelink MCP for Figma.
  • Restyling a site that already exists. redesign-existing-projects from the same repo audits and fixes an existing UI.
  • Quick bug fixes. The skill says direct code is fine when the task is technical or you already have a design system.

Use it with UiChemy

The skill ends in front-end code, not a WordPress page. If the build came from an AI tool and needs to become editable in WordPress, UiChemy AI to WordPress imports it. If your design lives in Figma, UiChemy Figma to WordPress is the direct route. Click Get Started on uichemy.com.