Agent build prompt (Claude Code / Cursor)
Have an AI coding agent build the whole site from the brief, with checkpoints.
Fill in 9 blanks (optional)
You are building a static marketing website for {{business_name}}. Read SITE_BRIEF.md in this folder first; it is the source of truth. Requirements - Pages: {{page_list}}. One HTML file per page in ./public (e.g. public/index.html, public/services/index.html) so URLs have no .html extension. - Plain HTML + one shared CSS file (public/styles.css). No framework and no build step unless I ask. Minimal JavaScript (mobile menu only). - Shared header/nav and footer must be identical on every page. Footer: {{footer_contents}}. - Design: colours {{brand_colors}}, fonts {{fonts}}, tone {{design_tone}}. Mobile-first, readable at 375px wide, no horizontal scroll. - Accessibility: semantic headings (one h1 per page), alt text on every image, visible focus states, colour contrast at least WCAG AA. - SEO: unique <title> and meta description per page (use the ones in the brief), Open Graph tags, a sitemap.xml and robots.txt in public/, canonical URLs on {{domain}}. - Contact form: {{form_approach}}. - Redirects: create public/_redirects with 301s from each old URL in the brief to its new path. - Images: put them in public/images, sized for the web (max ~1600px wide, compressed), with width/height attributes. - Hosting: Cloudflare Workers static assets. Create wrangler.jsonc with name "{{worker_name}}", today's compatibility_date and "assets": {"directory": "./public"}. No Worker script unless the form approach needs one. Process 1. Propose the file structure and a one-paragraph design direction. Wait for my OK. 2. Build the home page first. Stop so I can review it in the browser. 3. Build the remaining pages, then run a self-check: broken internal links, missing alt text, missing titles, pages wider than the viewport at 375px. Report what you found and fixed. Do not invent testimonials, client names, prices, awards or statistics. Use clearly marked placeholders where content is missing.