Avoid Ai Design 标志

Avoid Ai Design

社区
funboy322
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.

概览

发布者funboy322
代码仓库avoid-ai-design
技能名称avoid-ai-design
星标数
127
复刻数
8
附带文件
28
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 28 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 funboy322 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Avoid Ai Design AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/funboy322/avoid-ai-design/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/funboy322/avoid-ai-design.git \
  .claude/skills/avoid-ai-design
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Avoid Ai Design,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Avoid Ai Design。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Avoid Ai Design 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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. Treat both orders as tells. See the SD section of 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:

bash
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

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-SD8) and your own recent passes. For each part, ask: would I arrive here for any similar page? If yes, revise it and say what changed. If a user is present, show the plan plus one or two alternatives in a sentence and pause. If you are running non-interactively, state the assumption in one line, proceed, and keep it easy to override.
  7. Calibrate depth. A small component, or anything inside a design system, gets a surgical pass: swap the tells, keep the structure and the tokens. A standalone page gets a rebuild around the direction. A ground-up build overlaps with the frontend-design skill; if it is available, hand it the reviewed plan rather than duplicating its job.
  8. Rewrite. Edit the real files. Preserve functionality, props, state, routing, data flow, accessibility, and the meaning of the copy. Do not add dependencies silently; name any you introduce. For multi-page work, write the plan into a DESIGN.md from references/design-md-template.md (or extend the existing one), and build every page from it.
  9. Re-scan and judge. Run the scanner again: no P0, and no SD tell the brief did not ask for. Then judge the result against "What success means." A clean scan is necessary but not sufficient.

What success means

"Less obviously AI" is not the goal. A token-swap (indigo to teal, Inter to a trendier face, drop the emoji) clears every P0 and still leaves a forgettable template. Judge the result against these tests:

  1. Justified. Every change serves the committed direction, and the direction traces back to the subject.
  2. Coherent. The type, palette, layout, and signature detail reinforce one another. One idea, executed. Spend the boldness in one place.
  3. Not a second-order default. It does not land in an SD cluster the brief did not ask for, and it does not repeat your recent passes (the cream-and-terracotta move, the near-black-and-lime move, the mono-chrome move). If you would have produced it for any similar page, it failed.
  4. Consistent (whenever it is not the only page). It shares its siblings' tokens, nav, footer, and type scale, so it reads as the same product. Vary across projects (test 3); never within one.

A page can pass the scanner and still fail every one of these. The catalog catches clichés; these tests catch mediocrity.

Severity tiers

Tiers triage by who notices, not by how much the pattern annoys you. Context can move a tell up or down.

  • P0, a layperson recognizes it as AI-made. The purple-to-blue gradient, Inter for everything, an untouched shadcn base theme, gradient (bg-clip-text) headline text, the centered-hero-over-three-cards template. These are the memes.
  • P1, a designer or developer recognizes it. The second-order clusters (SD), rounded-2xl shadow-lg on every surface, the default page shell, icon-in-a-rounded-square, the default four-column footer, stock Aceternity / Magic UI effects, dead hover and focus states, arrow glyphs stapled to CTAs, "Elevate your workflow" copy.
  • P2, craft and polish gaps. Flat spacing with no rhythm, the same fade-up on everything, bounce easing, generic CTA labels.

Context matters: a centered hero is P0 on a generic SaaS page and fine in a luxury layout. Missing :focus-visible, muted text below AA, and motion that ignores reduced-motion are accessibility defects, so treat them as high priority whatever their tier.

Context profiles

Adjust strictness to where the UI lives. Auto-detect from the stack and structure; state which profile you are using.

ProfileHow to treat it
landing / artifactFull strength. Reward boldness. This is where a real direction matters most.
marketing-pageFull strength on type, color, layout, and copy.
app-componentSurgical. Fix the tells, keep the component's contract and structure.
inside-design-systemSurgical only. Respect existing tokens and primitives. Do not fight the system; flag system-level tells separately as advice.
dashboardFavor density, legibility, and information hierarchy over decoration.

Guardrails

  • Never break working code. Props, state, routing, data fetching, and accessibility survive intact. Behavior is not yours to change.
  • Do not trade one cliché for another. A second-order default is still a default. The fix for purple is not cream and terracotta, and the fix for cream is not near-black and lime. Vary across runs and justify every choice by the subject.
  • The brief wins. An existing design system, brand guidelines, a named framework, or a font or color the user picked outranks your taste, including when it asks for one of the SD looks. Match it, never override it, and mark it with an ignore comment so the scanner stops flagging it.
  • Keep one design system across pages. When the work spans more than one page, lock a single contract (color, type, spacing, radius, nav, footer, shared components) in DESIGN.md and reuse it verbatim. Regenerating each page from scratch reverts to the training median, so page two drifts from page one. That is design-system drift (catalog X1), and it reads as AI as loudly as any single tell. If a token you need does not exist, add it to the contract or ask. Do not invent a one-off.
  • Evidence, not accusation. A tell shows a default nobody chose. It never proves a model made the page, and much of it is Tailwind and shadcn as installed. Report defaults; do not speculate about authorship.
  • Do not manufacture problems. If the UI is already distinctive and intentional, say so and stop. A clean audit is a valid result.
  • Keep the copy's meaning. You may sharpen generic microcopy, but do not invent claims or change what the product says about itself.

Self-reference escape hatch

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 (slop-example), a path under examples/, fixtures/, __mocks__/, or stories/, or text explicitly labeled illustrative. The scanner applies the same rule. Flag patterns in the real interface only.

Beyond HTML and React

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.

Output format

rewrite mode

  1. Audit. Every tell found, grouped by severity, each with its ID, location, a one-line reason, and a code-certain / rendered / inferred tag. Lead with the scanner summary when you ran it.
  2. Plan. The direction and where it comes from in the subject, the compact token plan, what you revised in the default review (step 6), and one or two alternatives in a sentence. If interactive, this is where you pause.
  3. Rewrite. The edited code, at the calibrated depth, plus DESIGN.md for multi-page work.
  4. What changed. A short summary of the meaningful moves, not a line-by-line diff.
  5. Re-scan and judgment. The scanner's second pass, then the four success tests. Fix anything that fails.

detect mode

  1. Audit. Every tell found, grouped by severity (P0/P1/P2), with IDs, locations, and a code-certain / rendered / inferred tag.
  2. Assessment. For each flag, whether it is a clear problem or a judgment call. Some patterns are fine in context (one gradient, used well, is not slop; a cream palette the brief asked for is a choice). Say which to fix and which to leave.

Don't over-design

The goal is a UI that looks like a person with taste made it for this subject, 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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Avoid Ai Design AI 技能有什么作用?

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...

为什么在 TypingMind 中使用 Avoid Ai Design?

因为您只需安装一次,就能搭配任何模型使用。Avoid Ai Design 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Avoid Ai Design?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/funboy322/avoid-ai-design/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Avoid Ai Design?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Avoid Ai Design 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Avoid Ai Design 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Avoid Ai Design AI 技能免费吗?

是的。funboy322 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