# Claude Code prompts for landing page design: 15 to copy

> Fifteen prompts to fix a landing page that looks AI-built: three each for audit, copy, color and type, layout and spacing, and images, motion and mobile. Fill in the blanks and paste.

Canonical page: <https://aymu.dev/blog/copy-paste-prompts-to-de-slop-a-landing-page>

Published 28 Nov 2026.

This is a set of prompts. Each one does one job on a landing page that looks AI-built. Paste it into Claude Code,
fill in the parts in `<angle brackets>`, and you get something you can check.

The prompts are grouped by job, three per group. Each group ends with a link to the post that goes
deeper, if you want the reasons behind the prompts.

## How to use these prompts

A few habits make every prompt here work better.

![A checklist of habits for using the prompts: one prompt per turn, report first, commit between prompts, rules to point at, screenshots in .review/.](/blog/figures/copy-paste-prompts-to-de-slop-a-landing-page-1.png)

- **One prompt per turn.** Paste five at once and you get one big, tangled diff. One prompt gives you one change you
  can review.
- **Report first, edit second.** Most prompts here ask for a list before any edit. Read the list, cross out what you
  don't agree with, then say "fix items 1 to 4".
- **Commit between prompts.** `git add -A && git commit -m "<what changed>"` after each accepted change. If the next
  prompt makes things worse, `git restore .` run from the project root undoes edits to tracked files. Delete any new
  files the agent created by hand (`git status` lists them).
- **Have rules to point at.** Some prompts mention `CLAUDE.md`. If you don't have design rules there yet, start with
  [CLAUDE.md best practices: design rules Claude Code actually follows](/blog/claude-md-design-rules).
- **Screenshots live in `.review/`.** The prompts that read images expect full-page screenshots at phone and desktop
  width. With the dev server running, Playwright's CLI takes them:

```sh
npx playwright screenshot --viewport-size "390,844" --full-page http://localhost:4321 .review/home-phone.png
npx playwright screenshot --viewport-size "1440,900" --full-page http://localhost:4321 .review/home-desktop.png
```

Change the port if your dev server uses a different one. The first run may ask you to install the browser with
`npx playwright install chromium`.

## Audit (prompts 1 to 3)

These find problems without changing anything. Run them before the other groups, so you know where to start.

### 1. Heading outline

```text
List every h1, h2 and h3 in <src/pages/index.astro and the components it imports>, in page order.
For each one give: the level, the exact text, and the Tailwind classes that set its size and weight.
Then flag: more than one h1, a skipped level (h2 straight to h4), and two headings of the same level
that render at different sizes. Do not edit any files.
```

Use it when the page feels flat or messy and you can't say why. A broken outline is often the cause.

### 2. First-screen test

```text
Look only at the top 844 pixels of .review/home-phone.png, as someone who has never heard of <product name>.
Answer in one line each:
1. What does this product do?
2. Who is it for?
3. What does the page want me to do next?
Then quote the words on screen that gave you each answer. If an answer needed a guess, say "guess".
```

Use it when the hero seems to say a lot without saying anything. Every "guess" is a copy problem to fix.

### 3. One-off value inventory

```text
Count the distinct values used in <src/> for each of these, from Tailwind classes and CSS:
font sizes, font weights, text colors, background colors, border radii, and vertical section padding.
Make one table per property: value, number of uses, files. Mark arbitrary values like text-[19px] or p-[37px].
Do not change anything.
```

Use it when the site has drifted. Seven font sizes and five radii on one page is a design system nobody chose. The
counts tell you what to merge. Remove values used once or twice first. They're often one section the agent styled
on its own.

For a full audit with a checklist, see
[How to fix AI slop on your website: the complete guide](/blog/how-to-fix-ai-slop-website).

## Copy (prompts 4 to 6)

Generated copy is vague because the agent has no facts. These prompts give it facts or take words away.

### 4. Button labels from the product's verbs

```text
List every button and link label on <the home page>, with its file and target URL.
The main things a user does in <product name> are: <verb + object>, <verb + object>, <verb + object>.
Rewrite each label so it says what happens after the click, using those verbs where they fit.
Labels like "Get started", "Learn more" and "Try it now" must go. Keep each label under 5 words.
Show a table of old and new labels before you change any file.
```

