# We gave Claude Code the same design brief twice: with and without a ban list

> Two Claude agents built the same landing page, one with our anti-slop ban list. What the list changed, what it didn't, where the ruled version got worse, and how to rerun the test yourself.

Canonical page: <https://aymu.dev/blog/same-brief-with-and-without-design-rules>

Published 28 Nov 2026.

We keep telling people to give their coding agent a ban list instead of asking for a nice design. So on 2026-11-28
we tested it. Two Claude agents got the same landing page brief. One also got our ban list. Nobody edited either
result.

Two warnings before the pictures. First, this is one run of each. That's one data point, not a benchmark. Run it
again and both pages will come out different. Second, every number, client name and invoice on both pages is made
up. The brief asked for a demo product, so both agents made up sample data, as they should.

## The setup

Both agents were Claude Code subagents with no shared context. Each wrote one file. This is the brief both of them
got, word for word:

```text
Build a landing page for Tallybook, an invoicing app for freelancers. It lets a freelancer create an invoice from a
saved client in under a minute, sends automatic payment reminders, and shows what is paid, due and overdue on one
screen. The page needs a hero, a features section, a short how-it-works, and a sign-up call to action.

Write one self-contained file: index.html with inline CSS (and inline JS only if you need it). No external requests:
no CDNs, no web fonts, no images from the internet (use inline SVG or CSS shapes if you want visuals). It must look
good at 1440px and at 390px wide.
```

Agent A's whole instruction was to read `BRIEF.md` and do it. Agent B got the same instruction plus one clause:
"following every rule in ban-list.md". That file is the list from
[AI slop website fixes: a ban list to paste into your AI agent](/blog/anti-slop-ban-list), unchanged. It has 33 bans
grouped by color, type, layout, copy, imagery and motion, each with a replacement.

We got one thing wrong in the setup. Both agents ran inside our own repository, and Claude Code loads the project
`CLAUDE.md` for every session there. Ours already says no box shadows, no borders on cards, and separate surfaces by
background tone. So agent A wasn't working without rules. It was working without the ban list. That matters below,
because neither page has a single card shadow or card border.

We took screenshots of both pages with Playwright at 1440x900 and 390x844, plus full-page versions, without touching
them.

## What came back

The first screen of each, at 1440px:

<div class="figure-pair">
  <figure>
    <img src="/blog/experiment/a.png" alt="Version A at 1440px: a serif headline &#x27;Send the invoice. Get paid. Get back to work.&#x27; with &#x27;Get paid.&#x27; in green italics, under a small all-caps monospace label, beside a white dashboard card with green, amber and red totals and four invoice rows." width="1440" loading="lazy" decoding="async" />
    <figcaption>A: brief only</figcaption>
  </figure>
  <figure>
    <img src="/blog/experiment/b.png" alt="Version B at 1440px: a five-line serif headline &#x27;Invoice a client in under a minute, then let Tallybook chase the payment.&#x27; with a green &#x27;Create your account&#x27; button, beside a white invoice table with an All, Paid, Due, Overdue filter and a black &#x27;Overdue&#x27; pill." width="1440" loading="lazy" decoding="async" />
    <figcaption>B: brief plus the ban list</figcaption>
  </figure>
</div>

The first surprise is how alike they are. Neither one is the classic AI page. No purple gradient, no glow, no
centered hero over a blob, no emoji. Both chose a warm off-white page, white panels and a dark green accent. Both
used the same Iowan Old Style serif stack for headings and put a dashboard card on the right of the hero. Without
the ban list, the agent still made sensible choices. The ban list changed the details, not the direction.

Here are both pages in full.

<div class="figure-pair">
  <figure>
    <img src="/blog/experiment/a-full.png" alt="Version A full page at 1440px: the hero, then a white band with three equal cards, each with a small visual (a client form with a 0:48 timer, a reminder timeline, a stacked bar chart in green, amber and red), then three numbered steps, then a dark green sign-up panel." width="1440" loading="lazy" decoding="async" />
    <figcaption>A: full page</figcaption>
  </figure>
  <figure>
    <img src="/blog/experiment/b-full.png" alt="Version B full page at 1440px: the hero, then one large feature with a green bar chart beside its text and a two-column pair of cards below it, then &#x27;How it works&#x27; as a heading on the left with three numbered steps on the right, then a white sign-up panel on the same off-white page." width="1440" loading="lazy" decoding="async" />
    <figcaption>B: full page</figcaption>
  </figure>
</div>

## What we counted

We counted from the HTML, not from how it felt. Colors are distinct hex values in the CSS (`#fff` and `#ffffff`
counted once). Font sizes are the distinct values set in CSS.

