Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions .claude/skills/dev/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,31 @@ A release is a `chore: mark v<next-patch>` commit whose PR body is the release n
7. **Write the release notes** to `RELEASE_NOTES_v<version>.md`. Use this exact shape β€” **no top-level `#` header**, the PR title is the heading:

```markdown
## Highlights
## ✨ Highlights

- **<issue wording, not commit wording>** ([#<issue>](https://github.com/microsoft/playwright-cli/issues/<issue>)) β€” one sentence on the user-facing effect. ([microsoft/playwright#<pr>](https://github.com/microsoft/playwright/pull/<pr>))
- **<emoji> <issue wording, not commit wording>** ([microsoft/playwright#<issue>](https://github.com/microsoft/playwright/issues/<issue>)) β€” the user-facing effect, naming the new commands / flags / config options. ([microsoft/playwright#<pr>](https://github.com/microsoft/playwright/pull/<pr>))

## Fixes
## πŸ› Fixes

- `<commit subject>` β€” what changed and why it matters. ([#<pr>](https://github.com/microsoft/playwright/pull/<pr>))

## Upgrading
## πŸ“¦ Upgrading

```bash
npm install -g @playwright/cli@<version>
```
```

Example highlight titles: `**🎬 Smooth 60 fps, styleable videos**`, `**🧰 WebMCP tools show up in the snapshot**`, `**πŸŒ— Switch between light and dark color scheme**`, `**πŸ“ Absolute paths in results**`.

Wording rules:
- **Section headings carry their emoji** (`✨ Highlights`, `πŸ› Fixes`, `πŸ“¦ Upgrading`), and **every highlight title starts with one unicode emoji** that fits the feature. No emojis in the Fixes bullets.
- **Order highlights by how exciting they are to a user, not chronologically.** Showy features (video, new commands, new agent capabilities) go first; config knobs go last.
- **Advertise the benefit, not the mechanism**: `video-start --fps=60` records smooth 60 fps videos, not "`--fps <n>` sets a custom frame rate". Use a concrete, copy-pasteable invocation.
- **Don't carry caveats over from the upstream PR description** (browser limitations, "still capped at…"). They are often stale by the time the PR merges β€” leave them out unless verified.
- **Highlights lead with the user-reported problem from the linked issue**, not the commit subject. Drop internal terms (`cdpPort`, `tombstones`) from highlight bullets.
- Only list things that change user-visible behavior. Skip internal cleanups unless they have a user-facing effect.
- Reference both the playwright-cli issue (if any) and the microsoft/playwright PR.
- Only list things that change user-visible behavior. Skip internal cleanups unless they have a user-facing effect β€” check that the CLI actually exercises the fixed path (e.g. `state-save` does not pass `indexedDB`, so an IndexedDB snapshot fix is not a CLI fix).
- Reference both the issue (if any β€” it may live in `microsoft/playwright-cli` or `microsoft/playwright`, link whichever) and the microsoft/playwright PR. A highlight without an issue just omits the issue link.

8. **Commit, push, open PR.** The PR body is the contents of the release notes file (no `#` header, no filename).
```bash
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@playwright/cli",
"version": "0.1.20",
"version": "0.1.21",
"description": "Playwright CLI",
"repository": {
"type": "git",
Expand Down
Loading