Index of every page on this site: llms.txt
All skills
chensir-indie avatar

/image-to-layered-html-prototype

@b6c2291
Run it yourself

Rebuild approved app images as editable HTML/CSS/SVG or repair their fidelity; also supports UI concepts, prompts, scoped design reviews and refinement, multi-page design systems and optional Flutter handoff.

Use this Skill: https://skilld.dev/gh/chensir-indie/app-dev-skills/image-to-layered-html-prototype

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referenceshtml-css-contract.md

≈572 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Editable implementation

Structure

Use CSS or independent UI-free decorative assets for backgrounds, CSS/SVG for backplates, images only for photos/subjects, DOM for text, and button/a elements for visible actions. Full-screen raster/Canvas, large UI slices and hidden text over screenshots are not valid substitutes.

Every delivered layer has a stable id / data-layer-id. Map text and controls to manifest selectors; images carry data-asset-role="subject|photo|decoration|logo". Do not hide a full reference image in a data URI or SVG image element. Full references belong only in a separate review.html, never in requests from index.html.

Typography and stacking

After freezing baseline coordinates, use absolute positioning, grid or flex as appropriate to reproduce measured values. Do not use unmeasured space-between distribution. Express stacking explicitly: background < decor < backplate < subject < content < navigation < dialog; this is not a requirement for fixed numeric z values. overflow, transform, filter and opacity affect stacking. Verify by hiding layers and inspecting intersections, rather than relying only on z-index values. Record regular corner radii individually. Measure turning points and curves for irregular SVG backplates instead of replacing them with large rounded rectangles. Specify actual font family/fallback, weight, size, pixel line height, tracking, color, alignment and wrapping; reset browser defaults on buttons and similar elements. Record each navigation item's own shape, icon/text direction and selected/unselected states. Do not assume equal widths or horizontal arrangement.

Interactions

Visible controls produce actual feedback: navigation changes visible content and aria-current, an add action updates a list/button state, and details can open and close. data-clicked attributes, console output or hidden aria-live text alone are insufficient. Label unavailable production behavior as a demo and do not write real user data.

Proof of editability

Change a heading in the browser and capture it; hide subject and backplate separately and capture each. With all photo/subject assets hidden, headings, backplates, navigation and buttons must remain. These are verification actions, not required toggles in the final UI.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts28d3 checks · Risk SAFE
  • Gen Agent Trust Hub28d

    This skill is a legitimate development tool for converting UI images into layered HTML. It uses browser automation and image analysis. The main security considerations are its inherent attack surface for indirect prompt injection (as it processes user-provided HTML and images) and its use of standard dynamic execution patterns for environment setup and browser interaction.

  • Socket28d

    No alerts

  • Snyk28d

    Risk: LOW · No issues

Signed by skilld at b6c2291. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated 4 weeks ago

README badge

README badge for chensir-indie/app-dev-skills/image-to-layered-html-prototype