agentleFS
jovd83jovd83/playwright-skill/SKILL.md

playwright-skill

Skill1 starsChanged 2 months agoMITView on GitHub

Flagship Playwright skill pack for planning, authoring, debugging, documenting, and operationalizing Playwright. Routes E2E, API, component, visual, accessibility, CI/CD, coverage, docs, CLI automation, and handoff workflows.

17 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 13 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this root skill as the package entrypoint for general Playwright requests.

    line 23
  2. Distinctive:

    Do not load every guide by default.

    line 25
  3. Distinctive:

    Keep core testing guidance separate from optional planning, documentation, and handoff workflows.

    line 31
  4. Distinctive:

    Do not duplicate deep implementation guidance that already lives in a focused subskill.

    line 35
  5. Distinctive:

    Do not treat this repository as shared-memory infrastructure.

    line 36
  6. Distinctive:

    Prefer the repository's native browser automation stack over Playwright when repo evidence points elsewhere.

    line 40
  7. Distinctive:

    Use Playwright as the default browser automation choice only when the repository supports it already or the user asks for it.

    line 41
  8. Distinctive:

    Prefer user-facing locators and web-first assertions.

    line 73
  9. Distinctive:

    Avoid placeholder tests, placeholder assertions, and fake completion claims.

    line 74
  10. Distinctive:

    Keep state in fixtures, UI behavior in page objects when repetition or complexity justifies them, and helpers stateless.

    line 75
  11. Distinctive:

    Keep requirements, plans, documentation, and executable tests traceable to one another when the workflow includes planning or documentation.

    line 77
  12. Distinctive:

    Path Resolution: When providing file paths to subskills, ensure they are absolute or clearly relative to the project root.

    line 82
  13. Very specific:

    Test-management work (export, ID mapping, result publishing) lives in the standalone test-management-sync skill.

    line 98
  14. Distinctive:

    Keep the package coherent: update the README, changelog, metadata, and validation artifacts when repo-level behavior changes.

    line 104

“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “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 Skill Pack

Author: jovd83 | Version: 3.0.0

Use this root skill as the package entrypoint for general Playwright requests. It is responsible for routing work to the smallest useful subskill, applying the shared standards of this repository, and keeping the package boundaries clear.

Do not load every guide by default. Read only the subskill and reference files that materially help with the current task.

Responsibilities

  • Route broad or ambiguous Playwright requests to the right subskill.
  • Apply the shared testing standards used across this repository.
  • Keep core testing guidance separate from optional planning, documentation, and handoff workflows.

Boundaries

  • Do not duplicate deep implementation guidance that already lives in a focused subskill.
  • Do not treat this repository as shared-memory infrastructure. If durable cross-agent knowledge is needed beyond one repo or skill, keep it in the agent's own memory (for example CLAUDE.md or AGENTS.md) instead of storing it here implicitly.

Working With Other Skills

  • Prefer the repository's native browser automation stack over Playwright when repo evidence points elsewhere.
  • Use Playwright as the default browser automation choice only when the repository supports it already or the user asks for it.

Routing Map

NeedUse
Generic Playwright request or unclear starting pointorchestrator/SKILL.md
Writing or fixing Playwright testscore/SKILL.md
CI, sharding, artifacts, containerized executionci/SKILL.md
Page object structure or fixture-vs-helper decisionspom/SKILL.md
Cypress or Selenium migrationmigration/SKILL.md
CLI browser automationplaywright-cli/SKILL.md
Requirements extractionanalysis/SKILL.md
Coverage planningcoverage_plan/generation/SKILL.md and coverage_plan/review/SKILL.md
Coverage-plan maintenancecoverage_plan/auto-sync/SKILL.md
Narrative test documentation or format conversionThe test-management-sync skill (export job)
Automation-code documentation or failure diagnosisdocumentation/tests/SKILL.md or documentation/root_cause/SKILL.md
Human or agent handoff workflowsdocumentation/handover/SKILL.md and documentation/session-state/SKILL.md
Test-case export to Xray, Zephyr, TestLink, or TestRailThe test-management-sync skill (export job)
Mapping TestRail, Xray, Zephyr or TestLink IDs into tests, or publishing results thereThe test-management-sync skill (map-IDs and publish-results jobs)
IDE-specific setup helpinstallers/ subskills

Operating Workflow

  1. Inspect the existing repository, tests, and requirements before prescribing structure.
  2. Infer the user's intent when it is clear; ask for clarification only when the decision would materially change the artifact or scope.
  3. Choose the smallest subskill that can complete the task well.
  4. Load only the relevant reference guides or scripts for that path.
  5. Produce concrete outputs such as code, plans, documentation, or validation results instead of generic advice.

Shared Standards

  • Prefer user-facing locators and web-first assertions.
  • Avoid placeholder tests, placeholder assertions, and fake completion claims.
  • Keep state in fixtures, UI behavior in page objects when repetition or complexity justifies them, and helpers stateless.
  • Mock external dependencies selectively; do not hide the behavior of the system under test behind unnecessary mocks.
  • Keep requirements, plans, documentation, and executable tests traceable to one another when the workflow includes planning or documentation.

Gotchas

  • Context Weight: This is a large skill pack. Avoid loading the full file registry or the root skill for simple tasks; jump straight to the smallest relevant subskill (e.g., core/) to keep reasoning sharp.
  • Path Resolution: When providing file paths to subskills, ensure they are absolute or clearly relative to the project root. Subskills often have their own local standards for where they look for tests.
  • Statelessness: Unless you use the documentation/session-state/ workflow, assume each agent interaction is stateless. If you need to "resume" work, you must explicitly read the previous session's artifacts or handoffs.
  • Playwright-Specific Pitfalls: For detailed technical gotchas regarding nested locators, async races, and flaky tests, always refer to core/common-pitfalls.md.

Memory Model

  • Runtime memory: ephemeral reasoning and task state for the current thread.
  • Project-local persistent memory: artifacts such as coverage plans, handovers, and session-state files created inside the target repository.
  • Shared memory: optional and external. Promote information into shared memory only when it is stable, reusable across tasks, and belongs outside this skill pack.

Package Shape

  • core/, ci/, pom/, migration/, and playwright-cli/ are the reusable testing foundation.
  • analysis/, coverage_plan/, and documentation/ add planning and traceability workflows.
  • documentation/handover/ and documentation/session-state/ are optional operational workflows for multi-session or multi-operator work.
  • reporting/ and installers/ are optional extensions, not prerequisites for ordinary Playwright authoring.
  • Test-management work (export, ID mapping, result publishing) lives in the standalone test-management-sync skill; this pack no longer carries its own copies.

Use the Root Skill Well

  • Stay at the root only for routing, package discovery, or repo-wide standards.
  • Move into a focused subskill as soon as the task is specific enough.
  • Keep the package coherent: update the README, changelog, metadata, and validation artifacts when repo-level behavior changes.

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.