playwright-bdd
Installation
SKILL.md
Playwright BDD
Phase 0: BDD Necessity Check
For every user-requested task, first decide whether the requested outcome needs to be specified in new or updated BDD scenarios. Base this decision on changes to observable product behavior, not on the size of the code change or the number of files involved.
BDD feature-file changes are needed when the task:
- Explicitly requests adding, updating or removing BDD scenarios.
- Adds, removes, or changes user-observable behavior or an end-to-end user outcome.
- Changes a user flow, acceptance criterion, validation rule, permission, or user-visible error behavior.
- Fixes a bug whose expected behavior is missing from, or inaccurately described by, the existing scenarios.
BDD feature-file changes are not needed when the task: