html-to-interaction-prompts
できること
このスキルは、HTML のページやライブの参考を読み、主要な操作とアニメーションを説明するプロンプトを書きます。ページの動きを説明したい執筆者や作り手向けです。
使う場面
- ✓HTML ファイルがあり、そのアニメーションをプロンプトとして説明したいとき。
- ✓記事で、操作ごとにスクリーンショットを添えたいとき。
- ✓Web ページの動きを、再利用できる指示に変えたいとき。
スキルのリンク
https://github.com/MengTo/Skills/blob/main/agent-skills/codex/html-to-interaction-prompts/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この HTML のページを、操作ごとにスクリーンショットを添えた、操作のプロンプトの一式にしてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、重要な操作を見つけ、対応するスクリーンショットを撮り、それぞれに柔軟なプロンプトを書きます。終える前に、記事が正しく表示されるかを確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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 Previewor the embeddedpreviewUrl, save that URL aspageUrl, 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, orfinal-cta; otherwise use ordered labels likesection-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 Cropsand render each crop as a normal Markdown image in top-to-bottom order. Do not rename this block toLocal 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 inmanifest.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.mdandmanifest.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 evidencenote explaining that the still, MP4, and frames were captured from the actualpageUrl, not from a cover image. - The manifest must have
itemCount: 5and exactly 5items. - Keep all media inside
articles/YYYY-MM-DD-ui-inspiration-capture/.
Workflow
- 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
- Read the HTML, CSS, and scripts. Search for interaction terms such as
よくある質問
どのような入力が必要ですか?
HTML ファイル、書き出されたページ、または開ける、ライブのページです。
スクリーンショットは含まれますか?
はい。スクリーンショットを撮り、各プロンプトのタイトルの下に配置します。
エージェントはファイルを自動でコミットしますか?
意図したファイルだけをコミットするよう、スキルは述べています。関係のない変更は残します。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 7.2k
- ランキング
- #13336
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
3d-cloth-material
7.2kThree.js で、糸の織り、柔らかい光沢、自然な襞、裾、縫い目を持つ、本物の織物らしい布を作るようエージェントを支援します。
3d-falling-leaves
7.2k3D のシーンに、回転し、風に流され、カメラの動きに合わせて再利用される、本物らしい落ち葉を加えるようエージェントを支援します。
3d-four-seasons
7.2k3D のシーンに、春、夏、秋、冬の見た目を加え、シーン全体を作り直さずに、茂み、光、空、雪を変えるようエージェントを支援します。
3d-high-poly-models
7.2k滑らかな形と自然な縁をもつ、詳細な3Dモデルを作り、その後、Web で快適に動く軽いバージョンを準備するようエージェントを支援します。
似ているスキル
writing-skills
311k新しいスキルを書き、それぞれをまず試すようエージェントに教えます。そのスキルが実際にエージェントの動作を変えることを確認します。
writing-for-agents
310kスキル、AGENTS.md、CLAUDE.mdを含め、AIエージェントのための明確な指示の書き方を説明し、エージェントが予測可能に動くようにします。
bengali-nlp
280kエージェントがベンガル語のテキストを処理できるようにします。テキストの正規化など、ベンガル語特有の性質に対応しながら、言語を理解して扱えるようにします。