[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FKT83DVEZK9W1814EGS0S2":3,"skill-same:01M6FKT83DVEZK9W1814EGS0S2":69},{"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":23,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6FKT83DVEZK9W1814EGS0S2","playwright-release",null,"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.","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-release\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,9,34,35,36,37,38,39],"release","playwright release","playwright","changes","bugs","github release","prepare","release notes","open","python","github","pr","never","branch","notes","draft","2026-11-10 10:12:30",false,"---\nname: playwright-release\ndescription: 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.\n---\n\n# Preparing a Playwright Python release\n\nIn this skill, `1.xx` is the release (for example `1.64`), and `v1.xx.0` is its tag.\n`.upstream\u002F` is the checkout of `microsoft\u002Fplaywright` at the commit in\n`DRIVER_VERSION` (`python scripts\u002Fupstream.py checkout`). Only read from it: do not\ncommit or switch branches there.\n\nThis skill prepares `v1.xx.0`, the first release of a branch, with the full release\nnotes. A patch release, `v1.xx.1` and later, has only the list of the fixes: use the\n`playwright-patch-release` skill for it.\n\nRemotes: find the remote for `microsoft\u002Fplaywright-python` with `git remote -v`.\nThe commands below call it `upstream`.\n\nWhat you may push:\n- The user's request to prepare the release is the instruction to open the PRs\n  in steps 2 and 3. Step 2 has a PR only when it adds Python changes.\n- Cut the release branch (step 4) only when the user tells you to.\n- Never publish the release.\n\n## 1. Preconditions\n\nCheck that the bugs are closed. The bug and regression issue templates give\nthese title prefixes:\n\n```sh\ngh issue list --repo microsoft\u002Fplaywright-python --state open \\\n  --search 'in:title \"[Bug]\" OR in:title \"[Regression]\"'\n```\n\nIf any are open, list them for the user and ask whether to continue. Do not\nclose or comment on issues.\n\nCheck that the driver is rolled. `DRIVER_VERSION` must be a commit of\n`release-1.xx`: the tag `v1.xx.y`, or the tip of the branch, as the user says. The\ndriver reports the version of `playwright-core` at that commit, so it must be\n`1.xx.y`:\n\n```sh\npython scripts\u002Fupstream.py checkout\ngit -C .upstream fetch origin release-1.xx\ngit -C .upstream merge-base --is-ancestor \"$(cat DRIVER_VERSION)\" FETCH_HEAD && echo \"on release-1.xx\"\ngit -C .upstream show \"$(cat DRIVER_VERSION)\":packages\u002Fplaywright-core\u002Fpackage.json | grep '\"version\"'\n```\n\nIf it is not, roll with the `playwright-roll` skill (`python scripts\u002Fupstream.py pin v1.xx.y`,\nor `pin release-1.xx`). This is often already done. The roll commit goes into the\nrelease commit PR (step 3). When the API roll for 1.xx is already on `main`, that PR\nonly moves `DRIVER_VERSION`.\n\n## 2. Release notes (microsoft\u002Fplaywright)\n\nThe Python notes in `docs\u002Fsrc\u002Frelease-notes-python.md` are written in\n`microsoft\u002Fplaywright` together with the Node.js notes. The\n`playwright-release-notes` skill there\n(`.claude\u002Fskills\u002Fplaywright-release-notes\u002FSKILL.md` on `main`) covers that,\nincluding the Python code style. Check that the `## Version 1.xx` section is on the\nrelease branch:\n\n```sh\ngit -C .upstream fetch origin release-1.xx\ngit -C .upstream show FETCH_HEAD:docs\u002Fsrc\u002Frelease-notes-python.md | grep -n '^## Version 1.xx$'\n```\n\nIf it is missing, tell the user: it should have landed with the Node.js notes.\n\nThen lean towards Python. List the playwright-python commits since the previous\nrelease branch:\n\n```sh\ngh api repos\u002Fmicrosoft\u002Fplaywright-python\u002Fcompare\u002Frelease-1.\u003Cxx-1>...main \\\n  --jq '.commits[].commit.message | split(\"\\n\")[0]'\n```\n\nPick only significant changes that only the Python port has, for example a\ndifferent exception type. Leave out minor bug fixes, internal changes, and anything\nthe notes already cover. If nothing is significant, go to step 3. Otherwise list\nthe changes for the user and ask whether to add them to the notes.\n\nTo add them, write them in a worktree of `.upstream\u002F` next to this repository, on a\nbranch from `origin\u002Fmain`. `.upstream\u002F` itself stays at the pin.\n\n```sh\nnotes=\"$(dirname \"$PWD\")\u002Fplaywright-release-notes-1.xx\"\ngit -C .upstream fetch origin main\ngit -C .upstream worktree add -b release-notes-1.xx-python \"$notes\" origin\u002Fmain\n```\n\nCommit, push to the user's fork of `microsoft\u002Fplaywright`, and open the PR. If\nthe checkout has no remote for the fork, add one. `gh api user --jq .login`\ngives the user's login.\n\n```sh\ngit -C \"$notes\" commit -am \"docs: release notes for v1.xx Python\"\ngit -C \"$notes\" push \u003Cfork-remote> release-notes-1.xx-python\ngh pr create --repo microsoft\u002Fplaywright --head \u003Clogin>:release-notes-1.xx-python \\\n  --title \"docs: release notes for v1.xx Python\" \\\n  --body \"- Update the \\`Version 1.xx\\` Python release notes with upstream and Python-specific changes\"\n```\n\nAfter the PR merges, it needs a cherry-pick to `release-1.xx` (the\n`playwright-cherry-pick` skill in `microsoft\u002Fplaywright`).\n\nThen remove the worktree:\n\n```sh\ngit -C .upstream worktree remove \"$notes\"\n```\n\n## 3. Release commit (playwright-python)\n\nOpen a PR from the branch with the roll commit:\n\n- Title: `chore: roll Playwright to v1.xx.y`, where `v1.xx.y` is the Python\n  release version, even when `DRIVER_VERSION` is the tip of `release-1.xx` and not\n  a tag.\n- Description: the Python release notes, in GitHub markdown (see below).\n  The user copies this description into the GitHub release, so for this PR it\n  replaces the \"keep PR descriptions short\" rule in `AGENTS.md`.\n\nConvert the `## Version 1.xx` section of `release-notes-python.md` on\n`release-1.xx` to GitHub markdown with Python link text. Follow step 3 of the\n`playwright-release-notes` skill in `microsoft\u002Fplaywright`, including its link\ncheck and the Python scan.\n\nWait for the user to review and merge the PR. Do not merge it yourself.\n\n## 4. Release (only when the user tells you to)\n\nCut `release-1.xx` from `main` and push it to `upstream`:\n\n```sh\ngit fetch upstream main\ngit show FETCH_HEAD:DRIVER_VERSION       # the release driver\ngit log -1 --oneline FETCH_HEAD          # the release commit from step 3\ngit ls-remote --exit-code upstream refs\u002Fheads\u002Frelease-1.xx   # must fail: the branch must not exist yet\ngit push upstream FETCH_HEAD:refs\u002Fheads\u002Frelease-1.xx\n```\n\nSave the release notes as a draft release that targets the branch. Take the\nnotes from the merged PR description, so that edits from the review are\nincluded:\n\n```sh\ngh pr view \u003Crelease-pr> --repo microsoft\u002Fplaywright-python --json body --jq .body > \u003Cnotes-file>\ngh release create v1.xx.0 --repo microsoft\u002Fplaywright-python --draft \\\n  --target release-1.xx --title v1.xx.0 --notes-file \u003Cnotes-file>\ngh release list --repo microsoft\u002Fplaywright-python --limit 3   # v1.xx.0 shows as Draft\n```\n\nGive the user the URL of the draft. Your work ends here. Do not publish the\nrelease: 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\nnever approve the environment.\n","# Preparing a Playwright Python release\n\nIn this skill, `1.xx` is the release (for example `1.64`), and `v1.xx.0` is its tag.\n`.upstream\u002F` is the checkout of `microsoft\u002Fplaywright` at the commit in\n`DRIVER_VERSION` (`python scripts\u002Fupstream.py checkout`). Only read from it: do not\ncommit or switch branches there.\n\nThis skill prepares `v1.xx.0`, the first release of a branch, with the full release\nnotes. A patch release, `v1.xx.1` and later, has only the list of the fixes: use the\n`playwright-patch-release` skill for it.\n\nRemotes: find the remote for `microsoft\u002Fplaywright-python` with `git remote -v`.\nThe commands below call it `upstream`.\n\nWhat you may push:\n- The user's request to prepare the release is the instruction to open the PRs\n  in steps 2 and 3. Step 2 has a PR only when it adds Python changes.\n- Cut the release branch (step 4) only when the user tells you to.\n- Never publish the release.\n\n## 1. Preconditions\n\nCheck that the bugs are closed. The bug and regression issue templates give\nthese title prefixes:\n\n```sh\ngh issue list --repo microsoft\u002Fplaywright-python --state open \\\n  --search 'in:title \"[Bug]\" OR in:title \"[Regression]\"'\n```\n\nIf any are open, list them for the user and ask whether to continue. Do not\nclose or comment on issues.\n\nCheck that the driver is rolled. `DRIVER_VERSION` must be a commit of\n`release-1.xx`: the tag `v1.xx.y`, or the tip of the branch, as the user says. The\ndriver reports the version of `playwright-core` at that commit, so it must be\n`1.xx.y`:\n\n```sh\npython scripts\u002Fupstream.py checkout\ngit -C .upstream fetch origin release-1.xx\ngit -C .upstream merge-base --is-ancestor \"$(cat DRIVER_VERSION)\" FETCH_HEAD && echo \"on release-1.xx\"\ngit -C .upstream show \"$(cat DRIVER_VERSION)\":packages\u002Fplaywright-core\u002Fpackage.json | grep '\"version\"'\n```\n\nIf it is not, roll with the `playwright-roll` skill (`python scripts\u002Fupstream.py pin v1.xx.y`,\nor `pin release-1.xx`). This is often already done. The roll commit goes into the\nrelease commit PR (step 3). When the API roll for 1.xx is already on `main`, that PR\nonly moves `DRIVER_VERSION`.\n\n## 2. Release notes (microsoft\u002Fplaywright)\n\nThe Python notes in `docs\u002Fsrc\u002Frelease-notes-python.md` are written in\n`microsoft\u002Fplaywright` together with the Node.js notes. The\n`playwright-release-notes` skill there\n(`.claude\u002Fskills\u002Fplaywright-release-notes\u002FSKILL.md` on `main`) covers that,\nincluding the Python code style. Check that the `## Version 1.xx` section is on the\nrelease branch:\n\n```sh\ngit -C .upstream fetch origin release-1.xx\ngit -C .upstream show FETCH_HEAD:docs\u002Fsrc\u002Frelease-notes-python.md | grep -n '^## Version 1.xx$'\n```\n\nIf it is missing, tell the user: it should have landed with the Node.js notes.\n\nThen lean towards Python. List the playwright-python commits since the previous\nrelease branch:\n\n```sh\ngh api repos\u002Fmicrosoft\u002Fplaywright-python\u002Fcompare\u002Frelease-1.\u003Cxx-1>...main \\\n  --jq '.commits[].commit.message | split(\"\\n\")[0]'\n```\n\nPick only significant changes that only the Python port has, for example a\ndifferent exception type. Leave out minor bug fixes, internal changes, and anything\nthe notes already cover. If nothing is significant, go to step 3. Otherwise list\nthe changes for the user and ask whether to add them to the notes.\n\nTo add them, write them in a worktree of `.upstream\u002F` next to this repository, on a\nbranch from `origin\u002Fmain`. `.upstream\u002F` itself stays at the pin.\n\n```sh\nnotes=\"$(dirname \"$PWD\")\u002Fplaywright-release-notes-1.xx\"\ngit -C .upstream fetch origin main\ngit -C .upstream worktree add -b release-notes-1.xx-python \"$notes\" origin\u002Fmain\n```\n\nCommit, push to the user's fork of `microsoft\u002Fplaywright`, and open the PR. If\nthe checkout has no remote for the fork, add one. `gh api user --jq .login`\ngives the user's login.\n\n```sh\ngit -C \"$notes\" commit -am \"docs: release notes for v1.xx Python\"\ngit -C \"$notes\" push \u003Cfork-remote> release-notes-1.xx-python\ngh pr create --repo microsoft\u002Fplaywright --head \u003Clogin>:release-notes-1.xx-python \\\n  --title \"docs: release notes for v1.xx Python\" \\\n  --body \"- Update the \\`Version 1.xx\\` Python release notes with upstream and Python-specific changes\"\n```\n\nAfter the PR merges, it needs a cherry-pick to `release-1.xx` (the\n`playwright-cherry-pick` skill in `microsoft\u002Fplaywright`).\n\nThen remove the worktree:\n\n```sh\ngit -C .upstream worktree remove \"$notes\"\n```\n\n## 3. Release commit (playwright-python)\n\nOpen a PR from the branch with the roll commit:\n\n- Title: `chore: roll Playwright to v1.xx.y`, where `v1.xx.y` is the Python\n  release version, even when `DRIVER_VERSION` is the tip of `release-1.xx` and not\n  a tag.\n- Description: the Python release notes, in GitHub markdown (see below).\n  The user copies this description into the GitHub release, so for this PR it\n  replaces the \"keep PR descriptions short\" rule in `AGENTS.md`.\n\nConvert the `## Version 1.xx` section of `release-notes-python.md` on\n`release-1.xx` to GitHub markdown with Python link text. Follow step 3 of the\n`playwright-release-notes` skill in `microsoft\u002Fplaywright`, including its link\ncheck and the Python scan.\n\nWait for the user to review and merge the PR. Do not merge it yourself.\n\n## 4. Release (only when the user tells you to)\n\nCut `release-1.xx` from `main` and push it to `upstream`:\n\n```sh\ngit fetch upstream main\ngit show FETCH_HEAD:DRIVER_VERSION       # the release driver\ngit log -1 --oneline FETCH_HEAD          # the release commit from step 3\ngit ls-remote --exit-code upstream refs\u002Fheads\u002Frelease-1.xx   # must fail: the branch must not exist yet\ngit push upstream FETCH_HEAD:refs\u002Fheads\u002Frelease-1.xx\n```\n\nSave the release notes as a draft release that targets the branch. Take the\nnotes from the merged PR description, so that edits from the review are\nincluded:\n\n```sh\ngh pr view \u003Crelease-pr> --repo microsoft\u002Fplaywright-python --json body --jq .body > \u003Cnotes-file>\ngh release create v1.xx.0 --repo microsoft\u002Fplaywright-python --draft \\\n  --target release-1.xx --title v1.xx.0 --notes-file \u003Cnotes-file>\ngh release list --repo microsoft\u002Fplaywright-python --limit 3   # v1.xx.0 shows as Draft\n```\n\nGive the user the URL of the draft. Your work ends here. Do not publish the\nrelease: 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\nnever approve the environment.\n",{"name":5,"description":7},"main","86a5f5a81010b1dbd155263e99782442b61d0cb2",".claude\u002Fskills\u002Fplaywright-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":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add microsoft\u002Fplaywright-python --skill playwright-release",{"tool":61,"command":62},"bunx","bunx skills add microsoft\u002Fplaywright-python --skill playwright-release",{"tool":64,"command":65},"pnpm","pnpm dlx skills add microsoft\u002Fplaywright-python --skill playwright-release","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fplaywright-python\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-release\u002FSKILL.md",true,[],[70,78],{"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":77},"01M7DT4H9VFE1V06C1RMT60KGM","playwright-patch-release","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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fplaywright-python\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-patch-release\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":85,"publishedAt":40},"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",[84],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[26,86,87,88,9,89,33,90,91,92,93,94,95,96],"playwright roll","ports","diff","upstream","tests","client","driver","commit","it","api","new"]