pw-loop

Automate iterative Playwright test cycles for software features with JSON reports.

1|Updated May 12, 2026
One-click install
npx skills add https://github.com/s0613/S-skills --skill pw-loop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pw-loop
Source: https://github.com/s0613/S-skills/tree/main/skills/pw-loop
Command: npx skills add https://github.com/s0613/S-skills --skill pw-loop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually managing Playwright test cycles for individual features is time-consuming, prone to progress tracking errors, and requires constant intervention to advance between test scenarios and features. This Skill eliminates that overhead by fully automating the end-to-end test loop for each feature, from test scenario generation to failure remediation and progression to the next feature.

Core Features & Use Cases

  • Automated Scenario Generation: Creates ordered test specs for happy-path, error-handling, and state-persistence scenarios per feature, tailored to the feature's defined goals.
  • Scoped Failure Remediation: Automatically routes test failures to the tech lead agent for fixes limited to the current feature's scope, with up to 3 retry attempts before escalating to the user.
  • Progress Tracking & Reporting: Maintains persistent state across test runs, auto-advances scenarios and features upon test pass, and generates JSON test reports for each scenario.
  • Use Case: For a team building a SaaS web app, use this skill to automatically test the user login feature: it will generate 3 core test scenarios, run them, fix any failing tests within the login feature's scope, then automatically move on to test the user signup feature without manual prompting.

Quick Start

Invoke the pw-loop skill with your list of features to test, and it will automatically generate test scenarios, run Playwright tests, fix failures within the defined feature scope, and advance to the next feature without manual intervention for each step.

Frequently Asked Questions about pw-loop

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

FAQPage Schema
How do I automate Playwright e2e testing workflows for multiple web app features?

You can automate Playwright e2e testing by invoking a skill with your feature list to generate test scenarios, run tests, remediate failures, and advance features automatically. It eliminates manual test scenario management and execution overhead by sequentially validating features.

What types of test scenarios are automatically generated for Playwright feature testing?

Playwright feature testing generates ordered test specs for happy-path, error-handling, and state-persistence scenarios. These scenarios are tailored to the defined goals of each individual software feature being tested.

How does automated failure remediation work when a Playwright test fails?

Automated failure remediation routes failing tests to a tech lead agent for fixes strictly scoped to the current feature's goals. It allows up to 3 retry attempts before escalating the failure to the user for manual intervention.

Can I track Playwright test progress and generate reports across multiple features?

Yes, you can track Playwright test progress through persistent state management that auto-advances scenarios and features upon test pass. It automatically generates JSON test reports for each individual scenario.

What is the best way to ensure test fixes do not break other features during Playwright automation?

The best way to prevent scope creep is using automated failure remediation that enforces fixes strictly limited to predefined feature goals. This scoped approach ensures test corrections target only the current feature without impacting others.