playwright-best-practices
✓Provides Playwright test patterns for resilient locators, Page Object Models, fixtures, web-first assertions, and network mocking. Must use when writing or modifying Playwright tests (.spec.ts, .test.ts files with @playwright/test imports).
Installation
SKILL.md
When running Playwright tests from Claude Code or any CLI agent, always use minimal reporters to prevent verbose output from consuming the context window.
Configure playwright.config.ts to use minimal reporters by default when CI or CLAUDE env vars are set:
Locators throw if multiple elements match. Use first(), last(), nth() only when intentional:
Provides Playwright test patterns for resilient locators, Page Object Models, fixtures, web-first assertions, and network mocking. Must use when writing or modifying Playwright tests (.spec.ts, .test.ts files with @playwright/test imports). Source: 0xbigboss/claude-code.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/0xbigboss/claude-code --skill playwright-best-practices- Source
- 0xbigboss/claude-code
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is playwright-best-practices?
Provides Playwright test patterns for resilient locators, Page Object Models, fixtures, web-first assertions, and network mocking. Must use when writing or modifying Playwright tests (.spec.ts, .test.ts files with @playwright/test imports). Source: 0xbigboss/claude-code.
How do I install playwright-best-practices?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/0xbigboss/claude-code --skill playwright-best-practices Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/0xbigboss/claude-code
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01