prowler-ui-browser-review
БесплатноБез исполняемых скриптовНе проверенBrowser sign-off for user-visible Prowler UI changes: when to drive a browser and when to hand over a URL, running the app, viewports, what to check, and the…
от prowler-cloud★ 15 363 звезды на GitHubОб этом скилле
When to Drive a Browser
No unit test loads a real page, so a rendering change is only verified once someone looks at it. Drive a browser when the outcome is uncertain:
- Flows that carry state: wizards, modals opened from menus, the side panel, multi-step forms.
- Layout that can reflow: tables, mobile widths, the side panel pushing
<main>(breakpoints are container queries there). - Server/client boundary changes, such as filter props passed from a Server Component. jsdom tests skip that hop; only the real page throws.
- Data that loads after first paint and could push content down.
- Final sign-off of a substantial user-visible change.
When to Hand Over a URL Instead
For a small visual change you are confident about (a token, a label, an icon), say what changed, give the exact URL, and name what you did not check. Do this only while a developer is there to look. If nobody is around and the change is user-visible, check it yourself.
Run the App
# From the repo root: local API (Django, Postgres, Valkey, worker) on :8080
docker compose -f docker-compose-dev.yml up -d api-dev worker-dev
# UI on :3000. First run only: create ui/.env.local (an existing file is left alone)
cd ui
[ -f .env.local ] || cat > .env.local <<EOF
UI_API_BASE_URL=http://localhost:8080/api/v1
AUTH_URL=http://localhost:3000
AUTH_SECRET=$(openssl rand -base64 32)
AUTH_TRUST_HOST=true
EOF
UI_API_BASE_URL=http://localhost:8080/api/v1 pnpm run dev
lib/env.tsstops the boot whenUI_API_BASE_URL,AUTH_URLorAUTH_SECRETis missing. Next does not read the root.envfromui/; that file lists the other UI variables.- To point an existing
.env.localat another API for one run, set the variable on the process:UI_API_BASE_URL=<url> pnpm run dev. A value already in the environment wins over.env.local. - Reuse a dev server that is already running; do not start a second one on another port.
- Authenticated routes need a signed-in user. Never type a developer's real password: ask them to sign in, or use a test account created for the local stack.
- Cloud-only screens (Realtime, Lighthouse v2, upgrade prompts) render only with
UI_CLOUD_ENABLED=trueand an API that serves them.
Review Loop
- Open the changed route and exercise the main path the change affects.
- Check the three widths the PR template asks for: mobile (375×812), tablet (768×1024) and desktop (1440×900).
- Open the side panel on the changed page:
<main>shrinks and itssm:…2xl:variants follow its width, not the viewport. - Check loading, empty and error states. Throttle the network or point at an empty tenant if needed.
- Check for layout shift: read element positions (
getBoundingClientRect) at first paint and after data loads. Screenshots alone miss it. - Use the keyboard: tab order, visible focus,
Esccloses overlays and returns focus. - Read the browser console for hydration errors and "Functions cannot be passed directly to Client Components".
Tools
- Use the browser automation your agent has: the Claude desktop Browser pane, the
playwrightMCP server from the repo.mcp.json, or your editor's browser. next-devtools(also in.mcp.json) reads build errors, runtime errors and routes from the runningnext dev.- Never reuse a developer's personal browser session unless they ask for it.
Evidence
Report the flow you reviewed, whether it worked, any regressions, and what you did not check. Post screenshots for the three widths on the PR, not only in chat. For flows, a short recording beats a list of screenshots.
Commands
cd ui
pnpm run test:integration # browser-mode Vitest (real layout, React Compiler on)
pnpm run test:e2e # Playwright E2E against a running stack
Resources
ui/AGENTS.md: verification by change typeprowler-test-ui: write a Playwright spec when the flow needs a permanent guard
Установить prowler-ui-browser-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGlobGrepBashFAQ
Что делает скилл prowler-ui-browser-review?
Browser sign-off for user-visible Prowler UI changes: when to drive a browser and when to hand over a URL, running the app, viewports, what to check, and the evidence to post on the PR. Trigger: When a UI change affects layout, styling, navigation, responsive behavior, loading/empty/error states or a multi-step flow, and before calling user-visible UI work done.
Как установить скилл prowler-ui-browser-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prowler-ui-browser-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic