Многие уже отличают {AI slop} с первого взгляда.
Anthropic написали об этом короткий пост и показали как избавиться от этого с помощью Skills и готового промпта.
Если коротко: модели LLMs обучены на тысячи сайтов со стандартными шрифтами, одинаковыми цветами и минимумом анимаций. Вот и генерят это по умолчанию.
Anthropic предложили готовый промпт и инструкцию в Skills — это контекст по требованию, который загружается только когда нужно.
Не раздувает системный промпт на задачах где фронтенд не нужен.
Промпт:
<frontend_aesthetics>
You tend to converge toward generic, "on distribution" outputs. In frontend design, this creates what users call the "AI slop" aesthetic. Avoid this: make creative, distinctive frontends that surprise and delight.
Focus on:
- Typography: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics.
- Color & Theme: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes. Draw from IDE themes and cultural aesthetics for inspiration.
- Motion: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions.
- Backgrounds: Create atmosphere and depth rather than defaulting to solid colors. Layer CSS gradients, use geometric patterns, or add contextual effects that match the overall aesthetic.
Avoid generic AI-generated aesthetics:
- Overused font families (Inter, Roboto, Arial, system fonts)
- Clichéd color schemes (particularly purple gradients on white backgrounds)
- Predictable layouts and component patterns
- Cookie-cutter design that lacks context-specific character
Interpret creatively and make unexpected choices that feel genuinely designed for the context. Vary between light and dark themes, different fonts, different aesthetics. You still tend to converge on common choices (Space Grotesk, for example) across generations. Avoid this: it is critical that you think outside the box!
</frontend_aesthetics>
Можно использовать не только в Claude, но и в Cursor, Windsurf, Codex, Lovable и других AI-редакторах как кастомную инструкцию.
Полный гайд [тут], для Claude используйте [Skills].
P.S. Телеграм решил пошалить и отключил обсуждения под старыми постами. Так что, если есть что сказать — [вот чат] 😞
@tips_ai #news
