Skip to content
Skill

Playwright E2E testing

Guides an agent through running and writing Playwright E2E tests for Pipeline City

Playwright E2E testing is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
8
Last commit
License
MIT
Listing updated

Similar skills

About Playwright E2E testing

This skill is a short reference for end-to-end testing of the Pipeline City web frontend with Playwright. It lists the commands to run the full suite from the web directory, along with two screenshot utilities that render a view or replay to an image file.

It also explains how the existing tests are organized. A positive-path spec pins its results to a fixed city fixture through route interception, and the HUD, overlay and role lens specs should be re-checked whenever those components change. Before a frontend task is treated as done, the skill directs the agent to run a TypeScript type check with no emit from the web directory.

The skill assumes a checkout of the Pipeline City web project with Node.js and Playwright installed, and it is written for the tests in that project rather than for general Playwright use.

When your agent uses it

Guidelines for running and writing Playwright End-to-End (E2E) tests for Pipeline City frontend components, HUD interactions, and role lenses.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (878 bytes) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/playwright-e2e-testing to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/playwright-e2e-testing &&
cp -R "$tmp/skills/playwright-e2e-testing" ~/.claude/skills/playwright-e2e-testing &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/playwright-e2e-testing inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/playwright-e2e-testing to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/playwright-e2e-testing &&
cp -R "$tmp/skills/playwright-e2e-testing" ~/.agents/skills/playwright-e2e-testing &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/playwright-e2e-testing inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/playwright-e2e-testing to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/playwright-e2e-testing &&
cp -R "$tmp/skills/playwright-e2e-testing" ~/.cursor/skills/playwright-e2e-testing &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/playwright-e2e-testing inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/Database-Tycoon/tycoon-cli.git --path skills/playwright-e2e-testing

Or copy the folder to ~/.gemini/skills/playwright-e2e-testing yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/playwright-e2e-testing:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/playwright-e2e-testing &&
cp -R "$tmp/skills/playwright-e2e-testing" ~/.copilot/skills/playwright-e2e-testing &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/playwright-e2e-testing inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/Database-Tycoon/tycoon-cli.git

Then copy tycoon-cli/skills/playwright-e2e-testing into your agent's skills folder as playwright-e2e-testing. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Full suite execution
Shows how to run the complete Playwright test suite from the web directory.
Screenshot utilities
Covers two scripts that capture a rendered view or a replay to an image file.
Fixture-based route interception
Explains how the positive-path spec is pinned to a fixture file via route interception.
Component regression checklist
Lists the HUD, interaction and lens specs to re-verify when overlays change.
TypeScript check step
Requires a no-emit type check before frontend work is considered complete.

Good for

  • Run the Pipeline City end-to-end test suite after a frontend change
  • Capture a screenshot of a city view for visual review
  • Check the HUD and role lens tests after editing an overlay component
  • Add a new Playwright test that uses the existing city fixture

Playwright E2E testing FAQ

Which project does Playwright E2E testing apply to?

It is written for the Pipeline City frontend in the web directory of the tycoon-cli repository and its e2e tests.

What commands does Playwright E2E testing tell the agent to run?

It names npm run e2e or npx playwright test for the full suite, the shot.mjs and replayshot.mjs utilities, and npx tsc --noEmit for type checking.

Does Playwright E2E testing need any scripts or extra files?

The skill folder contains only its SKILL.md. The instructions refer to test files and a fixture inside the web project.

How do I install Playwright E2E testing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/playwright-e2e-testing to use it in all your projects, or to .claude/skills/playwright-e2e-testing in one project.

Does Playwright E2E testing run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Playwright E2E testing?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Playwright E2E testing?

The closest alternatives to Playwright E2E testing are E2E testing, E2E testing, E2E playwright, Playwright verification and Playwright skill.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from Database-Tycoon/tycoon-cli

  1. Guides agents through branch targeting, PR steps and changelog updates for tycoon-cli

    • Open source
    • 8 GitHub stars
    • Developer tools
  2. Guides testing of tycoon-cli changes, from unit tests to subprocess and snapshot checks

    • Open source
    • 8 GitHub stars
    • Developer tools
  3. Walks maintainers through cutting a tycoon-cli release, from changelog to PyPI publish

    • Open source
    • 8 GitHub stars
    • Developer tools
  4. Registers, configures and runs data source ingestion in a tycoon project

    • Open source
    • 8 GitHub stars
    • Analytics and data
  5. Turns raw ingested data into dbt staging models and Rill dashboards in tycoon projects

    • Open source
    • 8 GitHub stars
    • Analytics and data
  6. Diagnoses broken tycoon projects: failing commands, dbt profile and DuckDB lock errors

    • Open source
    • 8 GitHub stars
    • Developer tools