video-to-superprompt
它能做什么
这个技能分析参考视频,并撰写一份提示词,让另一位开发者能够重现其外观、动画和版式。适合想要重建在视频中看到的页面或动态作品的设计师和开发者。
适用场景
- ✓你有一个页面、应用或交互的视频,并希望重新制作它的时候。
- ✓你想详细描述动画、转场和滚动行为的时候。
- ✓你想根据参考视频撰写提示词或文章的时候。
技能链接
https://github.com/MengTo/Skills/blob/main/agent-skills/codex/video-to-superprompt/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请分析这段落地页视频,并写一份可以重现其动画和版式的提示词。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会检查视频的时长和帧,审阅故事情节和板块,然后描述动效、颜色、字体和素材。结果是一份提示词,除非你要求的是文章、素材清单或实现方案。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Video To Superprompt
Goal
Convert any usable reference video into a builder-ready prompt that captures what the video shows, how it moves, how it should be rebuilt, and what assets or generated media are needed. The default output is one paste-ready prompt unless the user asks for an article, asset pack, or implementation.
Workflow
Locate the source video.
- Accept local paths, uploaded files, URLs, browser-visible videos, article assets, or repo media.
- If the video is referenced but inaccessible, ask for the exact file or URL before inventing details.
- If the user wants exact recreation, inspect any source HTML/CSS/JS or local page connected to the video before writing the prompt.
Inspect the video technically.
- For local files, run
ffprobefor duration, dimensions, frame rate, codec, and size. - Extract representative frames with
ffmpeg, favoring timeline beats over uniform thumbnails. - Suggested quick pass:
ffprobe -v error -show_entries format=duration,size:stream=width,height,r_frame_rate -of json "$VIDEO" mkdir -p /tmp/video-frames ffmpeg -y -i "$VIDEO" -vf fps=1 /tmp/video-frames/frame-%03d.jpg - For long or scroll-heavy videos, also extract start/middle/end and visible transition moments.
- For local files, run
Analyze in layers.
- Story: page/app purpose, emotional arc, section order, transition between beats.
- Screen/layout: viewport framing, grids, sticky zones, cards, media, overlays, margins, navigation, footer.
- Motion: reveal timing, easing, parallax, masks, pinned sections, scroll scrubbing, hover/tap states, looped ambient motion, camera moves.
- Visual design: typography, color palette, surfaces, borders, shadows, texture, iconography, image/video treatment.
- Technical rebuild: CSS/native APIs, IntersectionObserver, Web Animations API, GSAP ScrollTrigger, Lenis, Framer Motion/Motion One, Three.js/WebGL, canvas, video currentTime scrubbing, carousels, or other domain libraries.
- Accessibility/performance: reduced motion, mobile behavior, touch/keyboard states, lazy loading, video preload, pixel-ratio caps, static fallbacks.
Plan assets.
- Produce an asset map. Include exact URLs when supplied, local filenames when used, or placeholder names when assets still need generation.
- If AI assets are needed, create separate prompts for image plates, video clips, WebGL/canvas elements, posters, sprites, masks, and texture overlays.
- If user names specific models or APIs, preserve them exactly in the prompt and separate image prompts from video prompts.
Write the superprompt.
- Use a single fenced
textblock for the paste-ready prompt unless the user asks for another format. - Start with the final thing to build and the reference boundary: exact recreation vs inspired adaptation.
- Include: asset map, brand/content, global design language, layout rules, section-by-section anatomy, motion system, scroll system, video behavior, WebGL/Three.js behavior, responsive requirements, accessibility/performance, and anti-patterns.
- For every major section, specify purpose, layout, visual details, animation, interactions, scroll behavior, library/API choice, and reduced-motion fallback.
- Avoid vague phrases like “make it beautiful,” “similar animation,” or “nice transitions.” Convert taste into concrete build instructions.
- Use a single fenced
Verify before finalizing.
- Check that all asset paths/URLs in the prompt exist or are clearly marked as placeholders.
- If screenshots/frames were created, confirm files are non-empty and representative.
- If writing an article or repo artifact, obey local workspace instructions, keep dirty-worktree staging narrow, and commit when required.
Output Modes
- Prompt only: Give the paste-ready prompt and, when helpful, a short asset map above it.
- Article: Create
content.mdplus local frame/video evidence, manifest, and prompts. Follow the current repo article conventions. - Implementation brief: Add a build plan and QA checklist after the prompt.
- Asset-generation pack: Split prompts into background images, video clips, sprites/WebGL, posters, and final page prompt.
Quality Bar
- The prompt should be long enough to rebuild the interaction without seeing the original video.
- It should preserve the video’s sequence, pacing, and notable quirks.
- It should name exact motion mechanisms: pinned section, scrubbed timelin
常见问题
如果视频无法打开怎么办?
技能要求索取准确的文件或链接,而不是编造细节。
它需要源代码吗?
只有在要求完全复刻时才需要。这时,它会在撰写提示词之前检查已连接的页面代码。
输出总是一份提示词吗?
默认是。你也可以要求输出文章、素材包或实现方案。
详情
作者的原始描述
Turn a reference video into a super detailed recreation or inspiration prompt. Use when the user provides, mentions, uploads, links, or points to a video and asks to analyze the design, UI, animations, transitions, scroll interactions, typography, colors, assets, WebGL/Three.js, storytelling, section-by-section behavior, or to create a prompt/article that recreates the page, app, interaction, or motion system.
repo: MengTo/Skills
热度
- GitHub 星标
- 7.2k
- 排名
- #13343
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
3d-cloth-material
7.2k帮你的智能体在 Three.js 中制作逼真的编织织物,包括纱线编织纹理、柔和光泽、自然褶皱、下摆和缝线。
3d-falling-leaves
7.2k帮你的智能体在 3D 场景中添加逼真的飘落树叶,树叶会翻滚、随风飘动,并在镜头移动时循环利用。
3d-four-seasons
7.2k帮你的智能体为 3D 场景添加春夏秋冬四季效果,无需重建场景即可改变植被、光线、天空和积雪。
3d-high-poly-models
7.2k帮你的智能体构建形状平滑、边缘可信的精细 3D 模型,然后制作在网页上运行流畅的轻量版本。