html-to-interaction-prompts

Convert HTML pages into screenshot-backed articles of reusable interaction prompts.

5.7k|685|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/MengTo/Skills --skill html-to-interaction-prompts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: html-to-interaction-prompts
Source: https://github.com/MengTo/Skills/tree/main/agent-skills/codex/html-to-interaction-prompts
Command: npx skills add https://github.com/MengTo/Skills --skill html-to-interaction-prompts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Turning an existing HTML page or live website into reusable, well-documented interaction prompts requires manually inspecting source code, capturing visual evidence, and writing structured prompts—a slow, error-prone process that this Skill automates end to end.

Core Features & Use Cases

  • Source-grounded prompt extraction: Reads the actual HTML, CSS, and scripts to identify interactions (mousemove, ScrollTrigger, WebGL, hover, parallax) and writes one portable prompt per interaction concept.
  • Evidence capture workflow: Captures screenshots, full-page scroll images, section crops, and MP4 scroll recordings from live sites, embedding them under each prompt in an article.
  • Daily UI inspiration articles: Produces dated articles with exactly 5 inspirations, each containing stills, video, motion frames, source metadata, and a detailed AI-builder prompt, plus a manifest.json.
  • Use Case: You have a generated-page.html from an AI builder and want a prompt pack. The Skill inspects the code, splits it into interactions like "magnetic CTA hover" and "masked word reveal", captures screenshots of each, and commits an article with prompts ready to paste into any AI builder.

Quick Start

Use the html-to-interaction-prompts skill to turn my generated-page.html into a screenshot-backed article of reusable interaction prompts.

Frequently Asked Questions about html-to-interaction-prompts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I turn an HTML page into reusable interaction prompts?

Provide the HTML file or live URL and the Skill inspects the source for interaction patterns like mousemove, ScrollTrigger, and hover states. It then writes one portable prompt per interaction concept, captures screenshots as evidence, and assembles everything into an article.

How to capture full-page screenshots and section crops of a live website?

The Skill records one tall full-page scroll screenshot from the actual page URL, then cuts contiguous section crops from that exact image. Crops cover the hero, every middle section, and the footer with no skipped pixel rows, and coordinates are stored in manifest.json.

Which animation libraries should interaction prompts recommend?

The Skill's guidance maps use cases to libraries: CSS transitions for simple hovers, IntersectionObserver for scroll reveals, Framer Motion for React state-driven motion, GSAP ScrollTrigger for pinned scrubbed timelines, and Three.js only for real 3D or shader scenes.

Can I use this with Framer templates or live websites?

Yes. For Framer, the Skill finds the Full Live Preview URL on the marketplace detail page and records an MP4 while scrolling the actual site. Cover images or static slideshows are not accepted as motion evidence; blocked captures trigger candidate replacement instead.

What are the requirements for a daily UI inspiration article?

Each article must contain exactly 5 inspirations, each with a local still image, an embedded MP4 video, multiple screenshots or motion frames, source metadata, and one detailed AI-builder prompt. The manifest must declare itemCount: 5 with matching items.

Why should prompts avoid hard-coded colors and sizes?

Hard-coded values make prompts usable only for one exact recreation. The Skill writes portable prompts that derive colors from the page theme and scale density to the layout, so they work across brands, breakpoints, and content models.