Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

avoid-ai-design

БесплатноБез исполняемых скриптовНе проверен

Audit and rewrite frontend UI to remove generic AI design patterns ("AI slop"), both the first-order defaults (purple gradients, Inter, a centered hero over…

funboy322от funboy322★ 182 звезды на GitHub

Об этом скилле

Avoid AI Design: Audit & Rewrite

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.

There are two orders of default. The first is the median: purple gradient, Inter, three icon cards. The second is the tasteful escape that became the new median: cream with terracotta, near-black with one acid-green accent, all-caps mono labels, one colored word in the headline, decorative 01/02/03. Anthropic's own frontend-design skill lists these clusters, and de-slop passes (this skill's included) land in them constantly. OpenAI's GPT-5.5 frontend guide now names the next escapes too: dark blue or slate, brown or espresso with orange, beige or sand, and the one-note palette built from a single hue. Treat all of them as tells. See the SD section and C10 in references/ai-tells-catalog.md.

Code shows half of it; pixels show the rest. Some tells live in the source (a literal from-indigo-500, Inter, a lucide import); the scanner finds those. Others are visual: whether a palette has a real dominant color, whether spacing has rhythm, whether the structure is the same as every other page. Render when you can. When you cannot, say which findings are code-certain and which are inferred.

Modes

rewrite (default): Audit the code, commit to a direction, then rewrite it.

detect: Audit and score only. No edits. Use this mode when:

  • The user wants to see what is flagged and fix it themselves.
  • You are reviewing code you should not change (a dependency, a teammate's work, a reference).
  • The user asks for a quick scan.

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.

The scanner

scripts/detect.mjs finds the code-certain tells (marked ⚙ in the catalog) with no model call and no dependencies. Run it first whenever Node 18+ is available:

node <skill-dir>/scripts/detect.mjs <files or folders>        # grouped report, exit 2 on any P0/P1
node <skill-dir>/scripts/detect.mjs --json <files or folders>  # for your own parsing

Each file also gets a stack: the number of distinct tells in it. Six or more reads as a template (in a 2026 count of 120 AI-built pages, 57 had six or more), so judge the stack before any single hit. Treat its output as the code-certain half of the audit, not the whole audit: it cannot see palette weight, rhythm, hierarchy, or structure-level sameness. It skips examples/, fixtures/, stories/, and files marked slop-example unless given --include-examples, and it honors avoid-ai-design-ignore: <ID> comments for choices the brief asked for. Without Node, walk the catalog by hand.

Workflow (rewrite mode)

  1. Scope. Read the actual files first. Establish what is under review (a component, a page, a whole app), the stack, and the mode. Look for a design system to stay consistent with: a DESIGN.md (Google's open format, also written by Stitch and other design skills), a tokens file or :root, a component library, sibling pages, or a font and color the user chose themselves. Note whether the work spans more than one page. Never judge from the prompt alone.
  2. Scan. Run the scanner over the files in scope.
  3. Render. If a screenshot or preview tool is available, render the artifact and judge the 👁 tells from pixels. Run the silhouette test on pages: reduce the screenshot to a small black-on-white block silhouette and ask whether it could be any other product's page (catalog L9). Squint at 25% for flat density. Without a render, mark visual tells as inferred, lower-confidence.
  4. Audit. Merge the scan, the render, and a pass through every category in references/ai-tells-catalog.md, including the SD section. For each tell: location, ID, severity, one line on why it reads as AI, and whether it is code-certain, rendered, or inferred.
  5. Ground and plan. If a design system exists, it is the direction: adopt it as a contract and match it exactly. Otherwise, derive the direction from the subject, not from a style menu. Ask what the product is, who uses it, and what its world is made of (materials, place, era, the domain's own artifacts and vernacular). Write a compact plan: 4-6 named colors with roles, the faces and their roles, the layout idea in a sentence, and the one signature detail. references/aesthetic-directions.md is vocabulary for naming moves, not a menu to pick from.
  6. Review the plan against the defaults. Before touching code, check the plan against the second-order clusters (SD1-SD9), the on
Полный SKILL.md на GitHub

Установить avoid-ai-design в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.gitignoreCHANGELOG.mdLICENSEREADME.md

FAQ

Что делает скилл avoid-ai-design?

Audit and rewrite frontend UI to remove generic AI design patterns ("AI slop"), both the first-order defaults (purple gradients, Inter, a centered hero over three cards, untouched shadcn) and the second-order "tasteful AI" ones (cream with terracotta, near-black with acid green, all-caps mono chrome, one accented headline word, decorative 01/02/03). Use when asked to "de-slop a UI", "make a design look less AI-generated", "audit a page or component for AI design tells", "fix Claude/Codex-generated frontend that looks generic", or keep a multi-page site on one design system. Covers HTML/CSS and React/Tailwind/shadcn. Has a detection-only mode and a zero-dependency scanner (scripts/detect.mjs) for the code-certain tells.

Как установить скилл avoid-ai-design?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл avoid-ai-design запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить avoid-ai-design с