TASK GUIDE · SOURCE-AWARE

Best Agent Skills for web application testing

A minimal Skill plan for browser behavior, logs, screenshots, and repeatable acceptance checks.

Build this plan for my Agent ↗
Desired outcome

Prove the critical user flow works in a real browser and leave repeatable evidence.

Safe working boundary

Use test data and a local or explicitly approved environment.

01 · SKILL STACK

A minimal three-role stack

Each role has one job. The personalized builder can adjust the selection for your Agent without changing the decision logic.

01 · Core execution

playwright-workflows

Exercises the real user flow in a browser.

Main limitation
Detailed package files are not fully catalogued.
First risk
Review before install
Source evidence
Editorial source
Inspect playwright-workflows ↗
02 · Guardrail

web-design-guidelines

Defines scope and prevents a broad, unfocused test run.

Main limitation
It depends on network access and a live guideline document whose contents can change over time.
First risk
Rule drift or context-free findings
Source evidence
Pinned · 063bee94
Inspect web-design-guidelines ↗
03 · Evidence

Minimal Run and Audit

Retains visual and runtime evidence for review.

Main limitation
It does not choose the reproduction target, train a model, conduct broad paper analysis, or hide scientific-meaning changes.
First risk
Scientific changes hidden as setup fixes
Source evidence
Pinned · fb3ccdf5
Inspect Minimal Run and Audit ↗

02 · WEB APP TESTING PLAYBOOK

How to test a local web app with the webapp-testing Skill

Anthropic's Skill is built around local web apps and native Python Playwright scripts. Its useful pattern is reconnaissance before action: inspect what the app actually rendered before choosing selectors or interacting. This is a scoped functional-test workflow—not a security audit, production-readiness sign-off, or proof of cross-browser coverage.

  1. Choose one critical journeyWrite down the starting state, one important user action, and the visible result that should follow. Use isolated, seeded test data; do not involve production credentials or personal data.
  2. Start only the intended local appIf the app is not already running, run `python scripts/with_server.py --help` first. Confirm the helper's server command and port match this project, and keep both the server and test data isolated.
  3. Inspect the rendered state before actingFor a dynamic app, wait for the page to settle (the upstream guide recommends networkidle), then inspect its screenshot or DOM. Derive selectors from controls that are actually present instead of guessing them.
  4. Assert the outcome, not the clickCheck the resulting URL, visible state, or a test record. A click that did not throw an error is not evidence that the user journey succeeded.
  5. Keep evidence small and safeSave a failure screenshot or browser log with enough context to reproduce the issue. Close the browser and remove only disposable test data; redact tokens, private URLs, and personal information before sharing logs.

Illustrative example: a catalog search smoke test

In a local catalog seeded with two known items, search for one term, assert that the intended item appears and the unrelated item does not, and save a screenshot or browser log if the check fails. This illustrates one bounded behavior; it is not a performance measurement or a certification of the app.

Read Anthropic's current webapp-testing instructions (checked 2026-10-16) ↗

03 · ACCEPTANCE

How to know the task is finished

  1. Run one critical flow from a clean browser state.
  2. Assert the expected page state, not only a successful click.
  3. Save the failure signal needed to reproduce any defect.

04 · STOP CONDITIONS

When to stop

  • The test requires production credentials or personal data.
  • The script performs destructive actions without isolation.
  • A flaky result is reported as a pass.

05 · METHOD

How this guide was produced

SkillSignal maps a defined task to three non-overlapping responsibilities, then selects from reviewed catalog metadata. Agent fit, source state, permissions, and published scores are evaluated with deterministic rules. No LLM writes or reorders the recommendation at request time.