Agent skill Web motion
Scroll Craft
Compose layered heroes and scroll-driven stories with dedicated layouts for desktop and mobile.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/nateherkai/scroll-craft/tree/main/plugins/nateherk-design/skills/scroll-craft --skill scroll-craft --agent claude-code --yesCheck this file in your project.claude/skills/scroll-craft/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/nateherkai/scroll-craft/tree/main/plugins/nateherk-design/skills/scroll-craft --skill scroll-craftSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring an approved brand brief and photos or footage. The verification scripts need Node.js, playwright-core in the build folder, installed Chrome, and full FFmpeg for the contact sheet.
View operation manualWhat this skill helps with
- Compose layered heroes and scroll-driven stories with dedicated layouts for desktop and mobile.
Good for
- Scroll-driven storytelling
- Publisher
- Nate Herk’s Scroll Craft, with an engine, references, template, and scripts.
- Planning inputs
- Audience, proof assets, primary conversion action, and the business story visitors should follow.
- Page structure
- A visitor journey, one peak, a scroll score, and semantic sections enhanced by the engine.
- Verification
- Contact sheets and reports at desktop, phone width, and reduced motion, plus a real-device check for scrub behavior.
- Skill name
scroll-craft- Repository
nateherkai/scroll-craft
Let the visitor’s next question shape the scroll
One effect repeated
Pin every section and animate the whole page like a single video.
Every section then moves the same way, and the animation may obscure the proof and the main action.
A page with a clear peak
- Name the questions visitors have and where the page answers them.
- Use distinct motion families to support different sections.
- Keep the page legible in a still state and measure the scroll between sections.
Scroll Craft operation manual
Plan a launch page from real brand assets, build it with the bundled engine, and diagnose a clip that freezes on a phone.
Take one product from the opening promise through proof and a clear next action.
Write the visitor journey and scroll score
Run preflight before planning and find the actual workspace and registry. Use the visitor’s questions to decide which sections earn motion.
Prompt · Step 1Use the installed scroll-craft Skill to plan a product launch page from my approved photos and footage. Identify the audience, the primary action and its destination, and the strongest piece of evidence. Run the installed doctor.mjs without --probe, then use workspace.mjs --ensure to resolve the workspace and fingerprint registry. Report required failures and continue with supplied assets without paid generation. Read references/uniqueness.md, devices.md and feel.md. Specify the grammar, section order, what each section should make the visitor feel, and the one peak. List at least four suitable device families with no adjacent repeats and at most two scrub acts, following the chosen grammar’s rules. Check the planned page against each existing registry row as the Skill describes. Cover the phone composition and reduced-motion fallback. Return the brief and score for review before implementing.node "/absolute/path/to/scroll-craft/scripts/doctor.mjs" node "/absolute/path/to/scroll-craft/scripts/workspace.mjs" --ensureBuild semantic sections around the supplied assets
Use the template’s integration and copy the engine unchanged, then implement the product’s own copy and layout.
Prompt · Step 2Use scroll-craft to implement the approved launch page in the resolved build directory. Read references/template.html and copy engine/scrollcraft.css and engine/scrollcraft.js into the build as shipped. Use real headings, paragraphs, and a primary link with its agreed destination. Theme the page with the template tokens, add the data-sc attributes the selected devices need, and mount ScrollCraft on the page once after its markup and engine are available. Use phone-specific composition and approved footage where available, with meaningful stills and a readable reduced-motion state. Check the fingerprint entry before committing the design. Return the build path and local preview instructions.Capture the page across its scroll range
Run the first command in a dedicated terminal for the build folder. Run the remaining commands from the same build folder in another terminal.
- Desktop, small viewport, and reduced motion have separate evidence.
- Intermediate frames retain readable copy and show the intended changes.
- The last action is usable with pointer and keyboard.
Prompt · Step 3Use scroll-craft’s installed serve.mjs and shoot.mjs to verify the final build. From the folder with the built index.html, use playwright-core installed there and the locally installed Chrome. Replace the placeholder paths and use a free port consistently in the serving and capture commands. Serve over HTTP on loopback. Capture desktop, 390×844, and reduced-motion runs into separate output directories. Read each sheet.png and report.json. Inspect the intermediate frames, cue legibility, clip advancement if clips are used, and whether the visitor can reach the last action. Tab through the real controls and test the primary destination. Stop the server when finished and report fix, recapture, and any phone-hardware check still pending.node "/absolute/path/to/scroll-craft/scripts/serve.mjs" --root . --port 4500 node "/absolute/path/to/scroll-craft/scripts/shoot.mjs" --url http://127.0.0.1:4500 --out ../scrollcraft-evidence/desktop node "/absolute/path/to/scroll-craft/scripts/shoot.mjs" --url http://127.0.0.1:4500 --out ../scrollcraft-evidence/mobile --width 390 --height 844 node "/absolute/path/to/scroll-craft/scripts/shoot.mjs" --url http://127.0.0.1:4500 --out ../scrollcraft-evidence/reduced --reduced-motion
Find the relevant Scroll Craft reference
Specify where the page loses its pacing, which effect fails, or which viewport makes copy hard to read.
Several sections feel identicalStructure
- Command or reference
references/uniqueness.md and references/devices.md- Examples
- Revisit the grammar and device families before changing the footage or colors.
The capture waits for html.sc-readySetup
- Command or reference
references/template.html and ScrollCraft.mount()- Examples
- Check that the served page loads the script, mounts on populated markup, and adds the ready class.
Desktop moves but the actual phone freezesMedia
- Command or reference
references/verify.md and references/device-diag.html- Examples
- Compare the actual phone clip through blob, direct source, and a known-good case.
Scroll Craft troubleshooting
Do I need Kie AI to build with my own footage?
The supplied-media workflow uses your photos and clips without a Kie key. The optional credential is used for asset generation.
Why does shoot.mjs fail to find Playwright?
It resolves playwright-core from the working build folder. Run it there, use the installed Chrome binary, and set SCROLLCRAFT_CHROME only when its location is outside the script’s known paths.
Why open the build over HTTP?
The engine fetches its media over HTTP and may fall back to posters when loaded from file URLs. Use serve.mjs on loopback for the captures and check actual clip playback where the page uses it.