翻篇收录说明
翻篇网页快照

AI Website Prompts for Lovable, Bolt & Claude | Scrollhaus

https://scrollhaus.ai/blog/ai-website-prompts-lovable-bolt-claude/

最近抓取:2026-12-03 07:27:40(北京时间)

最近内容变化:2026-12-03 07:27:40(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

How to write and use AI website prompts in Lovable, Bolt and Claude Code: structure, references, motion instructions and fixes when the output drifts.

正文摘录

← Scrollhaus JournalScrollhaus Journal · Vibe CodingKey takeawaysA useful build prompt names the stack, assets, layout and interaction behavior.Validate one representative section before generating the rest of a website.A prompt cannot verify a licence, process a payment or guarantee identical output.Choose a reference you can inspectBegin with a working preview rather than a mood board alone. Scroll the page, note the hierarchy and decide which part creates the effect you want. Separate the visual idea from the subject matter so you can reuse the motion and composition for your own business.Write down the sections, the main action, the type treatment, the color roles and the behavior of important elements. This becomes the evidence your AI builder can follow instead of inventing a generic landing page.Give the prompt a complete contractState the stack, page goal, audience, responsive behavior and required assets. Include exact copy when wording matters. Describe animation by trigger, movement and end state: for example, a card enters when its section reaches the viewport, moves twelve pixels and settles with a smooth ease.Ask for semantic HTML, keyboard access, reduced-motion support and reserved media dimensions. These requirements are easier to include at the beginning than to repair after every section has been generated.Build one representative section firstIn Lovable or Bolt, start with the hero or the section that contains the main motion language. In Claude Code or Codex, ask the assistant to inspect the existing repository before changing dependencies or global styles.Review the first section at desktop and mobile sizes. Correct typography, spacing and motion timing before extending the system. Once the representative section is accurate, the same tokens and components can guide the rest of the page.Move from visual match to production qualityReplace temporary assets, compress media and confirm that every link has a real destination. Test loading states, focus states, browser resizing and slow connections. Run the production build rather than relying only on the development preview.Keep content in the initial HTML when search visibility matters. Animated decoration can load later, but headings, explanations and calls to action should not depend on a canvas or video becoming available.Save the decisions for the next buildWhen the page is complete, keep the final prompt beside the source and record the fonts, asset licences, environment variables and deployment steps. A clean handoff protects the result when another person or AI assistant continues the project.The real advantage of an AI website prompt library is repeatability. Each finished build should leave you with a stronger component, motion pattern or review checklist so the next project begins further ahead.Separate creative direction from implementation stepsBegin with the feeling, reference and hierarchy, then state the technical requirements separately. This helps the model understand which qualities must be preserved and which implementation choices can change to fit the repository.A good prompt names the visible outcome without prescribing unnecessary code. Ask for the exact stack only when the project already has one or when a dependency is essential to the effect.Use a correction loop instead of a giant rewriteAfter the first build, describe the largest visible mismatch and ask for one contained correction. Fix typography and layout before tuning animation. Small review loops are easier to verify and less likely to damage parts of the page that already work.When a correction succeeds, update the reusable prompt or design rule. The goal is to improve the system, not to accumulate a long conversation of contradictory requests.A prompt structure that works in any AI website builderWhether you use ChatGPT, Claude, Lovable, Bolt or an AI website builder such as Wix, the prompts you use should tell the AI four things. First, the type of website you want and its target audience: a portfolio website, a restaurant website, a SaaS landing page. Second, the visual design: the design style, a serif or sans heading, dark mode or light, one brand colour. Third, the sections: a hero with a CTA button, features, a testimonial, an FAQ. Fourth, the rules: accessibility, mobile layout and anything already decided in your Figma file or design tokens.Prompt engineering for web design is mostly iteration. Every prompt after the first should change one thing. AI tools copy common design decisions by default, so name what should differ. A landing page prompt that states the UI in concrete terms gives better results than a long list of adjectives, and the same structure prompts work across AI-powered builders, so you can move a website with AI from one tool to another without starting again.Example prompts for common website typesA restaurant website prompt might read: build a one-page site for a neighbourhood restaurant, with large food photography, earthy tones, a handwritten-style accent font, a menu section and an online reservation form with click-to-call on mobile. A service business prompt would ask for clear service icons and photos of real work, a service inquiry form, and a booking form with fields for date and location.For a product, ask for a Next.js landing page with real product screens, a three-column feature grid that becomes 1 column on mobile and 3 on desktop, a primary CTA button and a pricing table. For a photographer, ask for an image-first design with large full-width photos, subtle typography and filterable galleries with lightbox.These are the best AI prompts to build from because each names the website type, the design patterns and the functionality. Follow-up prompts then refine the UX: move the sidebar into a modal, embed a map, or integrate with your existing frontend. Whichever website builder or AI tools you use, write AI prompts that say what the full website must do, and you will get better results than any generic prompt generates.Prompt for ownership and deploymentRequire local asset paths or a documented media host, an environment-variable example and a production build command. Ask for accessible fallback content when a video, canvas or third-party script fails.Before handing the project to a client, create a repository they control and confirm that a clean checkout can be installed and deployed. A prompt is useful only when the resulting website can live beyond the tool that generated it.What a copy-ready Scrollhaus prompt actually containsThe website catalogue checks every registered build prompt against a 7,600-character maximum during the build. The separate asset map holds hosted media and longer implementation facts. This keeps the main brief small enough to inspect instead of turning a copy action into a giant HTML document. The character limit is a Scrollhaus delivery rule, not a limit claimed for Lovable, Bolt or Claude.For a test, choose the free KOI LAB entry and keep its original hosted asset URLs and section hierarchy in the first build request. Ask the builder to implement the reference before changing the brand. In the correction pass, describe the specific mismatch: the element, the viewport size, the expected behavior and the observed behavior. Keep API keys and customer data out of the prompt.Frequently asked questionsWhat belongs in an AI website prompt?Include the audience, page goal, structure, visual system, assets, responsive behavior, interactions and acceptance criteria.Should I generate the whole website in one prompt?Start with one representative section, correct the design system, then extend the proven pattern through the remaining page.Can the same prompt work in Lovable, Bolt and Claude Code?The creative brief can travel, but adapt implementation instructions to the tool and the existing repository.Browse Scrollhaus website designs and build resources →Need help with a template, account, or project? Email admin@scrollhaus.ai.