Communitygithub.com

cinematic-web-kit

Build cinematic, scroll-driven websites, where the picture moves with the scroll, headlines are big serif type, and the cursor and 3D give the page a physical feel. Use when a site feels flat, static or template-like, when asked for scroll-scrub video, scrollytelling, parallax, immersive hero, "make it feel premium", or when redesigning any site's visuals and motion. Includes standards, an asset pipeline from AI keyframes to scrubbed video, ready-made zero-dependency interaction modules, a performance budget, anti-patterns, and a blind-review quality gate.

cinematic-web-kit とは?

cinematic-web-kit is a Cursor agent skill that build cinematic, scroll-driven websites, where the picture moves with the scroll, headlines are big serif type, and the cursor and 3D give the page a physical feel. Use when a site feels flat, static or template-like, when asked for scroll-scrub video, scrollytelling, parallax, immersive hero, "make it feel premium", or when redesigning any site's visuals and motion. Includes standards, an asset pipeline from AI keyframes to scrubbed video, ready-made zero-dependency interaction modules, a performance budget, anti-patterns, and a blind-review quality gate.

対応~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/Tommyapi/cinematic-web-kit/tree/HEAD/skill/cinematic-web-kit

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Cinematic web kit

Standards and tooling for sites that feel like film: scroll controls a camera, type is large and deliberate, and the cursor can touch things. Read this file first, then the reference you need.

NeedRead
Layout recipe, type, colour, what "cinematic" meansreferences/design-standards.md
Making the hero footage (keyframe, image-to-video, scrub encode)references/asset-pipeline.md
Which interaction to use and how to wire itreferences/interactions.md
Motion checklist for whole-site coveragereferences/motion-checklist.md
Budgets, Lighthouse, loading rulesreferences/performance-budget.md
Things that make a site look cheapreferences/anti-patterns.md
How to judge the result honestlyreferences/blind-review-gate.md

The repository this skill ships in also contains the modules (src/), a runnable demo/, and tools (tools/capture_steps.py, tools/make_frames.sh). Copy only the module files you need.

The recipe

  1. Hero is a scroll-driven shot. Full-bleed image sequence or video, big serif headline, one subline, one primary call to action, minimal navigation. Two to four screens of scroll move the camera (push in, dive, pass through, pull apart a product). Text appears in about three timed beats, each beat one true claim. Module: scroll-scrub.
  2. One more scroll story if there is enough content: product exploded into layers, a pass-through to the next scene, data as light. Module: zoom-pullback or a second scroll-scrub.
  3. Everything else gets restrained micro-motion: headlines revealed line by line, images revealed by clip-path, counters (real numbers only), marquee, magnetic buttons, hover image follow. Never the same entrance on every block.
  4. At least one cursor moment per site, chosen from what the site sells: glass-tilt, fan-deck, cursor-swarm, arc-carousel. Do not stack all of them on one page: at most two active effects per screen.
  5. Type: a serif or characterful display face for headlines (for example Instrument Serif, Fraunces, Cormorant Garamond), tight tracking (about -0.02em) and line-height near 1.1; body 1.6 to 1.75. No grey gradient headlines, no all-grey pages.
  6. Colour comes from the picture: pick one accent from the hero image plus neutrals.

Coverage is the whole site

List every page template. Each template gets the same motion system: the home page scrubs video, inner pages use the same world with a full-bleed hero (parallax, push, mask reveal, or a short scrub of a shared clip). Templates that repeat (products, models, articles) share template-level assets and fill them with real page data. If the site is generated, change the template source and regenerate everything. Cross-document View Transitions make the page-to-page jumps feel continuous.

Real beats generated

Order of preference for the main visual: (1) real product footage, screen recordings, photographs, measured data; (2) real material processed (3D screen arrays, parallax layers, shader distortion); (3) generated imagery only as atmosphere or transition, never as the product or a person. A generated image of a product the customer actually ships will be spotted by the customer.

Using the modules

Each file in src/ is standalone (no dependency on the others, none on GSAP or Lenis). Load with a plain script tag, then call CWK.<name>(element, options).

<script src="src/scroll-scrub.js"></script>
<script>CWK.scrollScrub(document.querySelector('#hero'), { frames: { src: '/hero/f_{i}.webp', count: 120 }, length: 300 });</script>

GSAP ScrollTrigger and Lenis are optional enhancements: pass scrollTrigger: true or lenis: instance where supported. All modules honour prefers-reduced-motion (content stays complete, effects become static or instant) and have touch and keyboard equivalents. Details and the option tables are in references/interactions.md.

Done means

  • Performance budget met on a mobile profile (references/performance-budget.md).
  • Console clean at 390 and 1440 widths, no horizontal scroll at 390.
  • prefers-reduced-motion shows complete content.
  • New version compared with the old one by two blind fresh reviewers (references/blind-review-gate.md).
  • A report listing each technique used, where, and its fallback.

関連スキル