playwright-regression-testing

playwright-regression-testing is a skill for Claude Code from fugazi/test-automation-skills-agents. It costs 89 tokens per session (1,070 once invoked), scanned A, original, MIT.

Guidance for planning and managing Playwright TypeScript regression tests. Playwright is a tool for automatically testing web applications, and regression tests check that existing features still work after changes.

In plain words
What is it for?
Selecting tests after code changes, arranging smoke and full regression suites, splitting runs across workers, managing flaky tests, and tracking suite health.
Why use it?
It helps decide which tests to run, organize them by coverage and risk, fit them into CI/CD, and handle slow or unreliable tests.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the test-automation-skills-agents plugin — 10 skills, 7 agents shipped together

Good fit Selecting tests after code changes, arranging smoke and full regression suites, splitting runs across workers, managing flaky tests, and tracking suite health.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fugazi/test-automation-skills-agents/playwright-regression-testing
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 fugazi/test-automation-skills-agents --skill playwright-regression-testing
Clone the repo
git clone --depth 1 https://github.com/fugazi/test-automation-skills-agents

Made for: Claude Code.

Or install test-automation-skills-agents, the plugin that ships this one along with the rest of its 10 skills, 7 agents.

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-regression-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/fugazi/test-automation-skills-agents/playwright-regression-testing/github.svg)](https://agentmods.dev/skills/fugazi/test-automation-skills-agents/playwright-regression-testing)
Your own site
<a href="https://agentmods.dev/skills/fugazi/test-automation-skills-agents/playwright-regression-testing"><img src="https://agentmods.dev/badge/skills/fugazi/test-automation-skills-agents/playwright-regression-testing/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-regression-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/fugazi/test-automation-skills-agents/playwright-regression-testing"><img src="https://agentmods.dev/badge/skills/fugazi/test-automation-skills-agents/playwright-regression-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,070 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 37
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 49
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Prompt Injection · line 67
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
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.00089 $0.01070
Opus 5 $0.00044 $0.00535
Sonnet 5 $0.00018 $0.00214
Haiku 4.5 $0.00009 $0.00107

Measured 11d ago against content hash 97db23ab6fdf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

playwright-regression-testing 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 11d ago.

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-regression-testing/SKILL.md · 83 lines

How it starts

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

Playwright Regression Testing (TypeScript)

Strategy and best practices for automated regression testing of web applications using Playwright with TypeScript.

Activation: This skill is triggered when working with regression test strategy, test suite selection, test prioritization, CI/CD pipeline testing, flaky test management, test sharding, or optimizing test execution for web applications using Playwright.

When to Use This Skill

  • Plan regression suites with risk-based and change-based test selection
  • Organize tests into tiers (smoke, sanity, selective, full regression)
  • Optimize execution with parallelization, sharding, and time-budget strategies
  • Integrate with CI/CD using GitHub Actions pipelines
  • Manage flaky tests with quarantine, retry policies, and root cause tracking
  • Monitor suite health with execution time, flake rate, and detection metrics
  • Select tests after changes using git diff analysis and impact mapping

Do NOT Use For

  • Authoring a single UI spec or page-object model (use playwright-e2e-testing).
  • Driving a live browser interactively for debugging (use playwright-cli).
  • Selenium/Java regression suites (use webapp-selenium-testing).
  • API contract testing in isolation (use api-testing).

Prerequisites

Requirement Details
Node.js v18+ recommended
Playwright @playwright/test package
TypeScript typescript configured in project
Browsers Installed via npx playwright install
Git Required for change-based test selection
GitHub Actions Recommended CI/CD platform

Quick Reference

Tiers: Smoke (<2min, every commit) → Sanity (<10min, every PR) → Selective (<30min, on merge) → Full (<60min, nightly/pre-release).

Key tags: @smoke, @sanity, @regression, @e2e, @api, @destructive — exactly one per test, never on describe() blocks. Domain-specific extensions (e.g., @a11y in accessibility skills) are allowed alongside, but only one execution tag per test.

Read the full file on GitHub · 83 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 83 lines · 89 tokens per session scan A 97db23ab6fdf

Subscribe to this mod's changes

playwright-regression-testing is a skill published in the GitHub repository fugazi/test-automation-skills-agents (234 stars, last pushed 8d ago), licensed MIT. It adds 89 tokens to every session and 1,070 once invoked, about $0.0004 per session on Opus 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

api-integration-test

Create, maintain, and run gated Go integration tests for internal APIs and service-to-service clients (HTTP/gRPC). Use for endpoint verification, contract checks with real runtime config, opt-in execution, timeout/retry safety, and integration failure triage in Go services.

johnqtcg/awesome-skills · 58 tokens

e2e-test

Design, maintain, and execute reliable end-to-end tests for critical user journeys with Agent Browser as first choice for exploration and Playwright as the preferred code path for suites and CI. Use for E2E strategy, journey coverage, flaky test triage, artifact collection, CI gating, regression prevention, and…

johnqtcg/awesome-skills · 70 tokens

hr-qa

Help HR managers, recruiters, and talent acquisition teams understand Quality Assurance (QA), Software Testing, Test Automation, and modern Quality Engineering concepts. Use when asked to explain QA testing, screen QA candidates, understand automation testing, compare manual QA and SDET, evaluate QA skills, create QA…

tuanductran/hr-skills · 77 tokens

bestow-curse

Bestow Curse saddles a target with a lasting disadvantage. The real-world version is constraint injection: deliberately adding friction, limitations, or handicaps to see how a system, process, or team adapts. This is the skill of resilience testing through artificial adversity — bandwidth throttling, feature removal…

Hmbown/Wizards-of-the-Ghosts · 68 tokens

dogfood

Systematic exploratory QA testing of web applications — find bugs, capture evidence, and generate structured reports.

braxtonROSE4/zorro-agent · 22 tokens

screen-reader-testing

Test web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, or ensuring assistive technology support.

wshobson/agents · 39 tokens