Gride.pro/ Lab
Загружаем локальные настройки…
← К базе
От ДанилаСкилл

Проверь живой сайт на шаблонный AI-дизайн в реальном браузере

Единый отчёт по вёрстке, контрасту и AI-штампам на 1280px и 390px.

Нужна настройка

Как это работает · схема
  1. 1280px / 390px
  2. Light / Dark
  3. Детектор
  4. Отчёт
Материал

slop-scan

Обновлено 4 клиента

Агент сверит требования с первоисточниками и спросит разрешение до установки. lab.gride.pro сам ничего не запускает.

Подробнее

Проверь живой сайт на шаблонный AI-дизайн в реальном браузере

Скилл прогоняет детектор визуальных антипаттернов и ручной осмотр по 4 комбинациям (desktop 1280 / mobile 390 x light / dark). Отлавливает вложенные карточки, градиентный текст, плоскую типографику, слабый контраст и переполнение.

Клиенты и условия

Claude CodeCodexAntigravityCursor
Версии и подробности
Claude Code

Положи SKILL.md в .claude/skills/<slug>/SKILL.md или ~/.claude/skills/<slug>/SKILL.md.

macOS / Linux / Windows · Версия клиента: не указана

Codex

Положи SKILL.md в ~/.codex/skills/<slug>/SKILL.md.

macOS / Linux · Версия клиента: не указана

Antigravity

Положи SKILL.md в ~/.agents/skills/<slug>/SKILL.md или .agents/skills/ проекта.

macOS / Linux · Версия клиента: не указана

Cursor

Адаптируй текст в .cursor/rules/ как правило или команду.

macOS / Linux / Windows · Версия клиента: не указана

Перед началом

  • Node >= 22, npx и браузер семейства Chromium (или локальный dev-сервер на безопасных данных).

Риски и ограничения

  • Не направляй dev-проверку на продакшен-БД с персональными данными.

Как проверить результат

Есть сводка по каждому разрешению и теме, проверено отсутствие горизонтального скролла и ошибок консоли.

Помогло на практике? Отметь результат для себя (сохраняется только в этом браузере).

Шаги и код для установки

2 шага

Агент может прочитать эти шаги сам по /r/gride-slop-scan/agent.md, либо ты можешь забрать их вручную ниже.

Показать порядок действий и текст
Подготовка

Запусти локальный стенд, открой основные маршруты на 1280px и 390px и прогони проверку.

1Сохрани SKILL.md в папку скиллов агента

Создай SKILL.md для slop-scan с инструкцией прогона через headless Chromium.

---
name: slop-scan
description: >-
  Automatically audit a live website or web app for AI-slop in UI/UX: runs the
  impeccable detector in a real headless browser across pages, desktop and mobile
  widths, light and dark themes, and returns one deduplicated report (nested cards,
  gradient text, default AI palette, flat type hierarchy, stragglers, etc.). Use when
  the user asks to scan/check/audit a site or app for AI slop, "проверь на ии-слоп",
  "просканируй на слоп", "выглядит ли это ИИ-шно", "slop scan", or after redesign work
  to verify the AI look is gone. Works for any project that serves HTML on a URL or
  has HTML/CSS files. Detection only; to fix findings hand off to kill-ai-slop or impeccable.
---

# slop-scan

Runtime AI-slop audit for any web UI. The detector is `impeccable detect` (npm, Apache-2.0, run via `npx`, pinned in the script). The script drives a real Chromium so element rules run (contrast, nested cards, type hierarchy, stragglers), which a file/dir scan cannot do.

## Requirements (check first, tell the user what is missing)

- Node >=22 and `npx` (`node -v`). Older Node fails: the script uses the built-in WebSocket.
- A Chromium-family browser installed (Chrome, Chromium, Brave, Edge). No Playwright/Puppeteer needed.
- Internet on first run: `npx` downloads the detector from npm (about a minute, then cached).
- Scripts path: below, `<SKILL_DIR>/` is the personal install. If the skill lives elsewhere (project `.claude/skills/`, another agent), use the real path of this folder.
- Tested on macOS only. Linux and Windows paths are written but not tested; if the scan fails there, run `--selftest` and report the error text.

## Steps

1. **Get a URL.** Ask nothing if one is obvious (running dev server, a public site, a URL the user gave). If the project must be started, find its run command from the project's README/CLAUDE.md and start it in the background.
   - Never point a dev server at production data: use a temp DB/data dir, or a read-only public URL. Scan only what you own or the user named.
   - If the app is a static site, file/dir targets also work, but see "Static mode".