| What | A (brief only) | B (brief + ban list) |
| --- | --- | --- |
| Font families | 3: serif, system sans, monospace | 2: serif for headings, Avenir Next stack for text |
| Hues beyond neutrals | two greens, amber, red, plus a mint dot in the logo | one green, with a darker hover and a pale tint |
| Distinct hex colors | 19, plus 4 translucent whites | 9 |
| Font sizes | 11 fixed sizes from 12px to 28px, plus 3 fluid headline sizes | 4 tokens (14, 17, 36 and 56px on desktop), plus a 22px logo and the chart labels |
| Gradients | 0 | 0 |
| Emoji | 0 | 0 |
| Box shadows | 0 | 1, the focus ring on the email field |
| Borders | row dividers, a 2px rule over each step, the email field | row dividers, the email field |
| Features layout | three equal cards in a row | one large feature, then a two-column pair |
| Section backgrounds | off-white, white, off-white, green sign-up panel | one off-white page throughout |
| All-caps eyebrow | one, above the hero | none |
| Animation | a dot that pulses forever | none; 150ms ease-out color changes only |
| Banned words ("unlock", "seamless" and so on) | none | none |
| Desktop page height | 2,639px | 3,050px |

Both pages use only system fonts, because the brief banned web fonts. We took the screenshots on a Mac. On Windows
the same CSS falls back to Palatino Linotype or Georgia and Segoe UI, so the pages would look different there.

## What the ban list changed

**One accent instead of a status palette.** A gives paid, due and overdue their own green, amber and red. It repeats
them in the totals, the progress bar, the pills and the chart. B uses green for paid and for actions, grey for due
and solid black for overdue. That follows "one accent, used for primary actions, links and data only" to the
letter. See [How to choose a website color palette (with Tailwind tokens)](/blog/website-color-palette) for the reasoning.

![A table of what the ban list changed from A to B: fonts 3 to 2, hex colors 19 to 9, sizes 11 to 4 tokens, three cards to one large feature.](/blog/figures/same-brief-with-and-without-design-rules-1.png)

**No three-card grid.** A's features section is three equal cards in a row. B's is one large feature beside a chart,
then two cards below it, which is the replacement the list names. To be fair to A, its three cards aren't the
icon-and-blurb kind: each one has its own small working visual. Still, it's the layout
[Hero section design: fix a generic AI hero, step by step](/blog/rewrite-a-generic-hero-section) argues against.

**A type scale written down.** B sets four size tokens at the top of its CSS and uses them almost everywhere. A
uses 11 fixed sizes. You can't see that in one screenshot. But it's the kind of drift that makes a page feel
slightly off as it grows.

**A headline that says what the product does.** B's H1 is "Invoice a client in under a minute, then let Tallybook
chase the payment." A's is "Send the invoice. Get paid. Get back to work.", a three-beat slogan that sounds better and
says less. B also dropped A's monospace eyebrow and the switching section backgrounds.

**Calmer motion.** B has no animation. A has a status dot that pulses forever next to "Reminder to Orla Mendez goes
out tomorrow at 9:00". Both pages turn motion off under `prefers-reduced-motion`.

**B made up a spacing scale the list asked for but never gave.** The list says "spacing only from the scale in this
file", and the file has no scale. B wrote its own (`--s1` at 4px to `--s10` at 128px). It left CSS comments pointing
at the rules it was following. That's a bug in our list, and B covered for it.

## What it did not change

**The look.** Same palette family, same serif, same hero structure. If your page looks generic because of its whole
direction and not its details, a ban list alone won't fix it.
[Claude design prompts: give a reference, not adjectives](/blog/give-claude-a-reference-not-adjectives) covers that part.

**Nested surfaces.** The list says "one level of surface". A puts a white visual inside an off-white card inside a
white section, with grey fields inside the visual. B puts off-white totals inside a white frame, and off-white
client rows inside a white card. Both broke it.

**The sign-up form.** Both agents wrote almost the same form: a "Work email" label, the same email check, and nearly
the same error message ("That email looks incomplete" in A, "That email address looks incomplete" in B). Neither form
sends anything. Both just show a message.

