playwright-writing
CommunityWrite reliable Playwright E2E tests.
Authormeriley
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill ensures the creation of robust, maintainable, and user-centric end-to-end tests for web applications using Playwright, preventing common pitfalls that lead to flaky tests.
Core Features & Use Cases
- Best Practice Enforcement: Guides users to follow Playwright's official recommendations for locators, assertions, and test structure.
- Forbidden Pattern Avoidance: Explicitly prohibits anti-patterns like mocking application data, using explicit waits, and relying on CSS class selectors.
- Use Case: When writing new end-to-end tests for a critical user flow, use this Skill to ensure the tests are reliable, easy to understand, and resistant to minor UI changes.
Quick Start
Use the playwright-writing skill to review and refactor the attached Playwright test file.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: playwright-writing Download link: https://github.com/meriley/claude-code-skills/archive/main.zip#playwright-writing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.