SKILL

pw-review

Use when reviewing Playwright tests for quality ('review tests', 'audit tests', 'playwright best practices check').

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Review Playwright Tests
  • Input
  • Steps
  • 1. Gather Context
  • 2. Check Each File Against Anti-Patterns
  • 3. Score Each File
  • 4. Generate Review Report
  • 5. For Project-Wide Review

Systematically review Playwright test files for anti-patterns, missed best practices, and coverage gaps. $ARGUMENTS can be: A file path: review that specific test file A directory: review all test files in the directory Empty: review all tests in the project's testDir Read playwright.config.ts for project settings List all .spec.ts / .spec.js files in scope If reviewing a single file, also check related page objects and fixtures Load anti-patterns.md from this skill directory. Check for all 20 anti-patterns. Critical (must fix): 1. waitForTimeout() usage 2. Non-web-first assertions (expect(await ...)) 3. Hardcoded URLs instead of baseURL 4. CSS/XPath selectors when role-based exists 5. Missing await on Playwright calls 6. Shared mutable state between tests 7. Test execution order dependencies Warning (should fix): 8. Tests longer than 50 lines (consider splitting) 9. Magic strings without named constants 10. Missing error/edge case tests 11. page.evaluate() for things locators can do 12. Nested test.describe() more than 2 levels deep 13. Generic test names ("should work", "test 1") Info (consider): 14. No page objects for pages with 5+ locators 15. Inline test data instead of facto

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
alirezarezvani/claude-skills
Source file
engineering-team/playwright-pro/skills/pw-review/SKILL.md
Fixed revision
8f082544116fc0d014188e521ca40304cdfc86b0
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: alirezarezvani/claude-skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:46.351Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.