/scroll-craft:build runs instead · from scroll-craft
Builds and verifies a premium scroll-driven landing page from a finished concept: bootstraps workspace, generates assets, writes HTML on the scrollcraft engine, screenshots every scroll position, runs feel check, and appends fingerprint row.
This skill never runs in Claude Code
It ships in scroll-craft at skills/, but /scroll-craft:build (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
The second half of scroll-craft. It starts from the two files the concept
skill wrote and ends with a verified page and a registry row.
Inputs: <workspace>/builds/<name>/BRIEF.md and CONCEPT.md. If either is
missing, stop and run the concept skill first; a page built without a
feeling curve, a grammar decision and a signature move is exactly the page
this plugin exists to avoid.
What you produce: generated or graded assets, one real HTML page on the
token-driven engine, a lab/ of contact sheets proving it holds at every
scroll position, a short report, and the build's fingerprint row.
Shared material lives in the scroll-craft skill next to this one:
../scroll-craft/references/,
../scroll-craft/engine/ and
../scroll-craft/scripts/. Step numbers below
continue from the concept skill, whose Steps 0 to 2 produced the inputs.
Environment, not a stage of the work. Do it first, before any asset is generated or any markup is written.
Run the preflight rather than checking by hand. It knows the failure modes that otherwise surface later as misleading errors, chiefly a stripped ffmpeg that reports a missing filter as a syntax error in your command:
node ${CLAUDE_PLUGIN_ROOT}/skills/scroll-craft/scripts/doctor.mjs
It reports node, a full ffmpeg build, playwright and Chrome, the API key, and the resolved workspace. Required failures exit non-zero. Say plainly which items are missing rather than working around them silently.
Builds and the fingerprint registry live in one directory, and it is resolved, never assumed:
node ${CLAUDE_PLUGIN_ROOT}/skills/scroll-craft/scripts/workspace.mjs --ensure # prints it, creates it, seeds the registry
Resolution order, first hit wins:
SCROLLCRAFT_HOME.scrollcraft.json walking up from the cwd, { "workspace": "..." }<project root>/scrollcraft, where the project root is the nearest ancestor
holding a .gitSo a build folder is <workspace>/builds/<name>/ and the registry is
<workspace>/FINGERPRINTS.md. The registry starts empty: the gate exists to
stop you repeating yourself, so your first build has nothing to clear.
If you already keep builds somewhere else, drop a .scrollcraft.json at your
project root pointing at it and nothing moves.
KIE_AI_API_KEY, only if you are generating assets. A build from the
user's own photos and footage needs no key and no spend, and that is a
first-class route, not a fallback. Confirm balance with
node ${CLAUDE_PLUGIN_ROOT}/skills/scroll-craft/scripts/kie.mjs probe. A still costs cents and a 5s clip costs
more; a six-act page with two clips is a small spend, not a large one.Copy ../scroll-craft/engine/scrollcraft.js and ../scroll-craft/engine/scrollcraft.css into the build folder.
Never edit the engine per-project; it is the mechanism. Theme it with tokens and
write your own markup.
Full pipeline, prompt scaffolds and model notes: references/assets.md.
Short version:
node ${CLAUDE_PLUGIN_ROOT}/skills/scroll-craft/scripts/kie.mjs still "<style preamble>\n\n<scene>" out/01-hero.png --ar 16:9 [--ref brand-can.png]
node ${CLAUDE_PLUGIN_ROOT}/skills/scroll-craft/scripts/kie.mjs shot "<camera move>" out/01-hero.png out/01.mp4 --dur 5
bash ${CLAUDE_PLUGIN_ROOT}/skills/scroll-craft/scripts/encode.sh out/01.mp4 assets/01.mp4
bash ${CLAUDE_PLUGIN_ROOT}/skills/scroll-craft/scripts/encode.sh out/01.mp4 assets/01-m.mp4 mobile
Four things that decide whether this looks premium or generated:
encode.sh sets a dense GOP because
seeking walks from the previous keyframe. A normal web encode plays perfectly
and scrubs like mud.parallax in
references/devices.md.Write real HTML. Real <h1>, real <p>, real links, real reading order. The
engine reads data-sc-* attributes off your markup and drives it; it never
generates DOM. A runtime that builds the page from a config object is exactly
why every site built on one looks the same.
Start from ../scroll-craft/references/template.html. The device patterns are in
references/devices.md; the spacing, type, depth and
colour rules are in references/taste.md. Read taste.md
before writing markup, not after, and build without announcing the checklist.
Theme by overriding tokens, six values and two fonts:
:root {
--sc-canvas: #0A0806; --sc-surface: #16110E;
--sc-ink: #F5EBDD; --sc-ink-soft: #A2968A;
--sc-accent: #FF5A3D; --sc-accent-ink: #15110F;
--sc-font-display: "Archivo", system-ui, sans-serif;
--sc-font-text: "Geist", system-ui, sans-serif;
}
Apply the final-source and deployment checks in approved-collection.md §7. Use safe headless automation with native pointer lock/capture disabled in every context. Inspect actual pixels, phone compositions, and intermediate states; test useful controls, downloads, and form outcomes in the final package.
Not optional, and not "it should work." A scroll page has no single state: every position is a different frame, and the failures live between the two you happened to look at. Full procedure: references/verify.md.
cd <build project> && npm i playwright-core # once
node ${CLAUDE_PLUGIN_ROOT}/skills/scroll-craft/scripts/serve.mjs --root . --port 4500 &
node ${CLAUDE_PLUGIN_ROOT}/skills/scroll-craft/scripts/shoot.mjs --url http://localhost:4500 --out lab/shots
node ${CLAUDE_PLUGIN_ROOT}/skills/scroll-craft/scripts/shoot.mjs --url http://localhost:4500 --out lab/mobile --width 390 --height 844
node ${CLAUDE_PLUGIN_ROOT}/skills/scroll-craft/scripts/shoot.mjs --url http://localhost:4500 --out lab/reduced --reduced-motion
The harness walks each act at six positions, waits for the scrub video to actually settle, and reports dead scroll, cues that never reach full opacity, and contrast measured on the composited page at the brightest frame under each line. It writes a contact sheet.
Then do the part the harness cannot: read sheet.png. It proves a clip
advances; it cannot tell you the composition is good, the motion is smooth, or
the page means anything. Also tab through for focus order.
Then run the feel check (references/feel.md §6). Scroll the page cold, write one word per act for what you felt, and only then open BRIEF.md and diff it against the intended curve. Where they disagree the page is wrong, not the brief. Confirm on the sheet that the peak is the largest visual change and holds the most scroll room, and that the last screen resolves instead of fading to nothing.
And say what a green run does not cover: a real phone. Headless Chrome
cannot reproduce an iPhone's video decoder, autoplay policy, Low Power Mode,
or touch scrolling; a build once shipped four green rounds while the hero clip
sat frozen on the actual device. Mobile is a first-class target throughout,
not a pass at the end: portrait phone clips, touch-tuned lerp, grown tap
targets are all authored (see assets.md and verify.md). When any mobile defect
is reported, deploy ../scroll-craft/references/device-diag.html beside the site on the
first round and let the device answer, rather than theorising from a
machine that cannot reproduce the failure. The full iOS clip-lifecycle notes
live in verify.md, "The phone is a different machine".
Fix what you found and shoot it again. Report what you actually verified and what you did not.
Ship-blockers, not preferences. Each one is a thing that makes a page read as
| Never | Instead |
|---|---|
| A "scroll" cue, arrow, or animated mouse icon | Nothing. They are looking at the hero; they know |
01 / 06 section counters | Delete them. Sequence is not information here |
| An eyebrow above every section heading | At most one per three sections. The heading carries itself |
| Em dash anywhere visible | Period, comma, colon, or parentheses |
| Editing the engine to get a bespoke behaviour | Bespoke JS in the page, driven off --sc-p and your own data-sc-* |
| A full-frame dark overlay to fix contrast | A scrim only where the text sits |
| Text baked into a generated image | Real markup, always. It is selectable, translatable and sharp |
| Invented statistics in a counter | Only real numbers. No number, no counter |
transition: all, or animating width/height/top/left | transform and opacity; clip-path for wipes |
| Gradient text, neon glow, zero-offset coloured halo shadows | Weight and size for emphasis; shadows with offset and blur |
| Autoplaying audio, or any audio at all on a scrub clip | Strip the track. encode.sh already does |
| Shipping without running Step 5 | Run Step 5 |
The build folder, including BRIEF.md, then a short report: the grammar and why
the other seven lost, the signature move, the fingerprint gate result against
each existing row, the journey, the feeling curve and the peak, the feel-check
diff (intended curve against felt curve, and what you changed), the score table
(device per beat), what you
generated, what you verified with screenshots, and anything you could not
verify. Say if the brief was self-authored rather than interviewed. Give the
local URL. Keep it brief; the page is the deliverable.
Then append the build's row to <workspace>/FINGERPRINTS.md.
Changes to the skill itself, and the build findings that drove them, are logged in CHANGELOG.md.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/conceptPlan a premium scroll-driven landing page before anything is generated or built: interview or delegated brief, visitor journey, one of eight page grammars, the feeling curve with a single engineered peak, one bespoke signature move, the fingerprint gate, and the scroll score. Use for "scroll page concept", "plan my landing page", "what should this scroll site feel like", "page grammar", "feeling curve", "signature move", or whenever a scroll-craft build has no BRIEF.md and CONCEPT.md yet.
/scroll-craftEntry point for the scroll-craft plugin: premium scroll-driven landing pages in two halves, `concept` (brief, journey, page grammar, feeling curve, signature move, fingerprint gate, score) and `build` (assets, real HTML on the scrollcraft engine, screenshot verification, report, registry row). Use for "scrollcraft", "scroll craft", "layered hero", "premium hero", "cinematic hero", "scrollytelling", "scroll animation site", "Apple-style landing page", "3D scroll world", "interactive landing page", "make my brand a scroll experience", "this looks like a template", or any request for a website that feels like an experience rather than a document.
npx claudepluginhub flyingwebie/skills --plugin scroll-craftOther plugins' skills for the same job