home / skills / microsoft / playwright-cli / dev
This skill guides rolling Playwright dependencies, releasing, and repo maintenance to keep your dev workflow smooth and up to date.
npx playbooks add skill microsoft/playwright-cli --skill devReview the files below or copy the command above to add this skill to your agents.
---
name: dev
description: Development workflows for the playwright-cli repository. Use when the user asks about rolling dependencies, releasing, or other repo maintenance tasks.
---
# Development skills
* **Rolling Playwright dependency** [roll.md](roll.md)
This skill provides guidance for development workflows and maintenance tasks for the playwright-cli repository. It focuses on rolling the Playwright dependency, performing releases, and common repository upkeep to keep the CLI current and stable. Use it when you need step-by-step actions, checks, and recommended practices for repo maintenance.
It inspects the repository's TypeScript codebase, dependency declarations, CI configuration, and release scripts to determine the required steps for dependency updates and releases. The skill outlines the sequence: update dependency versions, run tests, adjust code for API changes, update changelogs, and push a release. It also highlights CI checks and local validation required before merging.
How do I handle breaking Playwright API changes?
Update the dependency in a feature branch, run tests to find incompatibilities, implement targeted fixes, and document breaking changes in the changelog. Prefer incremental rolls if many fixes are needed.
What validations should run before merging a dependency roll?
Run the full test suite, recorder-generated scenarios, linting, and CI matrix checks across supported Node versions and platforms. Confirm lockfile updates and ensure no new flaky tests appear.