— No reviews yet
0 installs
6 views
0.0% view→install
Install
$ agentstack add skill-andrewsrigom-agent-skills-playwright-default-test-architecture ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Are you the author of Playwright Default Test Architecture? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claimAbout
Playwright Default Test Architecture
Use this skill when the task is about the overall Playwright testing shape, not one isolated selector or one-off assertion.
Scope
- test architecture and ownership
playwright.config.tsdefaults- fixture boundaries
- browser and project strategy
- retry and parallelism posture
- routing to deeper Playwright skills
Routing cues
- adopt Playwright, structure a test suite, define projects, configure retries, choose fixture boundaries, or decide where a Playwright task belongs -> use this skill
- locators, assertions, actionability, or user-visible test contracts -> use
playwright-locators-assertions-and-user-visible-contracts - auth reuse, storage state, multi-role projects, or isolation boundaries -> use
playwright-auth-projects-and-isolation - route interception, API synchronization, request waiting, or mocking strategy -> use
playwright-network-control-and-api-synchronization - flakes, traces, codegen, debug mode, inspector, or trace viewer -> use
playwright-debugging-traces-and-flake-reduction
Default path
- Keep one
playwright.config.tsas the suite contract. - Organize tests by product surface or user journey, not by Playwright API method.
- Start with a small number of projects and add browser or device expansion only when there is real coverage value.
- Keep shared setup in fixtures and helper functions, not in ad hoc before-each sprawl.
- Prefer deterministic environment setup over compensating with retries.
- Treat retries as CI resilience, not as the primary flake fix.
When to deviate
- Split config or projects more aggressively only when the app truly has distinct runtime surfaces.
- Use more retries in CI only when infrastructure noise is real and understood.
- Add device or browser matrix breadth only when the product surface justifies the cost.
Guardrails
- tests should model user-visible behavior, not internal implementation details
- config should stay small and legible
- fixtures should centralize setup, not hide business logic
- retries should never be the first answer to instability
- browser coverage should reflect product risk, not default maximalism
Avoid
- creating many projects before the team knows why each one exists
- hiding essential test behavior in over-abstracted fixtures
- treating retries as a substitute for synchronization discipline
- organizing tests around framework internals instead of real product flows
Verification checklist
- config is small and explicit
- tests are grouped by product behavior or journeys
- fixture boundaries reduce duplication without obscuring meaning
- project count matches actual coverage needs
- retries are deliberate and limited
Current snapshot
- Checked against official docs on 2026-04-03
- Current npm lines verified live on 2026-04-03:
playwright@1.59.1,@playwright/test@1.59.1 - Docs in scope: configuration, best practices, fixtures, and projects
Official references
- https://playwright.dev/docs/intro
- https://playwright.dev/docs/test-configuration
- https://playwright.dev/docs/test-projects
- https://playwright.dev/docs/test-fixtures
- https://playwright.dev/docs/best-practices
References
- [Architecture defaults](./references/architecture-defaults.md)
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: andrewsrigom
- Source: andrewsrigom/agent-skills
- License: MIT
- Homepage: https://andrewsrigom.github.io/agent-skills/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.