scroll-craft

Builds scroll-driven landing pages with scrubbed video, layered heroes, and verified motion states.

Updated Sep 6, 2026
One-click install
npx skills add https://github.com/AbuBakar125-co/Resturant_web --skill scroll-craft-abubakar125-co
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scroll-craft
Source: https://github.com/AbuBakar125-co/Resturant_web/tree/main/.agents/skills/scroll-craft
Command: npx skills add https://github.com/AbuBakar125-co/Resturant_web --skill scroll-craft-abubakar125-co

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright-core, and includes scripts (resource) and references (resource) components.

What problem does it solve? Scroll-driven landing pages built from generic templates all look identical and fail in ways static screenshots never reveal: frozen video clips on real phones, dead scroll regions, unreadable text over media, and pages that feel like documents instead of experiences. This Skill provides a complete workflow for planning, generating, building, and verifying premium scroll experiences that hold up at every scroll position. ## Core Features & Use Cases - Structured creative process: An eight-question interview produces a brief, a customer journey, a feeling curve with one engineered peak, and a bespoke signature move, enforced by a fingerprint registry that prevents repeating prior page structures. - Asset generation and encoding pipeline: Generates photoreal stills and camera-move clips through kie.ai, then encodes them with dense keyframes via ffmpeg so video scrubs smoothly under the scroll wheel, with portrait variants and poster frames for mobile. - Scroll engine and device kit: A shared JavaScript/CSS engine drives scrub, pin, reveal, pan, parallax, counter, and worldflight modes from declarative data attributes on real semantic HTML. - Headless visual verification: A Playwright-based harness walks every act at multiple scroll positions, detects dead scroll and frozen clips, measures contrast on composited frames, and produces contact sheets for desktop, mobile, and reduced-motion states. - Use Case: A coffee brand needs an Apple-style product page where scrolling moves the camera toward the can, counters tick up on entry, and the page resolves into a preorder call to action, verified frame by frame on desktop and phone. ## Quick Start Ask the AI to use the scroll-craft skill to design and build a premium scroll-driven landing page for your brand, starting with the creative brief interview.

Frequently Asked Questions about scroll-craft

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a scroll-driven landing page with scrubbed video?

Write semantic HTML with data-sc attributes that the scrollcraft engine reads to drive video currentTime from scroll position. Encode clips with a dense GOP using the included encode.sh script so seeking stays responsive, and verify every scroll position with the shoot.mjs harness.

How do I generate images and video clips for a landing page with kie.ai?

Use the kie.mjs script to create stills with seedream and camera-move clips with kling, reusing one style preamble verbatim in every prompt for visual consistency. A still costs about 28 credits and a 5-second clip about 160 credits at published rates.

Why does my scroll-scrubbed video stutter or seek slowly?

Standard web encodes place keyframes seconds apart, so seeking forces the decoder to walk forward from the last keyframe. Re-encode with a dense GOP (8 frames desktop, 4 mobile) using encode.sh, which also strips audio and adds faststart.

Why is my scroll animation frozen on a real iPhone but fine in headless tests?

Headless Chrome cannot reproduce iOS autoplay policy, Low Power Mode, or the mobile video decoder. Deploy the included device-diag.html beside the site and open it on the device to get a MOVING or FROZEN verdict per clip and isolate the failing layer.

Can I build a scroll page from my own photos and footage without AI generation?

Yes, supplied assets are a first-class route requiring no API key or spend. Grade flat footage with ffmpeg level expansion, trim anything entering frame, target 24-30fps, then run the standard dense-GOP encode before wiring it into the page.

What makes a scroll website look generic instead of premium?

Common tells are clay-diorama worlds, scroll-cue arrows, section counters, one device repeated across all sections, and full-frame dark overlays. The skill counters these with eight page grammars, a fingerprint gate requiring structural difference from prior builds, and one bespoke signature interaction per site.