[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DT4H9VFE1V06C1RMT60KGM":3,"skill-same:01M7DT4H9VFE1V06C1RMT60KGM":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7DT4H9VFE1V06C1RMT60KGM","playwright-patch-release",null,"Prepare a patch release of Playwright Python (v1.xx.1 and later) from a release branch. Picks the next version, writes the release notes as the list of fixes in microsoft\u002Fplaywright between the driver of the previous release of the branch and the driver of its tip, and saves them as a draft GitHub release, in place of an old draft. Never publishes the release.","microsoft\u002Fplaywright-python","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M6FKT0J4CZF3Z5MFN1C0CEZC",15108,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fplaywright-python\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-patch-release\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: playwright-patch-release\ndescription: Prepare a patch release of Playwright Python (v1.xx.1 and later) from a release branch. Picks the next version, writes the release notes as the list of fixes in microsoft\u002Fplaywright between the driver of the previous release of the branch and the driver of its tip, and saves them as a draft GitHub release, in place of an old draft. Never publishes the release.\n---\n\n# Preparing a patch release of Playwright Python\n\nIn this skill, `release-1.xx` is the release branch (for example `release-1.65`),\n`v1.xx.p` is the previous release of the branch, and `v1.xx.n` is the patch release\nthat you prepare. For the first release of a branch, `v1.xx.0`, use the\n`playwright-release` skill: its notes are the full release notes.\n\nA patch release has no release commit. The fixes are on the branch already: a roll\nmoved its driver to a newer commit of `release-1.xx` of `microsoft\u002Fplaywright`. The\nversion of the package comes from the tag, and GitHub makes the tag when a maintainer\npublishes the draft. So the result of this skill is only the draft release.\n\nRemotes: find the remote for `microsoft\u002Fplaywright-python` with `git remote -v`. The\ncommands below call it `upstream`. In a clone of `microsoft\u002Fplaywright-python`, it\nis `origin`.\n\nNever publish the release: see step 5.\n\n## 1. The version\n\nFetch the branch and the tags. The previous release is the highest `v1.xx.*` tag:\n\n```sh\ngit fetch upstream release-1.xx --tags\ngit tag --list 'v1.xx.*' --sort=-v:refname | head -1      # v1.xx.p\ngit merge-base --is-ancestor v1.xx.p FETCH_HEAD && echo \"on release-1.xx\"\ngit log --first-parent --format='%h %s' v1.xx.p..FETCH_HEAD   # the commits of this repository\n```\n\n- The next version is `v1.xx.n`, with `n = p + 1`. A draft release has no tag, so an\n  old draft of `v1.xx.n` does not change the result.\n- No `v1.xx.*` tag: `v1.xx.0` is not released. Stop and say so.\n- The tag is not on the branch: stop and say so.\n- The log is empty: there is nothing to release. Stop and say so.\n\n## 2. The changes\n\nThe changes of the release are the commits of `microsoft\u002Fplaywright` between the two\ndrivers: the driver of `v1.xx.p` and the driver of the tip of the branch.\n`DRIVER_VERSION` names the commit of each one:\n\n```sh\ngit show v1.xx.p:DRIVER_VERSION      # A, the driver of the previous release\ngit show FETCH_HEAD:DRIVER_VERSION   # B, the driver of this release\n```\n\nFor a release up to 1.64, `DRIVER_VERSION` is a version of `playwright-core`, not a\ncommit. Its commit is the tag `v\u003Cversion>` of `microsoft\u002Fplaywright`.\n\nMove `.upstream\u002F` to B and list the commits between A and B. Both are on\n`release-1.xx` of `microsoft\u002Fplaywright`:\n\n```sh\ngit checkout --detach FETCH_HEAD && python scripts\u002Fupstream.py checkout\ngit -C .upstream merge-base --is-ancestor \u003CA> \u003CB> && echo \"A is before B\"\ngit -C .upstream log --reverse --format='%h %s' \u003CA>..\u003CB>\n```\n\nA commit of an upstream release branch has the title `cherry-pick(#\u003Cpr>): \u003Ctitle>`,\nwhere `#\u003Cpr>` is the pull request on `main` of `microsoft\u002Fplaywright`. For each\ncommit, read the pull request and the issue that it fixes:\n\n```sh\ngh pr view \u003Cpr> --repo microsoft\u002Fplaywright --json title,body,closingIssuesReferences\n```\n\nThe patch releases of `microsoft\u002Fplaywright` between A and B name the same issues\n(`gh release view v1.xx.y --repo microsoft\u002Fplaywright`). Use them as a check, not as\nthe source: the list comes from the commits.\n\nKeep a fix only when it changes something for a user of Playwright Python: the\nbrowsers, the driver, the protocol, the API. Leave out the fixes of the test runner,\nof the Node.js tools and of the other languages, and the commits that a user cannot\nsee: version bumps, CI, tests, docs of other languages.\n\nWhen A and B are the same commit, the release has no upstream changes. Then the\ncommits of step 1 are the only changes: list those that a user can see, such as a new\nbundled Node.js or a change of the Docker images.\n\n## 3. The notes\n\nWrite the notes to a file, in GitHub markdown, in this shape. It is the shape of the\nearlier patch releases, for example\n[v1.65.1](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fplaywright-python\u002Freleases\u002Ftag\u002Fv1.65.1):\n\n```markdown\n### Highlights\n\nhttps:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fplaywright\u002Fissues\u002F\u003Cn> - \u003Ctitle of the issue>\nhttps:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fplaywright\u002Fpull\u002F\u003Cn> - \u003Ctitle of the pull request>\n\n\u003COne short paragraph for each change that needs an explanation.>\n\n## Browser Versions\n\n- Chromium \u003Cnew version>\n```\n\n- One line for each fix, and nothing more: no new APIs, no code samples, no\n  sections of the full release notes. A patch release has only fixes.\n- Link the issue that the fix closes, with the title of the issue as it is. The\n  issue can be in `microsoft\u002Fplaywright` or in `microsoft\u002Fplaywright-python`. When\n  there is no issue, link the pull request on `main`, not the cherry-pick, with its\n  title without `cherry-pick(#\u003Cpr>):`.\n- Order the lines by how much they matter to a user: regressions first.\n- Add a paragraph only when the title does not tell a user what changed, for\n  example why a new Node.js matters. Write what the user gets, in one or two\n  sentences.\n- No title line, no version, no date: GitHub shows them.\n\nBrowser Versions: list only the browsers whose version changed since `v1.xx.p`,\neach with its new version. Compare the table in `README.md` at the two commits. A\nroll generates the table from the driver.\n\n```sh\ngit show v1.xx.p:README.md | grep 'GEN:.*-version'\ngit show FETCH_HEAD:README.md | grep 'GEN:.*-version'\n```\n\nThe names are `Chromium`, `Mozilla Firefox` and `WebKit`. When no version changed,\nleave out the `## Browser Versions` section.\n\n## 4. Check the notes\n\n- Each line of the list has a commit between A and B in step 2. Each of those\n  commits that changes something for a user of Playwright Python has a line.\n- Each link opens, and its title is the title of that issue or pull request.\n- The notes name a browser only when its version changed since `v1.xx.p`, with the\n  version of `README.md` at the tip of the branch.\n\n## 5. The draft release\n\nSave the notes as a draft release with the tag `v1.xx.n`, the title `v1.xx.n` and\nthe target `release-1.xx`. A draft of `v1.xx.n` from an earlier run has old notes:\nthe new draft replaces it. Never delete or change a published release.\n\n**As the Playwright bot**, on CI. You have no token and no `gh`: you cannot save the\nrelease yourself. Leave one `release` call in `calls.json`, and the Post step of the\nbot saves the draft:\n\n```json\n{ \"call\": \"release\", \"repo\": \"microsoft\u002Fplaywright-python\", \"tag\": \"v1.xx.n\", \"target\": \"release-1.xx\", \"bodyFile\": \"release-notes.md\" }\n```\n\nThe call deletes the old draft of `v1.xx.n` and saves the new one. It fails when the\ntag exists or when the release is published. The notes have no footer.\n\n**As a person at a computer**, with `gh` logged in. First check that the old release\nis a draft:\n\n```sh\ngh release view v1.xx.n --repo microsoft\u002Fplaywright-python --json isDraft --jq .isDraft\ngh release delete v1.xx.n --repo microsoft\u002Fplaywright-python --yes    # only when the line above prints true\ngh release create v1.xx.n --repo microsoft\u002Fplaywright-python --draft \\\n  --target release-1.xx --title v1.xx.n --notes-file \u003Cnotes-file>\ngh release list --repo microsoft\u002Fplaywright-python --limit 3          # v1.xx.n shows as Draft\n```\n\nGive the user the URL of the draft, the previous release, and the list of the\nchanges that you left out with the reason for each. Your work ends here. Do not\npublish the release: never run `gh release create` without `--draft`, and never run\n`gh release edit --draft=false`. Publishing creates the tag and starts\n`.github\u002Fworkflows\u002Fpublish.yml`, which builds the wheels and uploads them to PyPI\nafter a reviewer approves the `pypi` environment. Never run that workflow, and never\napprove the environment.\n","# Preparing a patch release of Playwright Python\n\nIn this skill, `release-1.xx` is the release branch (for example `release-1.65`),\n`v1.xx.p` is the previous release of the branch, and `v1.xx.n` is the patch release\nthat you prepare. For the first release of a branch, `v1.xx.0`, use the\n`playwright-release` skill: its notes are the full release notes.\n\nA patch release has no release commit. The fixes are on the branch already: a roll\nmoved its driver to a newer commit of `release-1.xx` of `microsoft\u002Fplaywright`. The\nversion of the package comes from the tag, and GitHub makes the tag when a maintainer\npublishes the draft. So the result of this skill is only the draft release.\n\nRemotes: find the remote for `microsoft\u002Fplaywright-python` with `git remote -v`. The\ncommands below call it `upstream`. In a clone of `microsoft\u002Fplaywright-python`, it\nis `origin`.\n\nNever publish the release: see step 5.\n\n## 1. The version\n\nFetch the branch and the tags. The previous release is the highest `v1.xx.*` tag:\n\n```sh\ngit fetch upstream release-1.xx --tags\ngit tag --list 'v1.xx.*' --sort=-v:refname | head -1      # v1.xx.p\ngit merge-base --is-ancestor v1.xx.p FETCH_HEAD && echo \"on release-1.xx\"\ngit log --first-parent --format='%h %s' v1.xx.p..FETCH_HEAD   # the commits of this repository\n```\n\n- The next version is `v1.xx.n`, with `n = p + 1`. A draft release has no tag, so an\n  old draft of `v1.xx.n` does not change the result.\n- No `v1.xx.*` tag: `v1.xx.0` is not released. Stop and say so.\n- The tag is not on the branch: stop and say so.\n- The log is empty: there is nothing to release. Stop and say so.\n\n## 2. The changes\n\nThe changes of the release are the commits of `microsoft\u002Fplaywright` between the two\ndrivers: the driver of `v1.xx.p` and the driver of the tip of the branch.\n`DRIVER_VERSION` names the commit of each one:\n\n```sh\ngit show v1.xx.p:DRIVER_VERSION      # A, the driver of the previous release\ngit show FETCH_HEAD:DRIVER_VERSION   # B, the driver of this release\n```\n\nFor a release up to 1.64, `DRIVER_VERSION` is a version of `playwright-core`, not a\ncommit. Its commit is the tag `v\u003Cversion>` of `microsoft\u002Fplaywright`.\n\nMove `.upstream\u002F` to B and list the commits between A and B. Both are on\n`release-1.xx` of `microsoft\u002Fplaywright`:\n\n```sh\ngit checkout --detach FETCH_HEAD && python scripts\u002Fupstream.py checkout\ngit -C .upstream merge-base --is-ancestor \u003CA> \u003CB> && echo \"A is before B\"\ngit -C .upstream log --reverse --format='%h %s' \u003CA>..\u003CB>\n```\n\nA commit of an upstream release branch has the title `cherry-pick(#\u003Cpr>): \u003Ctitle>`,\nwhere `#\u003Cpr>` is the pull request on `main` of `microsoft\u002Fplaywright`. For each\ncommit, read the pull request and the issue that it fixes:\n\n```sh\ngh pr view \u003Cpr> --repo microsoft\u002Fplaywright --json title,body,closingIssuesReferences\n```\n\nThe patch releases of `microsoft\u002Fplaywright` between A and B name the same issues\n(`gh release view v1.xx.y --repo microsoft\u002Fplaywright`). Use them as a check, not as\nthe source: the list comes from the commits.\n\nKeep a fix only when it changes something for a user of Playwright Python: the\nbrowsers, the driver, the protocol, the API. Leave out the fixes of the test runner,\nof the Node.js tools and of the other languages, and the commits that a user cannot\nsee: version bumps, CI, tests, docs of other languages.\n\nWhen A and B are the same commit, the release has no upstream changes. Then the\ncommits of step 1 are the only changes: list those that a user can see, such as a new\nbundled Node.js or a change of the Docker images.\n\n## 3. The notes\n\nWrite the notes to a file, in GitHub markdown, in this shape. It is the shape of the\nearlier patch releases, for example\n[v1.65.1](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fplaywright-python\u002Freleases\u002Ftag\u002Fv1.65.1):\n\n```markdown\n### Highlights\n\nhttps:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fplaywright\u002Fissues\u002F\u003Cn> - \u003Ctitle of the issue>\nhttps:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fplaywright\u002Fpull\u002F\u003Cn> - \u003Ctitle of the pull request>\n\n\u003COne short paragraph for each change that needs an explanation.>\n\n## Browser Versions\n\n- Chromium \u003Cnew version>\n```\n\n- One line for each fix, and nothing more: no new APIs, no code samples, no\n  sections of the full release notes. A patch release has only fixes.\n- Link the issue that the fix closes, with the title of the issue as it is. The\n  issue can be in `microsoft\u002Fplaywright` or in `microsoft\u002Fplaywright-python`. When\n  there is no issue, link the pull request on `main`, not the cherry-pick, with its\n  title without `cherry-pick(#\u003Cpr>):`.\n- Order the lines by how much they matter to a user: regressions first.\n- Add a paragraph only when the title does not tell a user what changed, for\n  example why a new Node.js matters. Write what the user gets, in one or two\n  sentences.\n- No title line, no version, no date: GitHub shows them.\n\nBrowser Versions: list only the browsers whose version changed since `v1.xx.p`,\neach with its new version. Compare the table in `README.md` at the two commits. A\nroll generates the table from the driver.\n\n```sh\ngit show v1.xx.p:README.md | grep 'GEN:.*-version'\ngit show FETCH_HEAD:README.md | grep 'GEN:.*-version'\n```\n\nThe names are `Chromium`, `Mozilla Firefox` and `WebKit`. When no version changed,\nleave out the `## Browser Versions` section.\n\n## 4. Check the notes\n\n- Each line of the list has a commit between A and B in step 2. Each of those\n  commits that changes something for a user of Playwright Python has a line.\n- Each link opens, and its title is the title of that issue or pull request.\n- The notes name a browser only when its version changed since `v1.xx.p`, with the\n  version of `README.md` at the tip of the branch.\n\n## 5. The draft release\n\nSave the notes as a draft release with the tag `v1.xx.n`, the title `v1.xx.n` and\nthe target `release-1.xx`. A draft of `v1.xx.n` from an earlier run has old notes:\nthe new draft replaces it. Never delete or change a published release.\n\n**As the Playwright bot**, on CI. You have no token and no `gh`: you cannot save the\nrelease yourself. Leave one `release` call in `calls.json`, and the Post step of the\nbot saves the draft:\n\n```json\n{ \"call\": \"release\", \"repo\": \"microsoft\u002Fplaywright-python\", \"tag\": \"v1.xx.n\", \"target\": \"release-1.xx\", \"bodyFile\": \"release-notes.md\" }\n```\n\nThe call deletes the old draft of `v1.xx.n` and saves the new one. It fails when the\ntag exists or when the release is published. The notes have no footer.\n\n**As a person at a computer**, with `gh` logged in. First check that the old release\nis a draft:\n\n```sh\ngh release view v1.xx.n --repo microsoft\u002Fplaywright-python --json isDraft --jq .isDraft\ngh release delete v1.xx.n --repo microsoft\u002Fplaywright-python --yes    # only when the line above prints true\ngh release create v1.xx.n --repo microsoft\u002Fplaywright-python --draft \\\n  --target release-1.xx --title v1.xx.n --notes-file \u003Cnotes-file>\ngh release list --repo microsoft\u002Fplaywright-python --limit 3          # v1.xx.n shows as Draft\n```\n\nGive the user the URL of the draft, the previous release, and the list of the\nchanges that you left out with the reason for each. Your work ends here. Do not\npublish the release: never run `gh release create` without `--draft`, and never run\n`gh release edit --draft=false`. Publishing creates the tag and starts\n`.github\u002Fworkflows\u002Fpublish.yml`, which builds the wheels and uploads them to PyPI\nafter a reviewer approves the `pypi` environment. Never run that workflow, and never\napprove the environment.\n",{"name":5,"description":7},"main","86a5f5a81010b1dbd155263e99782442b61d0cb2",".claude\u002Fskills\u002Fplaywright-patch-release",1256,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fplaywright-python","https:\u002F\u002Fplaywright.dev\u002Fpython\u002F","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 08:23:33",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add microsoft\u002Fplaywright-python --skill playwright-patch-release",{"tool":40,"command":41},"bunx","bunx skills add microsoft\u002Fplaywright-python --skill playwright-patch-release",{"tool":43,"command":44},"pnpm","pnpm dlx skills add microsoft\u002Fplaywright-python --skill playwright-patch-release","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fplaywright-python\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-patch-release\u002FSKILL.md",true,[],[49,70],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":69},"01M6FKTBF86CM5W9YZ7T9T331B","playwright-roll","Roll Playwright Python to a new microsoft\u002Fplaywright commit. Pins the commit, generates the API and builds the driver from it, and ports the upstream diff of the client and the tests.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fplaywright-python\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-roll\u002FSKILL.md",[],[56,57,58,59,60,61,62,63,64,65,9,66,67,68],"playwright","playwright roll","api","it","commit","driver","client","tests","python","upstream","diff","ports","new","2026-11-10 10:12:30",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":69},"01M6FKT83DVEZK9W1814EGS0S2","playwright-release","Prepare a new Playwright Python release, v1.xx.0, with the full release notes. For a patch release of a release branch, use playwright-patch-release. Checks open bugs, adds Python-specific changes to the Python release notes in microsoft\u002Fplaywright, opens the release PR, cuts the release branch, and saves a draft GitHub release. Never publishes the release.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fplaywright-python\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-release\u002FSKILL.md",[],[77,56,78,79,80,81,82,83,84,64,9,85,86,87,88,89,90],"release","playwright release","changes","bugs","github release","prepare","release notes","open","github","pr","never","branch","notes","draft"]