[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699BS0G1D7CXH7G09697THY":3,"skill-same:01M699BS0G1D7CXH7G09697THY":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M699BS0G1D7CXH7G09697THY","update-screenshots","更新 CI 截图基线","Update the committed blocks-ci screenshot hashes after the \"Screenshots & Tests\" check fails, or investigate a screenshot diff reported on a PR. Use when asked to update, accept, or refresh component screenshot baselines from CI. This skill should be run as a subagent.","当“Screenshots & Tests”（截图与测试）检查失败后，更新已提交的 blocks-ci 截图哈希，或调查 PR 上报告的截图差异。当用户要求更新、接受或刷新来自 CI 的组件截图基线时使用。此技能应作为子代理（subagent）运行。","microsoft\u002Fvscode","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M6998NK2WED5M549DX06VBCH",195369,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fupdate-screenshots\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"update screenshots","update","screenshots","check","accept","when","screenshot diff","blocks","as","tests","diff","use","refresh","subagent","investigate","ci","screenshot","run","pr","component","2026-11-10 10:12:30",false,"---\nname: update-screenshots\ndescription: Update the committed blocks-ci screenshot hashes after the \"Screenshots & Tests\" check fails, or investigate a screenshot diff reported on a PR. Use when asked to update, accept, or refresh component screenshot baselines from CI. This skill should be run as a subagent.\n---\n\n# Update Component Screenshots from CI\n\nScreenshot **images** are not stored in the repository — they live in an external service (`hediet-screenshots.azurewebsites.net`), keyed by commit SHA. But a subset of fixtures is pinned by **hash** in [`test\u002FcomponentFixtures\u002Fblocks-ci-screenshots.md`](..\u002F..\u002F..\u002Ftest\u002FcomponentFixtures\u002Fblocks-ci-screenshots.md), and that file **is** committed. When those hashes change, CI fails and you must update the file.\n\n## Two different outcomes, only one of which blocks\n\nThe `Screenshots & Tests` job in [`.github\u002Fworkflows\u002Fcomponent-fixtures.yml`](..\u002F..\u002Fworkflows\u002Fcomponent-fixtures.yml) produces two independent results:\n\n| Result | Blocking? | Action |\n| --- | --- | --- |\n| Screenshot **diff report** (PR comment with before\u002Fafter images) | No — informational | Review the visuals. Nothing to commit. |\n| **blocks-ci hash mismatch** | **Yes — fails the check** | Update `blocks-ci-screenshots.md` and commit. |\n\nA fixture opts into the blocking gate with `labels: { kind: 'screenshot', blocksCi: true }`. Only those fixtures appear in `blocks-ci-screenshots.md`.\n\nThe failure looks like this:\n\n```\n##[error]blocks-ci screenshot hashes do not match committed file. See PR comment or job summary for the updated content.\n```\n\n## Step 1: Get the expected hashes from CI\n\n> **Never regenerate the hashes locally.** They are hashes of the rendered PNG bytes, produced on the `vscode-large-runners-ubuntu-8-core` Linux runners. Rendering on macOS or Windows yields different bytes and therefore different hashes, so locally generated values will fail CI. Always copy the values from the CI job.\n\nThree surfaces carry the same content — use whichever is handy:\n\n- The **PR comment** titled \"blocks-ci screenshots changed\" (non-fork PRs only) — contains the full updated file plus a patch.\n- The **job summary**, which gets the identical body and is the only surface fork PRs receive.\n- The **job log**, whose final step prints a unified diff:\n\n```bash\ngh api repos\u002Fmicrosoft\u002Fvscode\u002Factions\u002Fjobs\u002F\u003CJOB_ID>\u002Flogs > \"$TMPDIR\u002Fci-job-log.txt\"\ngrep -n '##\\[error\\]' \"$TMPDIR\u002Fci-job-log.txt\"\n```\n\nFind the failed job id with:\n\n```bash\ngh pr checks \u003CPR> --json name,link,bucket --jq '.[] | select(.name == \"Screenshots & Tests\")'\n```\n\n## Step 2: Verify the change is intentional before accepting it\n\nThis gate exists to catch **unintended** layout regressions, so accepting new hashes without looking at the images defeats its purpose. The images are publicly fetchable by hash, so pull both the old (committed) and new (from CI) versions and compare:\n\n```bash\ncurl -sL -o old.png \"https:\u002F\u002Fhediet-screenshots.azurewebsites.net\u002Fimages\u002F\u003COLD_HASH>\"\ncurl -sL -o new.png \"https:\u002F\u002Fhediet-screenshots.azurewebsites.net\u002Fimages\u002F\u003CNEW_HASH>\"\n```\n\nThen view them, and localize the change rather than eyeballing full screenshots — the delta is often only a pixel or two:\n\n```bash\npython3 -c \"\nfrom PIL import Image, ImageChops\na = Image.open('old.png').convert('RGB'); b = Image.open('new.png').convert('RGB')\nprint('diff bbox:', ImageChops.difference(a, b).getbbox())\n\"\n```\n\nConfirm the delta matches what the PR intends. If the fixture is unrelated to the change, or the shift is larger than expected, treat it as a regression and fix the code instead of the hashes.\n\n## Step 3: Apply and commit\n\nEdit only the changed lines in `test\u002FcomponentFixtures\u002Fblocks-ci-screenshots.md`, replacing the old hash in the image URL with the new one:\n\n```md\n#### editor\u002FinlineChatZoneWidget\u002FInlineChatZoneWidget\u002FDark\n![screenshot](https:\u002F\u002Fhediet-screenshots.azurewebsites.net\u002Fimages\u002F\u003CNEW_HASH>)\n```\n\nThe file is generated by [`build\u002Flib\u002FscreenshotBlocksCi.ts`](..\u002F..\u002F..\u002Fbuild\u002Flib\u002FscreenshotBlocksCi.ts) and compared **byte-for-byte**, so keep the `\u003C!-- auto-generated by CI — do not edit manually -->` header, the `#### \u003CfixtureId>` \u002F image-link pairing, the blank line between entries, and the `fixtureId` sort order intact. Verify your edit is the exact inverse of the diff CI reported:\n\n```bash\ngit diff test\u002FcomponentFixtures\u002Fblocks-ci-screenshots.md\n```\n\nThen commit and push. The check re-runs and should pass; hashes on `main` become the new baseline after merge.\n\n## Investigating further\n\nRaw captured images and the manifest for a run are uploaded as an artifact:\n\n```bash\ngh run download \u003CRUN_ID> --name screenshots --dir .tmp\u002Fscreenshots\n```\n\n`manifest.json` maps each `fixtureId` to its `imageHash` and any render errors.\n\n## Related failures from the same job\n\nThe check also fails if a fixture **failed to render** (`Fail if fixtures had errors`) or if the Playwright fixture tests failed. Those are genuine bugs — updating hashes will not help. Look for `::error::\u003CfixtureId>:` in the log, and download the `playwright-test-results` artifact for test failures.\n","# Update Component Screenshots from CI\n\nScreenshot **images** are not stored in the repository — they live in an external service (`hediet-screenshots.azurewebsites.net`), keyed by commit SHA. But a subset of fixtures is pinned by **hash** in [`test\u002FcomponentFixtures\u002Fblocks-ci-screenshots.md`](..\u002F..\u002F..\u002Ftest\u002FcomponentFixtures\u002Fblocks-ci-screenshots.md), and that file **is** committed. When those hashes change, CI fails and you must update the file.\n\n## Two different outcomes, only one of which blocks\n\nThe `Screenshots & Tests` job in [`.github\u002Fworkflows\u002Fcomponent-fixtures.yml`](..\u002F..\u002Fworkflows\u002Fcomponent-fixtures.yml) produces two independent results:\n\n| Result | Blocking? | Action |\n| --- | --- | --- |\n| Screenshot **diff report** (PR comment with before\u002Fafter images) | No — informational | Review the visuals. Nothing to commit. |\n| **blocks-ci hash mismatch** | **Yes — fails the check** | Update `blocks-ci-screenshots.md` and commit. |\n\nA fixture opts into the blocking gate with `labels: { kind: 'screenshot', blocksCi: true }`. Only those fixtures appear in `blocks-ci-screenshots.md`.\n\nThe failure looks like this:\n\n```\n##[error]blocks-ci screenshot hashes do not match committed file. See PR comment or job summary for the updated content.\n```\n\n## Step 1: Get the expected hashes from CI\n\n> **Never regenerate the hashes locally.** They are hashes of the rendered PNG bytes, produced on the `vscode-large-runners-ubuntu-8-core` Linux runners. Rendering on macOS or Windows yields different bytes and therefore different hashes, so locally generated values will fail CI. Always copy the values from the CI job.\n\nThree surfaces carry the same content — use whichever is handy:\n\n- The **PR comment** titled \"blocks-ci screenshots changed\" (non-fork PRs only) — contains the full updated file plus a patch.\n- The **job summary**, which gets the identical body and is the only surface fork PRs receive.\n- The **job log**, whose final step prints a unified diff:\n\n```bash\ngh api repos\u002Fmicrosoft\u002Fvscode\u002Factions\u002Fjobs\u002F\u003CJOB_ID>\u002Flogs > \"$TMPDIR\u002Fci-job-log.txt\"\ngrep -n '##\\[error\\]' \"$TMPDIR\u002Fci-job-log.txt\"\n```\n\nFind the failed job id with:\n\n```bash\ngh pr checks \u003CPR> --json name,link,bucket --jq '.[] | select(.name == \"Screenshots & Tests\")'\n```\n\n## Step 2: Verify the change is intentional before accepting it\n\nThis gate exists to catch **unintended** layout regressions, so accepting new hashes without looking at the images defeats its purpose. The images are publicly fetchable by hash, so pull both the old (committed) and new (from CI) versions and compare:\n\n```bash\ncurl -sL -o old.png \"https:\u002F\u002Fhediet-screenshots.azurewebsites.net\u002Fimages\u002F\u003COLD_HASH>\"\ncurl -sL -o new.png \"https:\u002F\u002Fhediet-screenshots.azurewebsites.net\u002Fimages\u002F\u003CNEW_HASH>\"\n```\n\nThen view them, and localize the change rather than eyeballing full screenshots — the delta is often only a pixel or two:\n\n```bash\npython3 -c \"\nfrom PIL import Image, ImageChops\na = Image.open('old.png').convert('RGB'); b = Image.open('new.png').convert('RGB')\nprint('diff bbox:', ImageChops.difference(a, b).getbbox())\n\"\n```\n\nConfirm the delta matches what the PR intends. If the fixture is unrelated to the change, or the shift is larger than expected, treat it as a regression and fix the code instead of the hashes.\n\n## Step 3: Apply and commit\n\nEdit only the changed lines in `test\u002FcomponentFixtures\u002Fblocks-ci-screenshots.md`, replacing the old hash in the image URL with the new one:\n\n```md\n#### editor\u002FinlineChatZoneWidget\u002FInlineChatZoneWidget\u002FDark\n![screenshot](https:\u002F\u002Fhediet-screenshots.azurewebsites.net\u002Fimages\u002F\u003CNEW_HASH>)\n```\n\nThe file is generated by [`build\u002Flib\u002FscreenshotBlocksCi.ts`](..\u002F..\u002F..\u002Fbuild\u002Flib\u002FscreenshotBlocksCi.ts) and compared **byte-for-byte**, so keep the `\u003C!-- auto-generated by CI — do not edit manually -->` header, the `#### \u003CfixtureId>` \u002F image-link pairing, the blank line between entries, and the `fixtureId` sort order intact. Verify your edit is the exact inverse of the diff CI reported:\n\n```bash\ngit diff test\u002FcomponentFixtures\u002Fblocks-ci-screenshots.md\n```\n\nThen commit and push. The check re-runs and should pass; hashes on `main` become the new baseline after merge.\n\n## Investigating further\n\nRaw captured images and the manifest for a run are uploaded as an artifact:\n\n```bash\ngh run download \u003CRUN_ID> --name screenshots --dir .tmp\u002Fscreenshots\n```\n\n`manifest.json` maps each `fixtureId` to its `imageHash` and any render errors.\n\n## Related failures from the same job\n\nThe check also fails if a fixture **failed to render** (`Fail if fixtures had errors`) or if the Playwright fixture tests failed. Those are genuine bugs — updating hashes will not help. Look for `::error::\u003CfixtureId>:` in the log, and download the `playwright-test-results` artifact for test failures.\n",{"name":5,"description":7},"main","11ba54a90a0ff8720cf47c086f5a9948eef9cf2c",".github\u002Fskills\u002Fupdate-screenshots",43835,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode","https:\u002F\u002Fcode.visualstudio.com","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-15 03:00:24",{"source":9,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add microsoft\u002Fvscode --skill update-screenshots",{"tool":72,"command":73},"bunx","bunx skills add microsoft\u002Fvscode --skill update-screenshots",{"tool":75,"command":76},"pnpm","pnpm dlx skills add microsoft\u002Fvscode --skill update-screenshots","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fupdate-screenshots\u002FSKILL.md",true,[],[81,89,96,103,129,158],{"skillNo":82,"name":83,"nameZh":17,"description":84,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":88},"01M7B4XRMJX3WB67XWMX3GVHNN","vscode-ui","Present metrics, comparisons, tables, bar charts, and expandable details as native visuals inside an Agents window response. Use when numbers or a comparison are clearer shown than described. Not for diagrams, mockups, or standalone documents.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fvscode-ui\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":90,"name":91,"nameZh":17,"description":92,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":88},"01M78JJQ6C7V7NR93D5D9N2VCA","html-preview","Create visual reports, implementation plans, code-review explainers, comparisons, diagrams, and static UI mockups as inline HTML previews in the Agents window. Use when the user asks for visual or rendered output, not ordinary HTML code examples.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fhtml-preview\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":17,"description":99,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":88},"01M78JJDRGWKHBBZY6W3GY2CQ9","endgame-status","Report VS Code endgame status, focusing on test-plan progress, tester activity, release-branch PRs, and release-build availability.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fendgame-status\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":17,"description":106,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":51},"01M70H0ANBKZAVEP1NVV4K28M3","sweeper-query","Answer natural-language questions about the VS Code Sweeper's published issue index (index-\u003Cname>.json for microsoft\u002Fvscode and the enrolled family repos) — which issues are agent-ready to implement or plan, what the sweeper proposed for an assignee or area, whether the sweeper knows a report as a duplicate, the highest-value open bugs in a lane — and, for one issue, the review's full record (evidence with file citations, fix brief, proposed comment). Use ONLY when the request explicitly names the sweeper — \"sweeper\", \"vscodesweeper\", \"sweeper-query\", a sweeper verdict, record, brief or index, an agent-ready issue — or asks what \"the sweeper\" found, proposed or knows. Do NOT use for general questions about issues, duplicates, priorities or ranking that do not mention the sweeper. Read-only; discovery only.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsweeper-query\u002FSKILL.md",[],[110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,36,127,128],"sweeper query","query","sweeper","duplicates","read","Citations","brief","ready","which","review","request","fix","plan","issues","ranking","open","only","code","natural-language",{"skillNo":130,"name":131,"nameZh":132,"description":133,"descriptionZh":134,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":135,"categories":136,"keywords":143,"publishedAt":51},"01M699DRJS4YJCV600Q72SVVWE","update-skills","仓库技能与指令更新","Create or update repository skills and instructions when major learnings are discovered during a session. Use when the user says \"learn!\", when a significant pattern or pitfall is identified, or when reusable domain knowledge should be captured for future sessions.","当在会话中发现重要经验教训时，创建或更新仓库技能与指令。当用户说\"learn!\"、识别出重要模式或陷阱，或需要为未来会话捕获可复用的领域知识时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-skills\u002FSKILL.md",[137,140],{"categoryNo":138,"categoryName":139,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":141,"categoryName":142,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",[32,144,145,146,147,148,149,150,151,152,153,42,36,154,155,156,157],"update skills","repository","pattern","user","sessions","instructions","domain","for","session","knowledge","reusable","learn","learnings","create",{"skillNo":159,"name":160,"nameZh":161,"description":162,"descriptionZh":163,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":164,"categories":165,"keywords":170,"publishedAt":51},"01M699DPWHZ72B66P82EW31RNE","update-pr","Pull Request 更新与推送","Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.","更新当前会话的拉取请求（Pull Request）。当用户希望把新变更推送到已有 PR 时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-pr\u002FSKILL.md",[166,167],{"categoryNo":138,"categoryName":139,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":168,"categoryName":169,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[49,32,171,172,173,174,175,151,120,152,42,176,36,147],"update pr","pull","push","changes","pull request","Existing"]