Setup
Check playwright-cli and browser prerequisites (check, read-only) or resolve findings (apply; apply install-cli runs global CLI install).
от melodic-software★ 34 звезды на GitHub
Установить Setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Setup
Pre-computed context
check's playwright-cli probe ran at load time. Read this row instead of re-issuing it; it shows
the tool's path when present, or absent when missing:
playwright-cli: !command -v playwright-cli 2>/dev/null || echo absent
A row reading [shell command execution disabled by policy] carries no result: run that tool's
command -v probe via Bash instead.
- Pointer: for the placeholder a skipped load-time command leaves, fetch skills § Inject dynamic context live.
- As of: 2026-11-11
- Recheck trigger: the placeholder text changes.
Purpose
Thin check-centric setup per the uniform setup contract (docs/plugin-philosophy.md
"Setup is explicit and repeatable" in the marketplace repository): check inspects and
reports, apply resolves. This plugin owns no consumer-project configuration and no
userConfig. It recommends @playwright/cli's own defaults, so the only tunable
prerequisite is the CLI binary itself. apply is guidance-and-verify with exactly one
write path: the explicitly invoked apply install-cli global npm install described
below.
Action routing: no argument or check runs the check; apply runs the check first, then
offers the resolution for each finding; apply install-cli additionally authorizes the global
CLI install. All are non-interactive. Never prompt when the action is given.
check (read-only)
The main skill and its reference files are the single source of truth for what the CLI
requires: ${CLAUDE_PLUGIN_ROOT}/skills/playwright/SKILL.md (Prerequisite + quick start) and
${CLAUDE_PLUGIN_ROOT}/skills/playwright/reference/ (commands.md, windows-quirks.md).
Read it first. Probe what it actually does, don't recite this file. Then read the
pre-computed playwright-cli row, run the remaining probes via Bash, and report a PASS/FAIL/INFO
table with one remediation line per FAIL. Do not modify anything.
playwright-clibinary. The pre-computedplaywright-clirow (the binary name the skill drives; the npm package is@playwright/cli). FAIL if absent. Remediation isapply install-clibelow. When present, report the version (playwright-cli --version).- Browser availability. The CLI needs a browser beyond its own install. Per the plugin's
own
skills/playwright/reference/windows-quirks.md, local sessions on Windows/macOS/Linux auto-detect system Chrome, while a sandboxed/cloud session must runplaywright-cli install-browserand that download can be egress-blocked. INFO: state whether a system browser is resolvable on this host and, when it is not, surface theplaywright-cli install-browserstep and the sandbox-egress caveat from that reference. Do not assert a browser requirement the shipped docs do not; read them and report what they say. - Artifact directory. INFO: artifacts land in
.playwright-cli/relative to the working directory; note whether it is gitignored in the current project (the skill recommends adding it). No write. Reporting only.
apply (idempotent)
Run check, then for each FAIL offer the resolution. apply install-cli is the one write
path. State the change before running it:
- CLI absent.
apply install-clirunsnpm install -g @playwright/cli. This is a global install that mutates the user's machine (the global npm prefix), stated before it runs; without theinstall-cliargument,applyonly prints this command for the user to run. After the install, re-runcommand -v playwright-cliand report the actual result. Never claim success on npm's exit code alone. - browser not resolvable. Point at
playwright-cli install-browserper the plugin's reference, and note the sandbox-egress caveat when relevant. Guidance only. This skill does not provision browsers. .playwright-cli/not gitignored. Suggest adding it to the project.gitignore; guidance only, no edit.
The vendored-baseline update flow (/playwright:playwright update) is not this skill's
job. Point at it, do not wrap it. Re-running apply when everything already passes changes
nothing and reports "already configured".
What this skill does not do
- Write the plugin cache, Claude Code user settings, or
pluginConfigs. Nor project files. The one explicitly invokedapply install-cliglobal npm install is the only write it performs. - Provision browsers, run E2E flows, or take screenshots. That is
/playwright:playwright. - Run or wrap the maintainer update flow (
/playwright:playwright update).
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(command -v playwright-cli*)
Вложенные файлы
- evals/evals.json
FAQ
Что делает скилл Setup?
Check playwright-cli and browser prerequisites (check, read-only) or resolve findings (apply; apply install-cli runs global CLI install).
Как установить скилл Setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…