10x-e2e

Generates and verifies risk-driven Playwright E2E tests against a running application.

Updated May 20, 2026
One-click install
npx skills add https://github.com/Oskarovsky/Sprinter --skill 10x-e2e-oskarovsky
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 10x-e2e
Source: https://github.com/Oskarovsky/Sprinter/tree/main/.cursor/skills/10x-e2e
Command: npx skills add https://github.com/Oskarovsky/Sprinter --skill 10x-e2e-oskarovsky

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Agent-generated E2E tests often pass today but break on the first refactor or fail to catch real regressions. This Skill drives an approved technical plan's browser-level phases one risk at a time, ensuring each Playwright test actually protects a named risk and survives tomorrow's changes. ## Core Features & Use Cases - Risk-driven test generation: Picks browser-level risks from a test plan and produces one reviewed test per risk using a seed exemplar and E2E quality rules. - Five anti-pattern review: Checks every generated test against hallucinated assertions, brittle selectors, shared state, wait-for-time, and missing cleanup, then re-prompts by name. - Deliberate-break verification: Confirms each test goes red when the protected behavior is broken, proving the assertion is not decorative. - Use Case: After building a flashcard save feature, run the Skill on the plan's E2E phase to generate a Playwright test proving data survives a page reload, verified by temporarily breaking the save logic. ## Quick Start Ask the AI to drive the E2E phases of your approved plan by running /10x-e2e with your change-id, for example to generate a Playwright test for a specific browser-level risk.

Frequently Asked Questions about 10x-e2e

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Playwright E2E tests from a test plan?

Provide a change-id or plan path and the Skill picks each browser-level risk, maps the flow against the running app, and generates one test per risk from a seed exemplar. Each test is reviewed against five anti-patterns and verified green before completion.

What makes an AI-generated E2E test reliable?

Reliable E2E tests use role-based locators like getByRole, run independently with their own setup and cleanup, wait for state instead of time, and assert a business outcome tied to a named risk. A deliberate-break check confirms the test fails when the risk materializes.

Does this work with Cypress or Selenium instead of Playwright?

The shipped seed, rules, and prompt template are tuned for Playwright, but the principles are tool-agnostic. On Cypress, WebdriverIO, or Selenium you encode your tool's locator and wait idioms into your own variant of the rules file.

When should I not write an E2E test for a phase?

Skip E2E when an isolated function, endpoint contract, or integration test can prove the risk, such as pure logic, validators, config, or scaffolding. E2E fits only risks crossing several system boundaries or existing solely in the rendered UI.

Why does my E2E test pass but not catch regressions?

The assertion is likely decorative, checking something like a page title instead of the business outcome the risk threatens. The deliberate-break technique inverts the protected behavior and confirms the test goes red, exposing assertions that protect nothing.