image-to-code
Skill3 starsChanged 45 days agoMITView on GitHub
Build or reconstruct a visually important website through an image-first workflow: generate or inspect section references, analyze them, then implement matching responsive code. Use when the user supplies a website image to reproduce or explicitly wants a visual-first web build. Do not use for ordinary frontend edits, image-only deliverables, mobile apps, or brand boards.
We split this skill into the rules it gives an agent
12 rules. 0 are common, 9 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 80 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Treat the design image as an implementation specification, then ship working code that matches its hierarchy, rhythm, assets, and …
- Distinctive: line 12
Use this skill as the single orchestrator for image-first web implementation.
- Very specific: line 14
Use design-taste-frontend instead for normal code-first frontend work.
- Very specific: line 15
Use imagegen-frontend-web alone when the user wants images but no code.
- Distinctive: line 25
Verify responsive behavior, interactions, reduced motion, accessibility, and build/tests.
- Distinctive: line 29
Do not crop old images to manufacture missing section references.
- Distinctive: line 30
Keep the hero readable and visible on a small laptop.
- Distinctive: line 32
Avoid nested cards, micro-UI clutter, fake screenshots, and placeholder rectangles.
- Distinctive: line 33
Use real/generated assets at the correct aspect ratio and preserve focal points responsively.
- Distinctive: line 36
Do not claim fidelity without inspecting the rendered result at representative desktop and mobile sizes.
- Distinctive: line 40
Read only the relevant section of references/full-guide.md:
- Very specific: line 50
Use rg -n "<heading>" references/full-guide.md.
“Common” is measured: kept by at least 6 in 10 of the 80 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Image to Code
Treat the design image as an implementation specification, then ship working code that matches its hierarchy, rhythm, assets, and responsive intent.
Precedence
- Use this skill as the single orchestrator for image-first web implementation.
- Invoke image generation as an internal step when references are missing; do not independently run a second competing web-design workflow.
- Use
design-taste-frontendinstead for normal code-first frontend work. - Use
imagegen-frontend-webalone when the user wants images but no code.
Workflow
- Inspect the repository, runtime, existing design system, routes, assets, and supplied images.
- Determine the section list and identify which sections lack a readable reference.
- Generate fresh, standalone section images only where needed. Prefer large section-specific references over a tiny full-page board.
- Analyze each reference for layout, type, spacing, color, surfaces, imagery, components, and responsive behavior.
- Implement with the existing stack, matching the reference before introducing stylistic reinterpretation.
- Compare the rendered page against the reference and correct the largest visual deltas first.
- Verify responsive behavior, interactions, reduced motion, accessibility, and build/tests.
Non-negotiables
- Do not crop old images to manufacture missing section references.
- Keep the hero readable and visible on a small laptop; do not let decorative art bury copy or CTAs.
- Recreate hierarchy and spacing, not just colors and border radii.
- Avoid nested cards, micro-UI clutter, fake screenshots, and placeholder rectangles.
- Use real/generated assets at the correct aspect ratio and preserve focal points responsively.
- Extract repeated values into existing tokens or a small coherent token set; avoid one-off magic values everywhere.
- Preserve functionality and project conventions while improving visual fidelity.
- Do not claim fidelity without inspecting the rendered result at representative desktop and mobile sizes.
Detailed reference
Read only the relevant section of references/full-guide.md:
- Deciding when to generate references: search
MANDATORY IMAGE-FIRST RULEorWHEN TO TRIGGER. - Section-image strategy: search
CODEX-SPECIFIC SECTION IMAGEorSECTION IMAGE GENERATION. - Visual analysis: search
DEEP IMAGE ANALYSIS REQUIREMENT. - Hero, responsive first view, and box reduction: search the corresponding heading.
- Extracting text, type, spacing, components, and color: search
EXTRACTION RULE. - Fidelity and missing details: search
ANTI-DRIFTorMISSING DETAIL RESOLUTION. - Final verification: search
CLARITY CHECK.
Use rg -n "<heading>" references/full-guide.md; read the full guide only for a large, ambiguous reconstruction requiring the complete protocol.
Other versions83 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 83
- caorushizi/mediago★ 9.3ksame name
- openai/plugins★ 7.4ksame name
- plugin87/ux-ui-agent-skills★ 3.1ksame name
- hamzafarooq/claude-code-starter★ 145same name
- kresogalic8/unwatched★ 35same name
- jmxt3/gitscape.ai★ 33same name
- fathomise/MailFathom★ 20same name
- Krzysztof318/MailFathom★ 20same name
- ivanrvpereira/.agents★ 19same name
- rylsherdamz-rgb/stellar-forge★ 17same name
73 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use design-taste-frontend-v1.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
HK-hubSkilldesign-taste-frontend-v1
The original v1 taste-skill, preserved for projects depending on its exact behavior. The current default is `design-taste-frontend` (v2 experimental), which is a substantial rewrite. Use this v1 install name only if you need exact backward compatibility.
Also in 30 projects that use this
In this repository64 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/bro-skills.mdcCursor rule
- .agents/skills/llms.txtllms.txt
- brandkitSkill
- bro-mcp-loopSkill
- ci-security-scanning-with-strixSkill
- design-taste-frontendSkill
- fix-security-vulnerabilities-with-strixSkill
- full-output-enforcementSkill
- gpt-tasteSkill
- high-end-visual-designSkill
- imagegen-frontend-mobileSkill
- imagegen-frontend-webSkill
- industrial-brutalist-uiSkill
- managed-pentesting-with-strixSkill
- minimalist-uiSkill
- penetration-testing-with-strixSkill
- ponytailSkill
- redesign-existing-projectsSkill
- speckit.ai-engineerSkill
- speckit.analyzeSkill
- speckit.architectureSkill
- speckit.backendSkill
- speckit.backlogSkill
- speckit.checkerSkill
- speckit.checklistSkill
- speckit.clarifySkill
- speckit.constitutionSkill
- speckit.contentSkill
- speckit.databaseSkill
- speckit.dddSkill
- speckit.debugSkill
- speckit.devopsSkill
- speckit.diffSkill
- speckit.event-realtimeSkill
- speckit.frontendSkill
- speckit.game-embeddedSkill
- speckit.game-native-jsSkill
- speckit.geoSkill
- speckit.identity-accessSkill
- speckit.identitySkill
- speckit.implementSkill
- speckit.mapSkill
- speckit.migrateSkill
- speckit.payment-fintechSkill
- speckit.planSkill
- speckit.quizmeSkill
- speckit.reviewerSkill
- speckit.roadmapSkill
- speckit.securitySkill
- speckit.seoSkill
- speckit.specifySkill
- speckit.sre-observabilitySkill
- speckit.statusSkill
- speckit.tasksSkill
- speckit.taskstoissuesSkill
- speckit.testerSkill
- speckit.uatSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

