Aller au contenu
Skillpedia
Prompts et LLM7.2k · #13336

html-to-interaction-prompts

Ce qu’il fait

Cette compétence lit une page HTML ou une référence en direct et rédige des consignes qui décrivent ses interactions et animations principales. Elle s'adresse aux rédacteurs et aux créateurs qui veulent expliquer le comportement d'une page.

Quand l’utiliser

  • ✓Quand vous avez un fichier HTML et voulez que ses animations soient décrites sous forme de consignes.
  • ✓Quand vous voulez joindre une capture d'écran à chaque interaction dans un article.
  • ✓Quand vous voulez transformer le comportement d'une page web en instructions réutilisables.

Lien du skill

https://github.com/MengTo/Skills/blob/main/agent-skills/codex/html-to-interaction-prompts/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/MengTo/Skills/blob/main/agent-skills/codex/html-to-interaction-prompts/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Transforme cette page HTML en un ensemble de consignes d'interaction, avec une capture d'écran pour chacune.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent repère les interactions importantes, réalise des captures d'écran correspondantes et rédige une consigne souple pour chacune. Il vérifie que l'article s'affiche correctement avant de terminer.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

HTML To Interaction Prompts

Goal

Turn an HTML reference into an article-ready prompt pack: identify the important interactions, capture the right visual evidence, write flexible prompts, insert screenshots under each prompt title, verify the article renders, and commit only the intended files.

Daily UI Inspiration Capture Contract

When this skill is used for a daily UI inspiration workflow:

  • Each daily inspiration article must contain exactly 5 inspirations, not 20.
  • Do not ship a screenshot gallery or append 20 shallow prompts.
  • Each of the 5 inspirations must include a representative local still image, an embedded local MP4 video, multiple local screenshots or motion frames, motion/interaction notes, source metadata, and one super detailed AI-builder prompt.
  • If the source is a Framer template or any other live website, record the actual landing page or preview URL while scrolling through the website itself. A marketplace cover image, thumbnail, screenshot pan, or static asset slideshow is not acceptable live-video evidence.
  • For Framer, inspect the marketplace detail page for Full Live Preview or the embedded previewUrl, save that URL as pageUrl, and record the MP4 from that page.
  • For live websites, save one full landing-page scroll screenshot as a single tall image. Then cut section-by-section screenshots from that exact full image so the article includes both the whole page and each section separately.
  • Section crops must be contiguous and pixel-complete relative to the full-page image. Do not miss pixels between sections, do not use arbitrary viewport screenshots as section substitutes, and only allow overlap when sticky elements make it unavoidable.
  • Include as many section crops as the page has meaningful sections. At minimum include the hero, each major middle section in page order, and the footer. Use purpose-based labels when possible, such as proof, features, process, gallery, pricing, faq, or final-cta; otherwise use ordered labels like section-02.
  • In content.md, match the established daily capture article structure from recent examples. Use ### Full-Page And Section Evidence, render the full-page screenshot as a normal Markdown image, then use #### Section Crops and render each crop as a normal Markdown image in top-to-bottom order. Do not rename this block to Local Evidence, do not use text links, filename lists, Markdown tables, raw HTML grids, or crop-coordinate captions for this block.
  • Do not put crop-coordinate captions under screenshots in content.md; keep crop coordinate details in manifest.json.
  • Extract multiple motion frames from the live website video. The frames should show real page states across scroll, not repeated crops of the same cover image.
  • If live capture is blocked, prefer replacing the candidate with another live website. Only create a local fallback video from still evidence when replacement is impossible or the source is image-only, and state the fallback reason in content.md and manifest.json.
  • The prompt for each inspiration should be long enough to paste into an AI builder directly. It should include reference boundaries, anti-patterns, core idea, design system, layout rules, motion system, section-by-section anatomy, conversion/footer, responsive behavior, accessibility, performance, and reduced-motion guidance.
  • Each prompt must describe the landing page section by section. Cover the global shell, header/navigation, hero, proof strip, feature/service modules, product/demo/media section, process/how-it-works, gallery/case-study/work section when present, testimonials/social proof, pricing/package/comparison when present, FAQ, final CTA, footer, and mobile behavior.
  • For every major section, specify the purpose, layout anatomy, visual details, animation, interaction states, scroll behavior, recommended implementation library/API, and reduced-motion fallback.
  • For Framer/live websites, each prompt must include a Live-site evidence note explaining that the still, MP4, and frames were captured from the actual pageUrl, not from a cover image.
  • The manifest must have itemCount: 5 and exactly 5 items.
  • Keep all media inside articles/YYYY-MM-DD-ui-inspiration-capture/.

Workflow

  1. Inspect the real source first.
    • Read the HTML, CSS, and scripts. Search for interaction terms such as mousemove, pointermove, canvas, webgl, ScrollTrigger, requestAnimationFrame, hover, sticky, pin
Questions fréquentes

Quel type d'entrée faut-il ?

Un fichier HTML, une page exportée ou une page en direct qui peut être ouverte.

Inclut-elle des captures d'écran ?

Oui. Elle réalise des captures d'écran et les place sous le titre de chaque consigne.

Fait-elle des commits de fichiers à ma place ?

La compétence indique de ne valider que les fichiers prévus, afin de laisser de côté les modifications sans rapport.

Détails

Description originale de l’auteur

Convert a supplied HTML page or generated HTML reference into a screenshot-backed article containing multiple reusable interaction prompts. Use when the user provides an HTML file, exported page, generated-page.html, or local/live reference and asks to extract animation/interactions, create prompts, capture screenshots for each prompt, add them to an article, or commit the resulting article/assets.

repo: MengTo/Skills

Popularité

Étoiles GitHub
7.2k
Position au classement
#13336
Licence
MIT
Mis à jour
01/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires