Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

write-and-verify-pw-test

Skill by appsmithorg

Writes a Playwright E2E test from a prompt and runs it against a live Appsmith deployment. Built for Appsmith developers and QA who want to verify a feature or flow. It retries up to 3 times to fix spec errors.

  • Score 89
  • 41k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install write-and-verify-pw-test

Built from the published package, never by AI.

git clone --depth 1 https://github.com/appsmithorg/appsmith /tmp/appsmith && mkdir -p ~/.claude/skills && cp -r /tmp/appsmith/.agents/skills/write-and-verify-pw-test ~/.claude/skills/write-and-verify-pw-test

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install write-and-verify-pw-test in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill writes a Playwright end-to-end test from a short prompt, then runs it against a live Appsmith deployment. It first configures the environment file with the target URL and login details. It reads the project's Playwright conventions, picks a test tier and directory, and writes the spec. The spec is linted with ESLint and run under the matching Playwright project, which handles signup and login first.

If the test fails, the skill classifies the failure. Spec errors are fixed and the test is re-run, up to 3 attempts. Suspected product bugs stop the retries and hand off to the diagnose-pw-failure skill. It is aimed at developers and QA engineers working on the Appsmith codebase who want to test a feature on a deployment.

Written from the project's SKILL.md and checked against it.

What it can do

  • Environment setupConfigures app/client/playwright/.env with the target URL and login values through a script.
  • Convention checkReads the Playwright rules for imports, selectors, waits, assertions and constants before writing.
  • Test placementChooses a smoke, sanity, regression or ee tier and a matching Playwright project.
  • Spec writingWrites the spec file, and a page object when one is needed, following project patterns.
  • Lint checkRuns ESLint on the new spec file and fixes issues before the test is run.
  • Test runRuns the spec under the correct project so the signup and login setup chain runs first.
  • Retry loopFixes spec-side failures and re-runs the test, for up to 3 attempts.
  • Result summaryReports pass or fail, the spec path, attempts made, and failure details or a diagnosis.

What you need

  • Node.js with npx
  • Chromium installed through Playwright
  • Access to a target Appsmith deployment URL
  • Login credentials for the deployment

Try asking

  • Write a playwright test for the table filter on my dp and run it
  • Create and run an e2e test for the login flow on https://my-dp.appsmith.com
  • Verify this flow with playwright against my deployment

Good to know

  • Product bugs stop the retry loop and switch to the diagnose-pw-failure skill.
  • Default test tier is sanity when the caller does not specify one.
  • Tests can take 60 seconds or more on the first run against a fresh deployment.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/write-and-verify-pw-test/SKILL.md, .agents/skills/write-and-verify-pw-test/scripts/configure-env.js. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md11 KB
  • scripts/configure-env.js2 KB

Alternatives to write-and-verify-pw-test

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

write-and-verify-pw-test: common questions

What does the write-and-verify-pw-test skill do?

It writes a Playwright E2E test from a prompt and runs it against a live Appsmith deployment. It retries up to 3 times to fix failures in the spec.

When does it stop retrying a failing test?

It stops when the failure looks like a product bug, such as a 500 from the server or a connection refused error. It then switches to the diagnose-pw-failure skill.

Which tests does it write?

It picks a tier of smoke, sanity, regression or ee based on the request, and defaults to sanity. Feature subdirectories are required under sanity and regression.

How do I install write-and-verify-pw-test?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is write-and-verify-pw-test free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is write-and-verify-pw-test safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to write-and-verify-pw-test?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

write-and-verify-pw-test Install

Add to stack

Loading.