shopify/e2e-test-writing
> Guide for writing high-quality Playwright E2E tests for Hydrogen. Use when the user asks to "write e2e tests", "add playwright tests", "test this feature end-to-end", "write recipe tests", "add integration tests", or mentions Playwright, E2E testing, or test coverage for user-facing features.
npx skills add https://github.com/Shopify/hydrogen --skill e2e-test-writing
/e2e-test-writing - E2E Test Writing for HydrogenUse this skill when implementing or reviewing Playwright E2E tests in this repository.
/e2e-test-writing <task>
Examples:
/e2e-test-writing add recipe coverage for cart drawer quantity changes/e2e-test-writing review locator quality in e2e/tests/cart.test.tse2e/CLAUDE.md for all active test patterns and conventions.expect, expect.poll), never arbitrary timeouts.beforeEach when it improves clarity.e2e/CLAUDE.md before writing tests.pnpm exec playwright test --project=skeleton
Use narrower test paths during iteration, then run the appropriate full project suite before finishing.
Take shopify/e2e-test-writing from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.