**Making up product facts.** Both agents added features the brief never mentioned. A promises a free tier ("Free for
your first five clients. No card needed."), card or bank transfer payments, spreadsheet import, and invoices that move
to Paid on their own. B adds currency per client and an emailed link to view and pay. B was more careful about
offers. It wrote "when you mark the payment received" instead of claiming automatic detection. With one run each, we
can't say whether the list's "invented stats" ban caused that. On a real product, you'd need to check every one of
these lines against what you actually ship.

## Where the ruled version got worse

Following the list cost B some things, and a few of its choices are just weaker:

- **Overdue lost its warning color.** With one accent, overdue became a black pill. It stands out, but people read
  red-for-late without thinking, and A kept it.
- **The headline is long.** B's H1 runs to five lines at 1440px. It says more, but it pushes the button down.
- **The same totals appear twice.** The hero and the features section both show $6,840 paid, $3,150 due, $1,200
  overdue.
- **The chart labels shrink on phones.** B's chart is an SVG scaled to the width, so its month labels become tiny at
  390px.
- **The accent is decoration in places.** Green step numbers, green list dashes and a green logo tile use the "one
  accent" as ornament. The list's "actions, links and data only" doesn't allow that.
- **It missed some of its own scale.** An inline `margin-top:8px` and fixed column widths sit outside the scale it
  defined.
- **A has a skip link; B does not.** The ban list says nothing about accessibility, and it showed.

A also got one copy rule more right than B. Its hero button reads "Create your first invoice", which is more
specific than B's "Create your account", used three times. A's weaker label is "Start free", on the header and
form buttons.

On phones, both layouts stack into one column and stay readable, apart from B's chart labels.

<div class="figure-pair">
  <figure>
    <img src="/blog/experiment/a-phone.png" alt="Version A at 390px: the green-italic serif headline over three lines, a black &#x27;Create your first invoice&#x27; button, a grey &#x27;See how it works&#x27; button, and the top of the dashboard card." width="1440" loading="lazy" decoding="async" />
    <figcaption>A: at 390px</figcaption>
  </figure>
  <figure>
    <img src="/blog/experiment/b-phone.png" alt="Version B at 390px: the serif headline over five lines, a green &#x27;Create your account&#x27; button, a plain &#x27;See how it works&#x27; link, and the top of the invoice table with its status filter." width="1440" loading="lazy" decoding="async" />
    <figcaption>B: at 390px</figcaption>
  </figure>
</div>

## What one run can and cannot tell you

It can show you what a list like this pushes on: color count, type sizes, the feature grid, the eyebrow, generic
headlines. Those moved the way the list asked, and you can check each one in the HTML.

It can't tell you how often that happens, or whether the list made B "better". Run both again and you'll get two new
pages. Some of the differences above may be chance. And both agents had our `CLAUDE.md` rules on shadows and
borders. So this compares "house rules" with "house rules plus a ban list", not "no rules" with "rules".

Our honest read: without a ban list, Claude made a tasteful, slightly busy page. With it, Claude made a stricter,
plainer page that followed most rules, broke a few, and lost a useful red. The list is a review tool as much as a
prompt. Check the screenshots against it afterwards, as in
[Screenshot, critique, fix](/blog/screenshot-critique-fix-loop).

## Rerun it yourself

You need Claude Code and Node.js. Run each agent in its own empty folder, outside any project, so no `CLAUDE.md` gets
loaded. Claude Code also reads `CLAUDE.md` files from parent folders and your user-level `~/.claude/CLAUDE.md`. Check
those too, or you'll repeat our mistake.

**1. Make two folders with the brief.** Save the brief above as `BRIEF.md` in both. In folder `b`, also save the list
from [the ban list post](/blog/anti-slop-ban-list) as `ban-list.md`.

```bash
mkdir -p ~/slop-test/a ~/slop-test/b
# save BRIEF.md into both folders, and ban-list.md into b only
```

**2. Run each agent in its own folder.** `-p` runs Claude Code once without the interactive screen.
`acceptEdits` lets it write the file without asking.

```bash
cd ~/slop-test/a
claude -p "Read BRIEF.md and do it." --permission-mode acceptEdits

cd ~/slop-test/b
claude -p "Read BRIEF.md and do it, following every rule in ban-list.md." --permission-mode acceptEdits
```

**3. Take screenshots of both at the same sizes.** Playwright's command line takes screenshots without a script. The
first command downloads a Chromium build for Playwright.

```bash
cd ~/slop-test
npx playwright install chromium
npx playwright screenshot --viewport-size "1440, 900" --full-page "file://$PWD/a/index.html" a-full.png
npx playwright screenshot --viewport-size "390, 844" --full-page "file://$PWD/a/index.html" a-phone-full.png
npx playwright screenshot --viewport-size "1440, 900" --full-page "file://$PWD/b/index.html" b-full.png
npx playwright screenshot --viewport-size "390, 844" --full-page "file://$PWD/b/index.html" b-phone-full.png
```

**4. Count, don't eyeball.** These two lines give you the color and gradient counts from our table:

```bash
grep -oiE '#[0-9a-f]{6}\b|#[0-9a-f]{3}\b' a/index.html | tr A-F a-f | sort -u
grep -c 'gradient' a/index.html b/index.html
```

**5. Run it more than once.** Three runs of each is still small, but it shows which differences repeat and which
were luck.

## What you have now

Next step: run the test once with your own `CLAUDE.md` design rules. Then add a ban for whatever your version A got
wrong, and a line for anything the list made worse, like our missing spacing scale.
