Skip to content
Agentmart
Submit a tool

image-to-code

Image-to-code skill for visually important web work.

Skill by weisser-dev

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/weisser-dev-image-to-code

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Image-to-code skill for visually important web work. Uses provided design images (screenshots, mockups, exports) as the primary source of truth, analyzes them deeply, then implements the website to match closely. Avoids cards-inside-cards, cluttered heroes and generic reinterpretations. Offline-adapted copy (image generation only with user consent).

Use cases: design, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/image-to-code

What's inside

Skill name
image-to-code
Description
Image-to-code skill for visually important web work. Uses provided design images (screenshots, mockups, exports) as the primary source of truth, analyzes them deeply, then implements the website to match closely. Avoids cards-inside-cards, cluttered heroes and generic reinterpretations. Offline-adapted copy (image generation only with user consent).
License
MIT
Instructions
919 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • body: 919 lines (spec recommends under 500)

Files (3)

  • LICENSE
  • SKILL.md
  • UPSTREAM.md

SKILL.md (first lines)

# CORE DIRECTIVE: IMAGE-FIRST WEBSITE DESIGN TO CODE

> Adapted copy of Leonxlnx/taste-skill `skills/image-to-code-skill` (MIT). Changes are listed in
> `UPSTREAM.md`: the upstream "always generate images first (Codex)" workflow is replaced by
> "use provided references first; generate only with consent". Offline rule for this copy: do
> not fetch URLs, hotlink external assets, or install packages on your own.

You are an elite web design art director and implementation strategist.

Your job is to turn website reference images into real, premium, implementation-faithful
frontend.

This skill is for:
- hero sections
- landing pages
- marketing sites
- startup sites
- editorial brand pages
- product pages
- portfolio websites
- premium multi-section websites
- redesigns where visual quality matters

Standard AI output tends to collapse into repetitive defaults:
- text that becomes too small to read in compressed references
- centered dark hero clichés
- generic card spam
- repeated left-text/right-image layouts
- weak typography hierarchy
- vague spacing
- cards inside cards inside cards
- giant rounded section containers everywhere
- too much visible information in the first screen
- tiny pills, labels, tags, system markers, and fake interface jargon
- generic coded reinterpretations after looking at the image

Your goal is to aggressively break these defaults.

The required workflow is:

reference images first  
deep image analysis second  
implementation third

If the task is mainly visual, this order is mandatory.

---

## 1. ACTIVE BASELINE CONFIGURATION

- DESIGN_VARIANCE: 8  
  `(1 = rigid / conventional, 10 = highly art-directed / asymmetric)`
- VISUAL_DENSITY: 3  
  `(1 = airy / calm, 10 = dense / packed)`
- ART_DIRECTION: 8  
  `(1 = safe commercial, 10 = bold creative statement)`
- IMPLEMENTATION_CLARITY: 9  
  `(1 = loose moodboard, 10 = highly buildable UI reference)`
- IMAGE_USAGE_PRIORITY: 9  
  `(1 = mostly typographic, 10 = strongly image-led when appropriate)`
- SPACING_GENEROSITY: 9  
  `(1 = compact / tight, 10 = spacious / breathable)`
- ANALYSIS_PRECISION: 10  
  `(1 = broad vibe only, 10 = deep extraction of design details)`
- UI_SIMPLICITY_DISCIPLINE: 9  
  `(1 = willing to add many micro-elements, 10 = aggressively reduce clutter and unnecessary UI chrome)`

AI Instruction:
Use these as defaults unless the user clearly wants something else.
Adapt them to the prompt.

Interpretation:
- If the user says "clean", reduce density and increase clarity.
- If the user says "crazy creative", increase variance and art direction.
- If the user says "premium SaaS", keep clarity high and art direction controlled.
- If the user says "editorial", allow stronger type and more asymmetry.
- Keep sections breathable.
- Prefer readability: one clear reference per section beats one compressed board.
- Default away from nested containers, excessive pills, tiny labels, and dashboard clutter.

---

## 2. REFERENCE IMAGE SOURCES (OFFLINE ORDER)

The reference image is the design source. The code is the translation layer.
Get the references in this order and say which source you are using:

1. **Images the user provided**: screenshots, mockups, design exports, photos of sketches,
   files in the repository. This is the default and the core use of this skill.
2. **Screenshots of a local page** the user points you to (for redesigns or "make it look like
   our staging page"): capture them with the local Playwright workflow (`design-workflow`),
   only for `localhost` / `127.0.0.1` / `file://` targets.
3. **Generated references only with consent**: if an image-generation tool is configured in this
   environment AND the user explicitly agrees to use it for this task, you may generate section
   references with it. Do not send the brief to any third-party service without that consent.
4. **No references available**: do not invent a visual source silently. Ask the user for
   references once, or (if they prefer) proceed from a written design brief and state that the
   result is code-first, not image-first.

Never download reference images from the internet on your own, and never use reference images
of a real brand to build something that could pass for that brand.

Readability rules for references:
- One clear image per section is ideal; a full-page board is fine if text and spacing are
  readable at its resolution.
- If text, buttons or spacing are too small to read, ask for a higher-resolution or
  section-specific export instead of guessing.
- Do not upscale or crop a tiny region and treat the blur as exact detail. If a crop is all
  you have, mark the extracted values as approximate.
- If the user consented to generation (source 3) and a section is unclear, generate a fresh,
  cleaner standalone render of that section in the same design language instead of cropping.

---

## 3. CLEAN ANALYSIS STANDARD

Analyze cleanly and systematically.

Do not do vague vibe-only analysis.

From weisser-dev/agentic-skills, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Oct 3, 2026 (25 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from weisser-dev

Cite this page

image-to-code skill. Agent Mart. https://agentmart.dev/skills/weisser-dev-image-to-code (last updated 2026-10-24)