.agents/skills/testing-e2e-playwright/SKILL.md
Writes end-to-end tests with Playwright. To be used for verifying acceptance criteria through automated tests.
npx skillsauth add albertobasalo/astro-bookings-express testing-e2e-playwrightInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When writing end-to-end tests with Playwright, follow these guidelines to ensure consistency and best practices:
Organize your tests in a clear and maintainable structure. A common structure includes:
tests/ directory..spec.ts or .test.ts suffix.describe blocks to group related tests into suites.test blocks to define individual test cases.npm run buildnpm run devnpm run dev (separate terminal)tests/ directory following naming pattern: *.spec.tsnpx playwright test.tests/ directorytesting
Writes and maintains unit tests using Vitest. To be used for testing business logic in services and utilities.
testing
Creates a detailed implementation plan for a given feature specification. To be used for planning the implementation of feature specifications.
testing
Writes the specification with problem definition, solution outline, and acceptance criteria. To be used to specify a feature, bug correction, or enhancement.
documentation
Generates a Product Requirements Document (PRD) for software projects. To be used when analyzing a project to create a PRD.