web-design

Vibe coding for marketing sites: Cursor, Claude Code in 2026

By Justin
AGENTIC EDIT → DIFF → REVIEW → SHIP src/pages/pricing.astro CLAUDE EDIT 1 <BaseLayout title="Pricing"> 2 <section class="hero"> 3 <h1>Pricing</h1> + 4 <p class="lead">Three tiers.</p> + 5 </section> + 6 <section class="plans"> + 7 {plans.map(p => <Plan {...p}/>)} + 8 </section> 9 </BaseLayout> AGENT "Add 3-tier pricing page matching /services design" Accept all Reject Revise adfirm.net/pricing Pricing Three tiers. No hidden fees. $49 $149 $499 QUALITY GATE · LIGHTHOUSE 96 Perf 100 A11y 100 SEO 100 Best Pr.

“Vibe coding” went from a half-joking term in late 2024 to a real description of how a lot of marketing sites get shipped in 2026. AI pair-programming tools like Cursor and Claude Code took web development from “open editor, type code, save, refresh, debug” to “describe what you want, accept the AI’s edits, iterate.” For marketing sites specifically — landing pages, blog templates, microsites — the productivity shift is real.

It’s also produced an entire generation of subtly broken marketing sites. Pages that look right at first glance but ship 500kb of unnecessary JavaScript, miss accessibility basics, have CLS issues, or 404 on routes the AI hallucinated. The vibe is there; the craft is fragile.

Here’s the 2026 workflow that works for shipping marketing sites with AI tools — and the quality guardrails that prevent the obvious failure modes.

What changed

The shift from 2023 to 2026:

  • 2023: AI tools suggested completions inside the editor (GitHub Copilot, Cursor’s first version). Useful but additive — you still wrote most of the code.
  • 2025: Agentic editing arrived. You describe a change in natural language; the tool plans, edits multiple files, runs tests, and shows you the diff. Code generation became closer to delegation than autocomplete.
  • 2026: Most marketing site work — adding pages, updating layouts, building one-off campaign landing pages — is done at the agentic level. Hand-writing every line is reserved for the parts that AI consistently gets wrong.

The result: a senior developer who used to ship 1 landing page per day now ships 3-5 with similar quality. A solo founder with no developer experience can ship the basic marketing site that would have required hiring an agency in 2022.

That’s the productivity story. The quality story is more nuanced.

Where vibe coding works well

1. Greenfield marketing pages

New landing pages, new sections within existing templates, one-off campaign microsites. The AI has the full context (you’re starting fresh), the patterns are well-established (web pages are well-documented), and the failure modes are visible (does the page render? does it look right?).

For a typical SaaS landing page: AI agent + design brief + 30 minutes = working page that needs polish, not rewrite.

2. CSS and visual iteration

“Move the headline up, make the CTA bigger, add more whitespace around the testimonials” — exactly the kind of iteration that takes a designer 20 mouse-clicks in Figma and a developer 10 minutes of CSS work. AI handles it in 30 seconds of conversation.

3. Astro/Next.js boilerplate

Setting up new routes, content collections, sitemap configurations, OG image generators — the kind of work that requires reading framework docs and writing 50 lines of boilerplate. AI does this faster than humans, and usually correctly.

4. Content collection schemas and MDX

Adding new fields to a Zod schema, migrating MDX frontmatter across many files, updating templates to use new fields. Pattern-matching work where AI excels.

5. Refactor to component patterns

“Pull this repeated layout into a component” — AI handles the multi-file edits cleanly and consistently. Often does it better than humans because it’s less prone to “let me also fix this other thing while I’m in here” scope creep.

Where vibe coding falls apart

1. Performance optimization

AI tools default to shipping more code, not less. Asked to add a feature, they’ll often pull in a library. Performance-critical decisions (do we need this dependency? can we inline this? what’s the bundle impact?) require human judgment that the AI doesn’t apply by default.

A landing page that vibes good in dev hits 60 Lighthouse mobile because AI added a chart library for one number, used a font-icon set for three icons, and didn’t lazy-load the hero video.

2. Accessibility

AI generates components that look right but fail WCAG. Common failures:

  • Buttons without accessible names
  • Form fields without labels (just placeholders)
  • Color contrast that fails AA
  • Missing focus indicators
  • ARIA roles applied wrong or unnecessarily

