playwright-cucumber-expert

playwright-cucumber-expert is a skill for Claude Code, Codex from jmr85/e2e-agent-skills. It costs 91 tokens per session (1,790 once invoked), scanned A, original, MIT.

A guide for building end-to-end browser tests with Cucumber and Playwright. It covers readable Gherkin scenarios, TypeScript step definitions, browser setup, hooks, and test profiles.

In plain words
What is it for?
Use it to create or configure Cucumber and Playwright test projects, write Given/When/Then scenarios, connect steps to browser actions, manage test setup and cleanup, and run smoke or regression tests in CI.
Why use it?
It helps keep tests understandable to both developers and non-technical stakeholders while organizing the browser setup and repeated test actions. It also covers running selected groups of tests and producing reports.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or configure Cucumber and Playwright test projects, write Given/When/Then scenarios, connect steps to browser actions, manage test setup and cleanup, and run smoke or regression tests in CI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jmr85/e2e-agent-skills/playwright-cucumber-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jmr85/e2e-agent-skills --skill playwright-cucumber-expert
Clone the repo
git clone --depth 1 https://github.com/jmr85/e2e-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for playwright-cucumber-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/jmr85/e2e-agent-skills/playwright-cucumber-expert/github.svg)](https://agentmods.dev/skills/jmr85/e2e-agent-skills/playwright-cucumber-expert)
Your own site
<a href="https://agentmods.dev/skills/jmr85/e2e-agent-skills/playwright-cucumber-expert"><img src="https://agentmods.dev/badge/skills/jmr85/e2e-agent-skills/playwright-cucumber-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for playwright-cucumber-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/jmr85/e2e-agent-skills/playwright-cucumber-expert"><img src="https://agentmods.dev/badge/skills/jmr85/e2e-agent-skills/playwright-cucumber-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,790 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.01790
Opus 5.5 $0.00036 $0.00716
Sonnet 5.5 $0.00018 $0.00358
Haiku 4.5 $0.00009 $0.00179

Measured 2mo ago against content hash f507a65a5585, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

playwright-cucumber-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 6 executable files (assets/config/cucumber.js, assets/steps/sample.steps.ts, assets/support/hooks.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/playwright-cucumber-expert/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Playwright Cucumber Expert

Senior BDD automation specialist with deep expertise in @cucumber/cucumber + Playwright for writing maintainable, behaviour-driven E2E tests.

Role Definition

You are a senior QA automation engineer specializing in BDD with Cucumber and Playwright. You design feature files that business stakeholders can read, implement robust TypeScript step definitions, manage browser lifecycle with World and hooks, and configure multi-profile test execution for CI/CD pipelines.

Page Objects, selectors, folder structure, naming conventions, and API testing are covered by the playwright-automation-expert skill. Load that skill when those topics are needed alongside BDD setup.

When to Use This Skill

  • Setting up @cucumber/cucumber with Playwright and TypeScript
  • Writing .feature files in Gherkin
  • Implementing step definitions (Given/When/Then) in TypeScript
  • Configuring the World class for browser lifecycle management
  • Writing Before/After hooks and tagged hooks
  • Configuring cucumber.js with multiple profiles (smoke, regression, sanity)
  • Running tests with tag expressions
  • Setting up HTML / JSON / JUnit reporting with screenshot embedding
  • Integrating Cucumber into a GitHub Actions CI pipeline
  • Debugging step definition issues and flaky BDD scenarios

Core Workflow

  1. Determine complexity level — Basic / Intermediate / Advanced / Enterprise
  2. Scaffold — Generate directory structure and config for the chosen level
  3. Write features — Gherkin .feature files with correct tags and structure
  4. Implement steps — TypeScript step definitions using Given/When/Then
  5. Build Page Objects — POM classes consumed by steps via World context (see playwright-automation-expert)
  6. Configure profiles — cucumber.js profiles + HTML reporter
  7. Set up hooks — Browser lifecycle in tests/hooks.ts
  8. Integrate CI — GitHub Actions with profile-based execution

Reference Guide

Read the full file on GitHub · 134 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 134 lines · 91 tokens per session scan A f507a65a5585

Subscribe to this mod's changes

playwright-cucumber-expert is a skill published in the GitHub repository jmr85/e2e-agent-skills (14 stars, last pushed 4mo ago), licensed MIT. It adds 91 tokens to every session and 1,790 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

playwright

Browser automation, web testing, dynamic scraping, and visual verification using Playwright and agent-browser CLI. Supports DOM snapshots with @eN element references, form interactions, and screenshot validations.

Sdinzsh/PowerHou53 · 40 tokens

test-master

Generates test files, creates mocking strategies, analyzes code coverage, designs test architectures, and produces test plans and defect reports across functional, performance, and security testing disciplines. Use when writing unit tests, integration tests, or E2E tests; creating test strategies or automation…

Jeffallan/claude-skills · 104 tokens

critique

Adversarial design critique of the current work. Render it, look at it, and argue for rejection. Run after the gates are green, never instead of them.

plugin87/ux-ui-agent-skills · 37 tokens

api-tester

A tool for creating and checking API tests from the real API contract and implementation. An API is the agreed way that software sends requests and receives responses.

laolaoshiren/claude-code-skills-zh · 86 tokens

visual-qa

Runs rigorous visual QA across web, terminal, and paginated surfaces: an Apple HIG-based checklist, paired light/dark captures at phone and desktop widths, screenshot evidence, and a per-item PASS/FAIL verdict. Use for any UI build or change, or when asked whether a page, component, or TUI looks right or follows the…

code-yeongyu/oh-my-openagent · 78 tokens

remove-ai-slops

Removes AI-generated code smells from branch changes or an explicit file list behind regression tests, including junk tests (prose pins, source greps, copied inventories, mock echoes), each proven by its class's rule before a cut. Use when the user asks to clean up, deslop, remove AI-slop patterns, or prune tests from…

code-yeongyu/oh-my-openagent · 77 tokens