agentleFS
jovd83jovd83/playwright-skill/core/SKILL.md

playwright-core

Skill1 starsChanged 2 months agoMITView on GitHub

Core Playwright implementation skill for resilient test authoring and debugging. Use when the agent needs practical Playwright guidance for locators, assertions, fixtures, authentication, network behavior, API testing, component testing, debugging, framework-specific recipes, or broader test architecture decisions.

3 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill for day-to-day Playwright implementation work.

    line 19
  2. Very specific:

    Prefer getByRole() and other user-facing locators over brittle selectors.

    line 23
  3. Distinctive:

    Prefer web-first assertions over manual sleeps or ad hoc polling.

    line 24
  4. Distinctive:

    Keep tests isolated and independent of execution order.

    line 25
  5. Very specific:

    Use baseURL, fixtures, and reusable setup instead of hardcoded environment drift.

    line 26
  6. Distinctive:

    Use this skill for implementation guidance and debugging patterns.

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Playwright Core

Use this skill for day-to-day Playwright implementation work. It is the foundation of the pack and should be the default path when the user wants tests written, fixed, or reviewed.

Core Standards

  1. Prefer getByRole() and other user-facing locators over brittle selectors.
  2. Prefer web-first assertions over manual sleeps or ad hoc polling.
  3. Keep tests isolated and independent of execution order.
  4. Use baseURL, fixtures, and reusable setup instead of hardcoded environment drift.
  5. Mock external dependencies selectively; do not mask the system under test without a reason.
  6. Choose the lightest test type that still validates the real risk.

Read by Need

NeedGuide
Locators and selector strategylocators.md, locator-strategy.md, locator-resilience.md
Assertions, waiting, and async behaviorassertions-and-waiting.md, debugging.md, flaky-tests.md
Test structure and datatest-organization.md, test-architecture.md, fixtures-and-hooks.md, test-data-management.md
Authentication and browser stateauthentication.md, auth-flows.md
API and network behaviorapi-testing.md, network-mocking.md, when-to-mock.md, api-handler-hardening.md
UI capability areasforms-and-validation.md, crud-testing.md, file-upload-download.md, drag-and-drop.md, search-and-filter.md
Reliability and diagnosticscommon-pitfalls.md, error-index.md, error-and-edge-cases.md, stability-diagnostics.md, preflight.md
Specialized environmentsmobile-and-responsive.md, component-testing.md, browser-apis.md, service-workers-and-pwa.md, electron-testing.md
Framework recipesreact.md, nextjs.md, vue.md, angular.md

Scope

  • Use this skill for implementation guidance and debugging patterns.
  • Move to ../pom/SKILL.md when the main problem is test architecture ownership.
  • Move to ../ci/SKILL.md when the main problem is pipeline execution.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.