A 5-question interview prompt that turns Claude into a scroll-driven page builder
aziz4ai · x · 2026-10-02
- A prompt template makes Claude act as a senior creative developer: before writing any code it interviews you with exactly 5 questions, each with 3-4 multiple-choice options plus free text, building on prior answers, and no code until all five are answered.
- Questions cover purpose/end action, audience knowledge, the 3-4 story beats, plus scroll behavior and visual direction. Rules include matching the user's language (RTL for Arabic) and picking sensible defaults with noted assumptions.
- The author's test: one prompt to Claude Sonnet produced a single-file HTML with GSAP ScrollTrigger, paired with two images generated via runware MCP (intact and shattered glass orb), yielding scroll-pinned sections and horizontal card scrolling that performed well on PC and mobile.
- Key lesson: describe the motion before requesting it—what pins, what moves, and when things change.
More from coding & agent
- GPU still dominates agent app costs, not CPU sandboxes, says cost calculator — bookwormengr · 2026-10-02
- llama.cpp adds decision models: /v1/systemone scores options in a single forward pass — ggerganov · 2026-10-02
- 10 GitHub repos to level up your AI agents: from Browser Use to LangGraph and E2B — goyalshaliniuk · 2026-10-02
- Experimenting With Agentic AI to Create Vector Maps — rsasaki0109 · 2026-10-02
- Researcher: Agents that can work in a sandbox shouldn't have outbound access at all — moniquejmorrow · 2026-10-02
- Agents aren't GPU-bound: tool execution, memory bandwidth and sandbox overhead are the real bottleneck — ai · 2026-10-02