2. **Run the scan:**
   ```
   npx impeccable detect <url>   # либо прогон через Playwright/CDP по 4 комбо: 1280px/390px x light/dark
   ```
   Defaults: desktop 1280 + mobile 390, light + dark. `--crawl N` adds up to N more same-origin pages from links (one per path; skips logout/delete/api links). For pages behind login or not linked from the home page, pass their URLs explicitly. Options: `--viewports`, `--themes`, `--out`, `--detector latest`, `--chrome PATH`. Needs Node >=22 and any Chromium-family browser (auto-detected, or `CHROME_BIN`).
3. **Read `report.md`** (path printed at the end). Exit code: 0 clean, 2 primary findings, 1 scan error.
4. **Triage honestly:**
   - `primary` findings are slop to fix. `advisory` are polish (straggler, flat type hierarchy): report them, fix cheap ones, but a deliberate design choice (documented compact type scale, brand style) is a reason to keep, say so.
   - Read "Coverage notes" and "Errors" in the report and relay them. A clean result with notes is not a clean bill of health.
   - Findings repeated across all combos are systemic (shared CSS); findings only in mobile/dark are conditional.
5. **Look at it yourself.** The detector only knows listed patterns. Take a screenshot of the main screens (light + dark, desktop + mobile) and judge the rest: generic hero copy, emoji as icons, stock card grids, invented stat rows, decorative gradients. State what the scan did not cover.
6. **Fix (only if asked):** hand to `kill-ai-slop` (source-level fixes) or `impeccable`. Respect project design docs and any freeze on UI changes. Then re-run the same command and compare. Small CSS-only fixes (for example `text-wrap: pretty`) are fine to apply directly when the user asked for fixes.
7. **Report:** counts by rule, which pages/combos, what was fixed, what is still unscanned (pages behind auth, expanded/lazy content, states like hover/modal/empty). Never claim "no AI slop", only "no detector findings in X".

## Static mode (files/dirs)

`npx impeccable detect ./dist` runs the detector on static HTML/CSS files. HTML files get parsed rules; CSS/JS-in-templates get regex only. If the HTML is generated by JS or a server, a dir scan returns 0 and means nothing. The report says so; scan the running app by URL instead.

## Pitfalls learned (do not rediscover)

- The detector's own URL mode (`detect http://...`) can fail with `Navigation timeout of 30000 ms` even when the server answers in ms. That is why the script uses `--cdp` against a Chrome it launches itself.
- `--cdp` leaves the page as found: no resizing or theme change. The script sets viewport and `prefers-color-scheme` through CDP emulation and keeps that session open during the scan, then verifies via `matchMedia` and the body background. A launch flag like `--blink-settings=preferredColorScheme=1` does NOT switch the theme.
- If light and dark backgrounds are identical, the site likely switches theme by a manual toggle or `data-theme`, not the media query. Dark was not scanned; scan again after setting that state, or tell the user.
- `--target` matches by substring and errors if several tabs match; the script targets by tab id.
- Do not pipe a command whose exit code you need (`| tail` masks it). Detector exit: 0 clean, 2 primary findings, 1 target could not be scanned.
- First run downloads the detector via npx (network). Detector is third-party code from npm; version is pinned (`--detector latest` to upgrade deliberately).
- Report goes to a temp dir by default, not into the project. Keep it out of the repo unless asked.

## Self-check

`npx impeccable detect --help` serves a deliberately sloppy page and fails if the pipeline, browser emulation, or detector is broken. Run it when the scan returns 0 on a site that should have findings, or after changing the script.
2Запусти скан локального URL

Укажи адрес запущенного сайта или dev-сервера.

/slop-scan http://127.0.0.1:3035

Источники

Инструкция для агента: slop-scanlab.gride.pro
Условия использования источника

Авторский материал Данила (gride.pro). Свободно используй и адаптируй под свои задачи.

Gride.pro - сайт автораgride.pro
Условия использования источника

Основной сайт и контакты автора.

Личная заметка

Хранится только в этом браузере, никуда не отправляется.

Продолжить изучение

Похожие материалы

Личная оценка

Сохраняется только в этом браузере.

Помогло?
Удалось решить задачу?

Можно пропустить.

Фильтры

Раздел
Сложность

Определяется по типу материала.

Тип материала

Можно не выбирать

Ручное копирование

Подбери базу под свой стек

Пара ответов - и подходящие скиллы и сборки поднимутся наверх. Хранится только в браузере.

С чем ты работаешь?
Опыт с ИИ-инструментами
Какие темы нужны?

Поделиться

Заметка

Видна только тебе: хранится в этом браузере и никуда не отправляется.

В коллекцию

Новая коллекция