html-to-interaction-prompts
Skill này làm gì
Skill này đọc một trang HTML hoặc một tham chiếu trực tiếp và viết các prompt mô tả những tương tác và hoạt ảnh chính của nó. Nó dành cho người viết và người làm sản phẩm muốn giải thích cách một trang hoạt động.
Khi nào nên dùng
- ✓Khi bạn có một file HTML và muốn mô tả các hoạt ảnh của nó bằng prompt.
- ✓Khi bạn muốn đính kèm ảnh chụp màn hình cho mỗi tương tác trong một bài viết.
- ✓Khi bạn muốn biến hành vi của một trang web thành hướng dẫn có thể tái sử dụng.
Liên kết skill
https://github.com/MengTo/Skills/blob/main/agent-skills/codex/html-to-interaction-prompts/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Biến trang HTML này thành một bộ prompt tương tác, kèm ảnh chụp màn hình cho mỗi prompt.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent tìm các tương tác quan trọng, chụp ảnh màn hình tương ứng, rồi viết một prompt linh hoạt cho mỗi cái. Nó kiểm tra bài viết hiển thị đúng trước khi hoàn thành.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó cần loại đầu vào nào?
Một file HTML, một trang đã xuất ra, hoặc một trang trực tiếp có thể mở.
Có bao gồm ảnh chụp màn hình không?
Có. Nó chụp ảnh màn hình và đặt chúng dưới tiêu đề mỗi prompt.
Nó có tự commit file cho tôi không?
Skill nói chỉ commit các file dự định, để các thay đổi không liên quan được giữ nguyên.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 7.2k
- Vị trí xếp hạng
- #13336
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
3d-cloth-material
7.2kGiúp agent của bạn tạo vải dệt 3D trông thật trong Three.js, với sợi dệt, ánh bóng nhẹ, nếp gấp tự nhiên, viền gấu và đường may.
3d-falling-leaves
7.2kGiúp agent của bạn thêm lá rơi chân thực vào cảnh 3D, với lá xoay tròn, trôi theo gió và được tái sử dụng khi máy quay di chuyển.
3d-four-seasons
7.2kGiúp agent của bạn thêm diện mạo xuân, hạ, thu, đông vào cảnh 3D, thay đổi cây cối, ánh sáng, bầu trời và tuyết mà không cần dựng lại cảnh.
3d-high-poly-models
7.2kGiúp agent của bạn dựng mô hình 3D chi tiết với hình dạng mượt và cạnh trông thật, rồi tạo các phiên bản nhẹ hơn chạy tốt trên web.
Skill tương tự
writing-skills
311kDạy agent của bạn viết skill mới và kiểm thử từng skill trước, kiểm tra xem skill có thực sự thay đổi cách agent hành xử hay không.
writing-for-agents
310kGiải thích cách viết hướng dẫn rõ ràng cho agent AI, gồm skill, tệp AGENTS.md và CLAUDE.md, để agent cư xử nhất quán.
bengali-nlp
280kGiúp agent của bạn xử lý văn bản tiếng Bengali, hỗ trợ hiểu ngôn ngữ này, chuẩn hóa văn bản và xử lý các đặc điểm riêng của nó.