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★ 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)
- 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. - Scan. Run the scanner over the files in scope.
- 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.
- 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. - 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.mdis vocabulary for naming moves, not a menu to pick from. - Review the plan against the defaults. Before touching code, check the plan against the second-order clusters (SD1-SD9), the on
Установить avoid-ai-design в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic