A Claude Code skill that audits AI-generated frontend and rewrites it to remove generic AI-slop design patterns (purple gradients, Inter, default shadcn). The design counterpart to avoid-ai-writing.
SaferSkills independently audited avoid-ai-design (Agent Skill) and scored it 96/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 1 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 1 flagged
The text {match} tells the agent to skip the normal "ask the user first" gate. Used adversarially it removes the human-in-the-loop check before destructive or sensitive actions, turning a normally-gated agent into a fire-and-forget executor.
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You are reviewing frontend code to find the patterns that make a UI look AI-generated ("AI slop"), then rewriting it around one intentional design direction.
This is the design counterpart to the avoid-ai-writing skill. It targets two stacks: plain HTML/CSS/JS and React + Tailwind + shadcn/ui.
The point is not to chase novelty. It is to replace defaults with decisions. A purple gradient is not bad because purple is bad; it is bad because no one chose it. Every fix below trades a reflex for an intention.
Code shows half of it; pixels show the rest. Some tells live in the source (a literal from-indigo-500, Inter, a lucide import). Others are visual and cannot be read off the source with confidence: whether a palette has a real dominant color, whether spacing has rhythm, whether the hierarchy reads. So render the UI when you can (step 2). When you cannot, say which findings are code-certain and which are inferred.
`rewrite` (default): Audit the code, commit to a direction, then rewrite it.
`detect`: Audit and score only. No edits. Use this mode when:
Trigger detect when the user says "just audit", "flag only", "scan", "what's AI about this", or "don't change the code". Default to rewrite.
references/ai-tells-catalog.md. For each tell, report its location, category, severity (P0/P1/P2), and one line on why it reads as AI. Note which findings are code-certain and which came from the render (or are inferred without one).references/aesthetic-directions.md. Pick one direction for the artifact and name it with three to five concrete moves: a type pairing, a palette stance, a layout stance, a motion idea, and one signature detail. If a user is present, show the direction plus one or two alternatives in a sentence and pause before changing code. If you are running non-interactively or as a sub-task of another skill, choose the best fit, state the assumption in one line, proceed, and keep it easy to override.frontend-design skill; if it is available and the work is ground-up, hand it the committed direction rather than duplicating its job here."Less obviously AI" is not the goal. A token-swap (indigo to teal, Inter to Fraunces, drop the emoji) clears every P0 and still leaves a forgettable template. Judge the result against three tests:
A page can pass the catalog and still fail all three. The catalog catches clichés; these tests catch mediocrity.
Tiers triage by who notices, not by how much the pattern annoys you. Context can move a tell up or down.
bg-clip-text) headline text, reflexive glassmorphism. These are the memes.rounded-2xl shadow-lg on every surface, the default page shell (container mx-auto px-4, max-w-7xl), icon-in-a-rounded-square, the default four-column footer, dead hover/focus states, arrow glyphs stapled to CTAs, default-blue or indigo buttons, "Elevate your workflow" copy.fade-in-up on everything.Context matters: a centered hero is P0 on a generic SaaS page and fine in a luxury layout. Missing :focus-visible is also an accessibility defect, so treat it as high priority whatever its tier.
Adjust strictness to where the UI lives. Auto-detect from the stack and structure; state which profile you are using.
| Profile | How to treat it |
|---|---|
landing / artifact | Full strength. Reward boldness. This is where a real direction matters most. |
marketing-page | Full strength on type, color, layout, and copy. |
app-component | Surgical. Fix the tells, keep the component's contract and structure. |
inside-design-system | Surgical only. Respect existing tokens and primitives. Do not fight the system; flag system-level tells separately as advice. |
dashboard | Favor density, legibility, and information hierarchy over decoration. |
When the code is about AI design patterns (a demo, a teaching example, a "what not to do" gallery, or this skill's own docs), illustrative slop is intentional. Treat it as exempt only when there is a concrete signal: a sibling comment that marks it (e.g. slop-example), a path under examples/, fixtures/, __mocks__/, or stories/, or text explicitly labeled illustrative. Flag patterns in the real interface only.
The catalog is written for HTML/CSS and React/Tailwind/shadcn because that is what AI tools emit most. The principle is framework-agnostic: a default left untouched is the tell. Untouched MUI (Roboto and blue), Chakra, Bootstrap (btn-primary blue), or Mantine defaults read as AI for the same reason. Apply the same audit, swapping the specific class and token names.
The goal is a UI that looks like a person with taste made it, not a UI that is loud for its own sake. Restraint executed well beats maximalism applied blindly. If the original is already strong, make the few cuts it needs and stop. Match the intensity of the rewrite to the artifact: a settings panel does not need a hero animation.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.