frontend-manual-testing
БесплатноБез исполняемых скриптовНе проверенUse when the task changes anything a user sees in a web app - booting it, driving flows with the browser tools, the four-width check, console/network/keyboard…
от makifbaysal★ 123 звезды на GitHubОб этом скилле
Frontend Manual Testing
Overview
A frontend task is verified by rendering it: boot the app, drive the changed flows in a real browser, and look at what the user would see. Screenshots are mandatory evidence — a UI verdict without having looked at the screen is an untested claim.
Preconditions: case matrix recorded with record_test_cases (scenario-plan-first), covering both functional cases (per AC) and visual cases (layout, states, responsiveness); environment chosen per test-environment-selection.
Booting
- First choice
start_task_preview(test-environment-selection); only when it cannot run the project, install and start per the project's declared commands (npm ci+ dev/preview script, or the repo'sbuild_command) with the log at$QA/dev.log, never/tmp/dev.log. Point the app at the local backend you booted (backend-manual-testing) or at the stage API base URL — the API base is usually an env var (VITE_API_URLor similar); read the project's config, don't guess. - Confirm the page actually loads before scenario work: a blank page with console errors is finding #1.
- Confirm the app is talking to the real backend, not mock data (MSW/
VITE_USE_MOCKS/fixtures):requestsfrom playwright-cli (below) or the backend's own access log shows the actual calls.
Shared browser
The browser tools' session is shared with every agent running right now — there is one headless browser for the whole server. Each screenshot result prints url: and viewport WxH: confirm both are what you set before judging the image; a mismatch means another run moved it — re-navigate, re-set the viewport, retake. If the page suddenly shows a login screen, log in again.
Driving flows and taking screenshots
The browser tools are the primary way to drive the app — no local Chromium setup, no script files:
browser_navigateto the page under test.browser_wait_forthe element or text that proves the page rendered (an eternal spinner or a timeout here is finding #1 — never screenshot a page you have not waited on).browser_screenshotthe screen at all four widths of the four-width check — phone (browser_set_viewport {device:"mobile", width:360}), tablet ({device:"tablet"}), laptop ({device:"desktop", width:1024}), desktop ({device:"desktop"}) — for every changed screen's resting state and its empty/error state. Each viewport switch emulates size, touch and the matching user agent together, and answers the responsive question in words: whether the page scrolls sideways and which elements overflow. Report what it says at each width; horizontal overflow is a finding.Never pass
widthtobrowser_screenshotafterbrowser_set_viewport— it re-emulates a bare viewport (no touch, no mobile UA) and silently discards the size you set. Check theviewport WxHline in every screenshot result matches the width you set.
Interactive flows (login, forms, dialogs): browser_fill each field, browser_click the submit or action element, browser_wait_for the post-action state (URL, toast, new element), then browser_screenshot the result. Use browser_read_dom for what a screenshot cannot prove — an input's actual value, a disabled/aria state, the exact error text.
The four widths apply to every changed screen's resting state and its empty/error state. Interactive flow steps are captured at 360 and 1440; a flow step needs all four only when a criterion is specifically about layout at that step. This keeps a round to roughly 20 screenshots instead of 80, with no loss on the standard: interactive states still get at least phone width.
Fallback — only for what the browser tools cannot do (console, network, keyboard; see below) or when they report Chrome is missing — drive the system's headless Chromium ($CHROME_BIN, /usr/bin/chromium, --no-sandbox in containers) via run_terminal, writing nothing into the workspace:
QA=${TMPDIR:-/tmp}/tt-<task-key>/qa; mkdir -p "$QA"
"$CHROME_BIN" --headless=new --no-sandbox --disable-gpu --hide-scrollbars \
--window-size=360,800 --screenshot="$QA/01-board-phone.png" http://localhost:5173/board
What the browser tools cannot see: console, network, keyboard
The browser tools show pixels and DOM, not the console, the network or the keyboard. For those, drive a second browser with playwright-cli from $QA — it uses the installed Chrome and does not share the browser tools' session, so log in again:
PW="npx -y @playwright/[email protected]"; cd "$QA"; $PW open --browser=chrome <url>
# walk the flow: $PW fill / click / press Enter
$PW console error # must be empty for the flow
$PW requests # no 4xx/5xx the UI swallowed, and calls go to the real backend, not mocks
$PW route "**/api/<dep>/**" --status=500 # repeat the action to see the dependency-down error state, no backend change needed
$PW close
Images from playwright-cli land as files you cannot view in API mode — pixels stay with browser_screenshot.
Установить frontend-manual-testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл frontend-manual-testing?
Use when the task changes anything a user sees in a web app - booting it, driving flows with the browser tools, the four-width check, console/network/keyboard checks and the visual checklist
Как установить скилл frontend-manual-testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл frontend-manual-testing запускает скрипты?
Нет, скилл состоит только из инструкций (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