Use it when every button on the page could belong to any product.

### 5. Claim check

```text
Find every sentence on <the home page> that makes a claim: a number, a superlative (best, fastest, only),
a customer or logo, a "trusted by" line, or a promise about results.
List them with file and line. These are the claims I can back up: <list, or "none">.
For every claim not on my list, either delete the sentence or rewrite it as a plain description of
what the product does. Show the list first and wait for my go-ahead.
```

Use it before you publish. Made-up numbers and logos are the fastest way to lose a careful reader's trust.

### 6. Cut every intro by a third

```text
For each section on <the home page>, find the paragraph under the main heading.
Rewrite each one to at most <25> words. Keep the one most concrete detail (a number, a name, a feature)
and drop everything else. Show old and new side by side with word counts, then apply the changes.
```

Use it when every section opens with two sentences that repeat the heading.

The words to remove are covered in
[AI words to avoid on a landing page, and what to write instead](/blog/ai-copy-words-to-cut).

## Color and type (prompts 7 to 9)

### 7. Type scale ratio check

```text
List every font size used on <the home page>, smallest to largest, in pixels.
For each adjacent pair, give the ratio between them.
Flag pairs closer than 1.15 (too similar to read as different levels).
Then propose a scale of at most <6> steps with a ratio of about <1.25>, starting at <16>px body text,
and map every current size to its nearest step. Do not edit files until I pick the scale.
```

Use it when headings and body text look like the same thing at slightly different sizes.

![Kiddo template hero: a playful rounded headline on a navy wave with photos of children playing](/blog/examples/kiddo.jpg)

*Example: [Kiddo](/templates/kiddo), a designed Astro template on Aymu.*

### 8. Contrast pairs

```text
Find every text color and background color pair that actually appears on <the home page>, using the
tokens in <src/styles/global.css>. For each pair, give the WCAG contrast ratio.
Flag body text under 4.5:1 and large text (24px and up, or about 18.5px bold and up) under 3:1.
For each failing pair, suggest the nearest token that passes. Do not change the accent color itself.
```

Use it when the page has light grey text on white because it looked "clean" in the first draft.

### 9. Accent budget

```text
Find every use of the <accent> token (text, background, fill, stroke) in <src/>.
The accent may appear only on: <primary buttons, text links, focus rings>.
List every other use with file and line, and say what neutral token should replace it.
Apply the changes after I confirm the list.
```

Use it when the accent is on icons, badges, headings and dividers, so it no longer points at anything.

