image-to-code SKILL.md skillA
image-to-code from plugin87/ux-ui-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add plugin87/ux-ui-agent-skills/image-to-code@git:20261008.acc298ePins git:20261008.acc298e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- plugin87/ux-ui-agent-skills
- Path
.claude/skills/image-to-code/SKILL.md- Versions recorded
- 4
- Latest version
- git:20261008.acc298e, committed Oct 8, 2026
- First version recorded
- Jun 8, 2026
- Size
- 3,630 bytes
- Repository stars
- 3,070
- License
- MIT
Turn a reference image, screenshot, or mockup into token-driven, accessible code — infer the design system from the reference (palette, type scale, spacing, radius, layout archetype), map it to the 3-tier tokens, rebuild it, then verify with the kit's gates. Use when the user provides a design/screenshot and wants matching UI code.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Skill: Image to Code
> **Step 0 — is the kit here?** This skill reads files from the kit. Check once:
> `ls ${CLAUDE_SKILL_DIR}/../../../tokens >/dev/null 2>&1 && echo KIT_OK || echo KIT_MISSING`
> On `KIT_MISSING` only the skill folders were installed, which is what
> `npx skills add` does. Say so plainly, point the user at
> `npx ux-ui-agent-skills init` or the plugin install, and stop. Do not guess the
> contents of a file you could not open.
Reconstruct a design from a visual reference as a real design system, not a one-off copy. Match the *system* (color/type/spacing language), never lift copyrighted imagery or brand assets.
## Steps
1. **Read the reference like a designer.** Infer and write down:
- **Palette** — 1 dominant surface family, text colors, 1 primary action + at most 1 accent (sample the hues; don't guess random hex).
- **Type** — family feel (geometric/grotesk/serif), the scale jumps, display vs. body contrast, weights.
- **Spacing & density** — base unit, section rhythm, card padding; airy vs. compact.
- **Radius & depth** — radius language (sharp/soft/pill), shadow vs. hairline separation.
…Read the whole file at its exact version.
How to install
mdr add plugin87/ux-ui-agent-skills/image-to-code@sha256:f755a7034b6d8a15The line at the top of this page pins the label git:20261008.acc298e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ccql5wu5vbtha5wf)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Jun 8, 2026 and Oct 8, 2026, about one every 41 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261008.acc298e latest | 2026-10-08 | acc298e | 3,630 B | A | view · diff |
| git:20261006.5751441 | 2026-10-06 | 5751441 | 3,627 B | A | view · diff |
| git:20260824.db721b3 | 2026-08-24 | db721b3 | 2,721 B | A | view · diff |
| git:20260608.4f844f4 | 2026-06-08 | 4f844f4 | 2,704 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3630 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
plugin87/ux-ui-agent-skills · 3,070 stars · license MIT · pushed 2026-10-27 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ccql5wu5vbtha5wf GET https://markdownregistry.com/api/v1/resolve?ref=plugin87/ux-ui-agent-skills/image-to-code GET https://markdownregistry.com/api/v1/blob/f755a7034b6d8a154c8b6812474d8f38b4a3248549fa925497fd69ecea8a14dc
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from plugin87/ux-ui-agent-skills
Every file in plugin87/ux-ui-agent-skills