e2e
БесплатноЗапускает вложенные скриптыНе проверенResolve this project's browser end-to-end stack before /e2e or e2e-runner writes tests. Reads the project e2e.json override, or discovers the start command…
от fmflurry★ 173 звезды на GitHubОб этом скилле
E2E stack
why-not-tooled: choosing which journey to cover is a judgment. The start command, ports, and runner are read from the project file or the manifests.
/e2e and e2e-runner load this skill first. Run scripts/resolve.mjs from this skill's directory:
node scripts/resolve.mjs --root <repository-root> --harness <cursor|opencode|claude>
--harness is cursor in Cursor, opencode in OpenCode, and claude in Claude Code. Omit it and the script uses the same environment detection as verify-this (VERIFY_HARNESS, then Cursor, then Claude, then OpenCode). The script prints JSON. It does not start servers or run tests.
Project override
The file is e2e.json, version 1. The loader checks the current harness first, then .cursor/skills/e2e/e2e.json, .opencode/skills/e2e/e2e.json, and .claude/skills/e2e/e2e.json. The first file that exists wins. A missing file is skipped. An unreadable file or a version other than 1 is an error and is not replaced by discovery.
{
"version": 1,
"start": ["npm run dev"],
"ports": [3000],
"baseUrl": "http://127.0.0.1:3000",
"test": "npm run test:e2e",
"cwd": "e2e",
"runner": "playwright",
"skills": []
}
start may be one string. startOwnedByRunner: true means the test runner starts the app. skills names playbook skills to load. Load a playbook only when the override names them. Shipping playwright-e2e-authoring or playwright-e2e-review with the harness does not turn them on.
A project that does not want browser end-to-end tests opts out:
{ "version": 1, "enabled": false }
excluded: true means stop. Do not create tests and do not start a stack. Consumers that do not want the optional Playwright playbooks omit playwright-e2e-authoring and playwright-e2e-review when they vendor the harness.
Discovery
With no override, the script reads, in order:
package.jsonscriptstest:e2e,e2e,e2e:ci(package manager from the lockfile: bun, pnpm, yarn, then npm; the command is<pm> run <script>)- a Playwright config at the repository root or
tests/playwright/playwright.config.*(baseURL,webServer.command,webServer.url) @playwright/testorplaywright, thennpx playwright test- Cypress, then
npx cypress run - a root
Makefiletargete2e, thenmake e2e devorstartas the start command when the Playwright config has nowebServer.command
source: "none" means nothing runnable was found. Report that and stop. Do not invent a framework, a port, or a process manager.
Headed, UI, and report commands are set only when the package has test:e2e:headed, test:e2e:ui, or test:e2e:report (or the e2e:* names).
What the agent does with the JSON
ok: false: reporterrorand stop.excluded: true: stop.source: "none": stop.- Otherwise run
startunlessstartOwnedByRunneris true, write tests incwdfollowing the project's existing layout and anyCLAUDE.mdorAGENTS.mdnext to those tests, then runtest.
Установить e2e в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл e2e?
Resolve this project's browser end-to-end stack before /e2e or e2e-runner writes tests. Reads the project e2e.json override, or discovers the start command, ports, and test runner. Use when running end-to-end tests, Playwright, or Cypress. A project sets enabled to false to opt out.
Как установить скилл e2e?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл e2e запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic