adaptive-frontend-design

Design and build complete websites and web interfaces around audience, content, brand, and real interactions. Use for new sites, redesigns, visual reviews, motion, or interactive 3D. Do not use for un

SKILL.md

GitHub

Build the interface the content needs

Public distribution edition: reorganized from the project's working guidance, with private task records removed. Attribution, modifications, and third-party terms are in SOURCES.md. References are primarily Chinese; respond and design in the user's requested language.

Deliver the requested pages and usable paths. Distinguish a read-only review, a plan, implementation, and publication. This skill does not grant tools, credentials, budget, or permission to publish.

Understand the request, then choose the expression

Read the current project and reuse confirmed requirements, materials, feedback, and constraints. For a new site or substantial redesign with unresolved requirements, ask 1–3 consequential questions about audience, content, primary actions, and visual preferences. Wait for the answers before choosing a direction; useful read-only research can continue. Follow design dialogue.

Do not repeat questions already answered. Continue directly for an accepted design's local revision, a sufficiently specified reproduction, an agreed plan, or a fully specified task with explicit delegation to decide. “Make it 3D” still needs a content and interaction purpose. Never turn every frontend task into a 3D world.

Main task Read when relevant
Reading, search, comparison, forms, and return paths Functional reading
Brand, photography, editorial, and collections Brand/editorial
Scroll storytelling, motion, film, and sound Motion route
Interactive objects, spatial inspection, and exploration Realtime space

Mix routes by actual content. For a confirmed complete interactive 3D site, use interactive-world production. Cars, free roaming, material changes, cinematic scrolling, and generative graphics are alternatives, not a default kit.

Make the direction visible in real material

Use visual direction to coordinate actual type, color, imagery, geometry, and hierarchy. Use composition for layout, proportion, density, grouping, and meaningful pauses; foundations for their mechanisms and tradeoffs; assets for source quality and licensing.

Start with real headings, body text, necessary actions, intended fonts, and suitable material at the final display scale. For work depending on complex composition, imagery, or persistent 3D, inspect a runnable representative slice before expanding dependent sections. A functioning block model is not finished art. A hero does not stand in for search, comparison, or a long article. Continue after inspecting and correcting the slice within the agreed direction and scope. Wait only for an agreed stage review, unresolved consequential requirements, or a change to the user’s confirmed decision; see expansion conditions. The agent’s inspection does not constitute user acceptance.

Let different tasks produce different structures. When repetition is a stated problem, compare layout skeleton, typography rhythm, copy, and the primary interaction; a new topic, palette, image category, or swapped columns alone does not establish a new expression. Keep justified brand consistency.

Choose controls by their job, context, and state using action-control selection. Rectangles, circles, pills, and unframed text are all conditional choices. Maintain clear names, stable hit regions, visible focus, and truthful feedback.

Connect action, space, and content

Connect one genuine path before multiplying it: enter, act, change intention, read or inspect the result, continue, and return. Preserve the current content identity and valid input. Add forms, saving, physics, or accounts only when the task needs them.

  • Motion hierarchy and timing: motion language. Input, interruption, retargeting, and handoff: interaction craft.
  • Whole-site organization and persistent worlds: world motion. A shared canvas is not proof that the experience is connected.
  • Semantic state, safe arrival, complete camera pose, clocks, deep links, stable reading, and visible focus on return: scene/content continuity.
  • Three.js assets, materials, lighting, projection, versions, resource ownership, and implementation checks: Three.js workflow. DOM/3D geometry: projection.

Show the evidence the paragraph is about. If the asset cannot reveal the described structure or material, improve the material or revise the claim. Do not rotate the same object behind unrelated headings and call that a narrative.

If the author cannot inspect a browser, deliver a runnable slice for a coordinator to inspect before expanding visual dependencies. If nobody can inspect it, retain that gap rather than inventing a pass.

Inspect the actual result and deliver

Walk the real entry, middle, end, and primary operations at actual wide and narrow viewports. Check visible hierarchy, Chinese or other actual glyphs, wrapping, clipping, occlusion, hit targets, focus, and return. Recompose for small screens; do not merely shrink the desktop. Breathing room follows density and hierarchy, not a global whitespace multiplier.

For promised motion, actually inspect the relevant sequence at normal speed, including necessary intermediate states, interruption, release, and return. A short recording is optional when useful and supported; never make recording production the user's prerequisite. Without continuous observation, state that limitation. Screenshots, source inspection, mathematical checks, and a moving clock do not establish continuous feel or performance. Follow the shared evidence rule in motion language.

Use real pointer paths where pointer behavior matters; keyboard, synthetic events, and touch are different paths. Reduced motion must preserve the same core content and outcomes across CSS, JS, 3D, and media. Report device, sound, performance, and accessibility only within what was actually checked.

For stateful navigation, asynchronous forms, replaced controls, or persistent motion, use browser verification to connect actual page behavior, failure recovery, visible focus and measured resources. Local copy edits reuse unaffected evidence.

Fix concrete blockers before asking for effect feedback. Reuse unchanged evidence; expand checking for a new change, failure, or specific risk. Deliver the running entry, exact version, concise changes, representative views, asset attribution, and untested areas. Separate technical verification, the agent's visual assessment, and the user's acceptance. One accepted example is not a universal quality claim.

For a real research gap, use bounded source study. For implementation terminology, use concept selection. Do not load the whole reference library by default.