本文へ移動
cccskills
無料GitHub で公開

video-to-superprompt

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.

インストール方法を見る

含まれるファイル(8)

  • SKILL.md5.4 KB
  • agents/openai.yaml340 B
  • demo/expected-output.md222 B
  • demo/index.html3.8 KB
  • demo/input.md180 B
  • demo/preview.jpg77.5 KB
  • demo/PROMPT.md2.1 KB
  • references/superprompt-template.md2.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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

  1. 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.
  2. Inspect the video technically.

    • For local files, run ffprobe for 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.
  3. 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.
  4. 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.
  5. Write the superprompt.

    • Use a single fenced text block 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.
  6. 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.md plus 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 timeline, video.currentTime, parallax layer, opacity reveal, transform, mask, shader, particle field, hover state, or carousel physics.
  • It should include mobile behavior and reduced-motion behavior every time.
  • It should call out what to avoid, especially generic landing-page sections, decorative blobs, mismatched stock media, autoplay-only video when scroll-scrubbing is required, and text overlap.

References

  • Read references/superprompt-template.md when writing the final prompt from scratch or when the user asks for the “full detailed prompt.”

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Build convincing woven cloth in Three.js, with a thread-level weave normal map, sheen and anisotropic highlights, folds that never stretch the texture, hems with thickness, stitches, seams, frayed edges, fold occlusion, dye and wear variation, and light passing through thin fabric. Use for linen, silk, wool, canvas, curtains, banners, cloaks, tablecloths, tapestries or any 3D drape that currently looks like a plastic sheet, a stretched texture, or a flat coloured plane.

日本語の概要は準備中です。原文の説明を表示しています。

MengTo/Skills6,7372026年10月6日 更新

Build recognizable falling leaves in world space using instanced geometry, independent tumble, coupled sideways drift, shared wind, scene occlusion, and camera-aware recycling. Use for 3D autumn leaves or drifting foliage in Three.js and similar scenes; use falling-leaves for a 2D canvas overlay.

日本語の概要は準備中です。原文の説明を表示しています。

MengTo/Skills6,7372026年10月6日 更新

Add coordinated spring, summer, fall, and winter states to a 3D scene, blending foliage, sunlight, sky, ground materials, snow, and particles without rebuilding the world. Use for seasonal controls, architectural walkthroughs, and outdoor scenes with four-season transitions.

日本語の概要は準備中です。原文の説明を表示しています。

MengTo/Skills6,7372026年10月6日 更新

Create or integrate highly detailed 3D models with smooth silhouettes, shaped surfaces, believable bevels, and close-up geometry, then prepare suitable runtime LODs and loading. Use when a user requests high polygon counts, ultra-realistic models, detailed architectural assets, or removal of visibly faceted geometry.

日本語の概要は準備中です。原文の説明を表示しています。

MengTo/Skills6,7372026年10月6日 更新

Build sharp, physically coherent high-resolution materials for 3D rendering with appropriate PBR maps, texel density, UV direction, mipmaps, anisotropic filtering, and progressive asset delivery. Use for detailed wood, stone, fabric, foliage, and architectural close-ups without excessive download or GPU memory costs.

日本語の概要は準備中です。原文の説明を表示しています。

MengTo/Skills6,7372026年10月6日 更新

Build hyperrealistic PBR metal in Three.js: steel, brass, gold, copper and iron as true conductors (metalness 1, measured F0 tint, no albedo) with roughness-varied finishes (polished, brushed anisotropic, aged with patina and worn edges) lit by a dark HDR studio of real bright window cards prefiltered with PMREM. Use when metal looks like grey plastic, a dull blur, or a black hole; when blades, tools, rings, ingots, hardware or product metal need reflections with edges and structure; or when a finish needs scratches, streaks, fingerprints and bevels that catch light.

日本語の概要は準備中です。原文の説明を表示しています。

MengTo/Skills6,7372026年10月6日 更新

MengTo のスキルをすべて見る

このスキルの問題を報告する