agentsclimarketplace

Playwright skill

Skill jovd83/playwright-skill

End-to-end Playwright skill pack for planning, authoring, debugging, documenting, and operationalizing test automation.

Install
npx -y skills add jovd83/playwright-skill

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

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.

SKILL.md

7.8 KB, as published. Nobody here has run it

Playwright Skill Pack

Author: jovd83 | Version: 2.1.1

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, integrate an external shared-memory skill instead of storing it here implicitly.

Dispatcher Integration

Use skill-dispatcher as the primary integration layer whenever this package needs help from another skill or when a broader orchestrator is deciding whether Playwright is the right execution layer.

  • Prefer dispatcher-led routing by intent, especially for tasks such as implement_ui_confirmation_test, render_test_artifact, and generate_test_data.
  • 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, the user asks for it, or dispatcher policy explicitly selects it.
  • Treat direct paths to sibling skills as a compatibility fallback, not as the primary routing contract.

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 conversionDispatch render_test_artifact through skill-dispatcher; fall back to C:\projects\skills\test-artifact-export-skill\SKILL.md when needed
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 TestRailDispatch render_test_artifact through skill-dispatcher; fall back to C:\projects\skills\test-artifact-export-skill\SKILL.md when needed
Test-management integrations after export existsmappers/, and reporters/ subskills
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.
  • mappers/, reporters/, reporting/, and installers/ are optional extensions, not prerequisites for ordinary Playwright authoring.
  • The standalone test-artifact-export-skill skill remains the canonical formatter/exporter for narrative test cases and tool-ready artifacts, but reach it through skill-dispatcher first when cross-skill routing is available.

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.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.