Audit every AI-generated page through Lighthouse + axe-core. The fixes are usually small, but they’re consistent across AI-shipped code.

3. Cross-browser edge cases

Modern browsers handle most CSS the same way. Edge cases (Safari behavior on certain transforms, mobile keyboard handling, iOS scroll behaviors) require testing on real devices. AI cannot test on devices. You must.

4. SEO subtleties

AI gets the basics right (meta tags, structured data, semantic HTML). It misses:

  • Internal linking patterns that build topical authority
  • Canonical tag edge cases (paginated, filtered, sorted variants)
  • Hreflang for multi-language
  • Open Graph image dimensions for specific platforms

If SEO matters to the site, an SEO-literate human reviews every new template before launch.

5. Security boundaries

AI is great at adding features. AI is bad at thinking about whether a feature should exist. “Add a contact form” produces a working form. It doesn’t produce rate limiting, CAPTCHA, honeypot fields, or input sanitization unless you specify.

For static marketing sites with no user input, this matters less. For sites with forms, comments, or any backend, security has to be a separate review.

The 2026 vibe coding workflow

What’s actually working for clients:

Step 1: Brief in plain language

“Add a pricing page with 3 tiers. Match the design language of the existing /services page. Use the Plan component from src/components/Plan.astro if it works, or build a similar one if not.”

Specific enough to constrain. Open enough that the AI can solve.

Step 2: Let the agent work

Cursor or Claude Code edits files, often in parallel. Reads the existing codebase to match patterns. Builds, checks for errors, iterates. This phase is 5-30 minutes depending on scope.

Step 3: Review the diff

Read every changed file. The 10-second skim is not enough — AI hallucinations happen, dependencies sneak in, the AI sometimes “fixes” things that weren’t broken. The diff review is the quality gate.

Step 4: Build + visual check

Run the build, view in browser, check responsiveness at 3 widths (mobile, tablet, desktop). The AI cannot do this for you.

Step 5: Run quality checks

Lighthouse (Performance, A11y, SEO, Best Practices), axe-core for accessibility detail, manual keyboard navigation test, screen reader spot-check. 5-10 minutes total for a typical page.

Step 6: Commit with clear message

Future-you and future teammates need to understand what changed. The AI’s commit message is usually serviceable but generic. Take 30 seconds to write it properly.

Tooling stack for 2026 marketing site work

What we run:

  • Editor: Cursor (most agency teams) or Claude Code in terminal (for power users / when working alongside other tools)
  • Framework: Astro for content-heavy sites, Next.js for app-feeling sites. Both work well with AI tools.
  • Testing: Playwright for visual regression (catches AI breaking layouts you weren’t editing), Lighthouse CI in build pipeline
  • Type safety: TypeScript everywhere. AI generates better code in strict TypeScript projects because the constraints guide it.
  • Component primitives: Shadcn or similar copy-paste-friendly UI kits that AI can extend predictably

What’s overrated

  • Full-app AI generation tools (Replit Agent, v0). Great for prototypes; brittle for production marketing sites at agency quality bar.
  • “Vibe coding” as a hiring philosophy. Don’t hire developers who only know how to prompt the AI. The AI fails consistently in ways that need craft to catch.
  • Letting AI choose dependencies. Defaults to heavyweight libraries. Constrain explicitly: “use vanilla CSS, no Tailwind” / “use HTML form, no React library” — gets cleaner output.

The honest framing

Vibe coding in 2026 changed the economics of marketing site work. A solo developer ships 3-5x more pages. A small agency takes on 2-3x more clients. The work moved from typing code to reviewing AI’s code and catching the consistent failure modes.

The developers and agencies winning at this aren’t the ones using AI most aggressively. They’re the ones who built quality guardrails into their workflow — Lighthouse CI, accessibility audits, visual regression, code review discipline — and use AI within those constraints.

The vibe is the productivity multiplier. The code review is the quality floor. Both matter. Skip either and you ship the kind of subtly-broken marketing site that pattern-matches as “made with AI” — which in 2026 is a brand signal you don’t want.

web designai codingcursorclaude code
Ready when you are

Let’s map out your next quarter.

Tell us what you’re trying to grow. We’ll send back a no-fluff audit and a plan within 48 hours.