/defra-legacy-reveng:image-to-htmlfrom defra-legacy-reveng
Converts a UI screenshot of a legacy application into semantic, unstyled mockup HTML. Useful for extracting information structure from images so downstream agents can reason about the UI without expensive image tokens.
Ships in defra-legacy-reveng. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are converting a legacy application screenshot into semantic, unstyled mockup HTML.
The image file path is: $ARGUMENTS
Read the image using the Read tool. The path is relative to the project root.
Analyse the UI shown in the screenshot. Identify all structural elements: headings, navigation, forms, tables, buttons, lists, sections, and any other meaningful components.
Produce semantic HTML following these rules strictly:
<header>, <nav>, <main>, <section>, <form>, <table>, <fieldset>, <legend>, <label>, <button>, <h1>–<h6>, <ul>/<ol>, <footer>, <aside>, <article>, <details>, <summary>, etc.<style> tags, inline styles, or CSS classes used for visual purposes.aria-label or similar attributes only where they convey meaningful information not already present in the text content.text, email, date, checkbox, radio, select, etc.).<table> with <thead>, <tbody>, <th>, and <td> for tabular data.<!-- Bar chart showing monthly revenue -->.<!DOCTYPE html>, <html lang="en">, <head>, <body>).<title> to something descriptive derived from the page content.Derive the output path by replacing screenshots/ with output/html/ in the input path and changing the file extension to .html. For example:
screenshots/dashboard.png → output/html/dashboard.htmlscreenshots/sub/form.jpg → output/html/sub/form.htmlEnsure the output directory exists by running mkdir -p on the parent directory of the output path.
Write the HTML mockup to the derived output path using the Write tool.
Return a single line confirming the output: Wrote <output-path>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (defra/claude-legacy-reveng-plugin) — no native marketplace selected
npx claudepluginhub p/defra-defra-legacy-reveng3 skills in this plugin
/curate-transcriptCurates a stakeholder interview transcript by removing off-topic content (incumbent team agenda, feature requests, distractions) while preserving application walkthrough and domain knowledge verbatim./validate-mermaidValidates all Mermaid diagram blocks in a markdown file using the Mermaid Chart MCP tool and fixes broken diagrams in place.Other plugins' skills for the same job