Color and fonts in more depth:
[How to choose a website color palette (with Tailwind tokens)](/blog/website-color-palette) and
[Best fonts for a website that doesn't look AI-generated](/blog/fonts-that-dont-look-ai-generated).

## Layout and spacing (prompts 10 to 12)

### 10. Left edges

```text
Open .review/home-desktop.png. For each section, measure the x position of the left edge of its
main text, in pixels.
List the sections whose text starts at a different x than the hero text, and by how much.
Then find the container classes in each section's component and make them all use <max-w-6xl mx-auto px-6>.
```

Use it when the page looks slightly off even though each section looks fine on its own. Containers that don't match
are a common cause.

### 11. Break the repeat

```text
List the sections on <the home page> in order, and describe each layout in five words or fewer
(for example "centered heading, three cards" or "text left, image right").
Where two neighbors share the same layout, propose a different layout for the second one, chosen from:
<two columns 5/7, one large item and two small, full-width image with text below, a list with row dividers>.
Change only the layout. Keep the copy and the tokens.
```

Use it when scrolling the page feels like reading the same section six times.

### 12. Line length

```text
At 1440 pixels wide, find every paragraph and list item on <the home page> whose line is longer than
75 characters. Give the section and the class that sets its width.
Limit body text to max-w-prose and headings to <max-w-3xl>, without changing
the surrounding grid.
```

Use it when paragraphs stretch across the whole screen and nobody reads them.

The spacing scale and why it matters are in
[Website spacing: the simple scale that stops a layout looking cheap](/blog/spacing-makes-ai-sites-look-cheap), and alternatives to the card
grid in [Hero section design: fix a generic AI hero, step by step](/blog/rewrite-a-generic-hero-section).

## Images, motion and mobile (prompts 13 to 15)

### 13. Alt text review

```text
List every <img>, <Image> and inline <svg> on <the home page> with its current alt text (or "none").
For each one, decide: does it show product information, or is it decoration?
Product images: rewrite the alt to say what the image shows, in one sentence, with real names and numbers
from the image. Decoration: set alt="" and aria-hidden="true", and tell me which ones I could delete instead.
```

Use it when the alt text says "hero image" or "illustration", or when you're not sure an image is worth keeping.

### 14. Reduced motion

```text
Find every animation, transition and scroll-triggered script on <the home page>.
Make sure that under prefers-reduced-motion: reduce nothing moves, slides or scales, but state changes
(color, opacity of a menu opening) still happen. Use Tailwind's motion-reduce: and motion-safe: variants
or a @media (prefers-reduced-motion: reduce) block. List each change with file and line.
```

Use it after you add any motion at all. Some visitors turn movement off in their system settings, and the page
should respect that.

### 15. The 360-pixel pass

```text
Take a full-page screenshot at 360 pixels wide into .review/home-360.png and read it.
List: anything that scrolls sideways, tap targets shorter than 44px, headings that end with a single word on
the last line, buttons whose label wraps to two lines, and images cropped so the subject is cut off.
For each, give the section and the smallest fix (for example min-h-11, text-balance, or a shorter label).
```

Use it before you call the page done. The screenshots above use 390 pixels, but small phones are narrower. Anything
close to overflowing breaks here first.

Images and motion are covered in [Hero section design: fix a generic AI hero, step by step](/blog/rewrite-a-generic-hero-section) and
[CSS animation easing and prefers-reduced-motion: motion that feels designed](/blog/motion-that-feels-designed).

## When a prompt goes wrong

Even a clear prompt can make a bad change. Here are a few ways it can go wrong, and a short fix for each.

![A table of four ways a prompt goes wrong, such as an edit when you asked for a report, each with its short fix.](/blog/figures/copy-paste-prompts-to-de-slop-a-landing-page-2.png)

**The agent edits when you asked for a report.** That's why some prompts end with "do not edit any files". If it
edits anyway, run `git restore .`, paste the prompt again and add "Reply with the list only." as the last line.

**The list is too long to act on.** A first audit of a generated page can return dozens of items. Ask for the worst
eight, ranked, and fix those. Then run the prompt again. The next eight will be different.

**The numbers look made up.** Prompts 3, 7, 8 and 10 ask for counts, ratios and pixel positions. Check one value
yourself before you trust the rest. Open the file and count one class, or open the screenshot and measure one edge.
If the value is wrong, ask the agent to show how it got it, file by file.

**The page now matches the rules but still looks generic.** The rules may be the problem. If rules only say what to
avoid, the agent picks everything else, and it picks the average. Add rules that say what to use: your fonts, your
accent, your container and your section padding. [AI slop website fixes: a ban list to paste into your AI agent](/blog/anti-slop-ban-list)
covers what to ban, and your `CLAUDE.md` should cover the rest.

## Keep them where you will use them

Pasting from a blog post works once. To reuse a prompt, save it in your project. A Markdown file in
`.claude/commands/` becomes a slash command in Claude Code: `.claude/commands/first-screen.md` runs with
`/first-screen`. The docs call this the older format and suggest skills for new work. So
`.claude/skills/first-screen/SKILL.md`, with a short `description:` in its frontmatter, gives you the same command.
Fill in the blanks with your own product facts, so the command is ready to run.

A good order for a first pass is 3, 1, 2, then the group the audit flagged most. Fix, take new screenshots, commit,
and run the audit again.

## What you have now

You have fifteen prompts that each do one job you can check. You have a way to take screenshots for the ones that
read images, and an order to run them in. Next, run prompt 3 on your home page today and see how many font sizes it
finds. That number tells you which group to open next.
