[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6999VH2SW11AK52WA91TR44":3,"skill-same:01M6999VH2SW11AK52WA91TR44":109},{"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":28,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":58,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6999VH2SW11AK52WA91TR44","code-review",null,"Review code changes for correctness, regressions, and unintended scope. Use when reviewing a pull request, branch, commit, patch, or local diff, including when invoked with \u002Fcode-review.","microsoft\u002Fvscode","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M6998NK2WED5M549DX06VBCH",195271,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcode-review\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,5,46,47],"review","code review","code","when","request","changes","for","correctness","with","scope","local","patch","diff","use","branch","review code","pull","pull request","commit","2026-11-10 10:12:30",false,"---\nname: code-review\ndescription: Review code changes for correctness, regressions, and unintended scope. Use when reviewing a pull request, branch, commit, patch, or local diff, including when invoked with \u002Fcode-review.\n---\n\n# Code Review\n\nReview the proposed changes as a senior maintainer. Focus on actionable defects introduced by the changes, especially correctness issues, regressions, and changes that are not necessary for the stated goal.\n\n## Establish the Review Scope\n\nBefore reviewing:\n\n1. Determine the intended change from the request, pull request description, linked issue, and maintainer comments.\n2. Identify the complete diff against the appropriate base.\n3. Account for every changed file and subsystem.\n\nDo not infer the purpose solely from the implementation. If the intended behavior is unclear, state the assumption used for the review.\n\n## Review the Changes\n\nTrace the changed behavior through its callers, dependencies, and tests. Check for:\n\n- Incorrect logic, broken edge cases, or behavior that contradicts the stated goal.\n- Regressions in existing behavior, including platform-specific and lifecycle behavior.\n- Missing or incorrect error handling.\n- Unsafe assumptions about data, ordering, concurrency, or object lifetime.\n- Tests that do not cover the changed behavior or that would pass without the fix.\n- Changes whose connection to the stated goal is unclear.\n\nKeep fixes tied to the underlying cause. Do not accept unrelated changes to behavior, state management, or architecture merely because they make the reported symptom disappear.\n\nTreat prerequisite or tightly coupled changes as in scope only when their necessity is clear from the implementation or pull request description. A changed file should be necessary for the stated goal or be a directly related test, documentation update, generated artifact, or required refactor. Independent cleanup and speculative improvements belong in a separate change.\n\n## Report Findings\n\nReport only findings that are:\n\n- Introduced or made materially worse by the changes under review.\n- Specific and actionable.\n- Supported by the code or by a concrete missing validation.\n\nFor each finding:\n\n1. State the user-visible or engineering impact.\n2. Explain the conditions that trigger it.\n3. Point to the smallest relevant changed line or range.\n4. Explain why the current implementation is incorrect.\n\nPrioritize findings by severity. Do not report stylistic preferences, speculative concerns, or pre-existing problems unrelated to the change. If no actionable findings remain, say so explicitly and mention any meaningful validation gaps.\n\nFlag changes whose connection to the stated goal is unclear even when tests pass or the resulting behavior appears correct. Ask for the causal link to be explained; if none exists, recommend reverting the change or moving it to a separate pull request.\n","# Code Review\n\nReview the proposed changes as a senior maintainer. Focus on actionable defects introduced by the changes, especially correctness issues, regressions, and changes that are not necessary for the stated goal.\n\n## Establish the Review Scope\n\nBefore reviewing:\n\n1. Determine the intended change from the request, pull request description, linked issue, and maintainer comments.\n2. Identify the complete diff against the appropriate base.\n3. Account for every changed file and subsystem.\n\nDo not infer the purpose solely from the implementation. If the intended behavior is unclear, state the assumption used for the review.\n\n## Review the Changes\n\nTrace the changed behavior through its callers, dependencies, and tests. Check for:\n\n- Incorrect logic, broken edge cases, or behavior that contradicts the stated goal.\n- Regressions in existing behavior, including platform-specific and lifecycle behavior.\n- Missing or incorrect error handling.\n- Unsafe assumptions about data, ordering, concurrency, or object lifetime.\n- Tests that do not cover the changed behavior or that would pass without the fix.\n- Changes whose connection to the stated goal is unclear.\n\nKeep fixes tied to the underlying cause. Do not accept unrelated changes to behavior, state management, or architecture merely because they make the reported symptom disappear.\n\nTreat prerequisite or tightly coupled changes as in scope only when their necessity is clear from the implementation or pull request description. A changed file should be necessary for the stated goal or be a directly related test, documentation update, generated artifact, or required refactor. Independent cleanup and speculative improvements belong in a separate change.\n\n## Report Findings\n\nReport only findings that are:\n\n- Introduced or made materially worse by the changes under review.\n- Specific and actionable.\n- Supported by the code or by a concrete missing validation.\n\nFor each finding:\n\n1. State the user-visible or engineering impact.\n2. Explain the conditions that trigger it.\n3. Point to the smallest relevant changed line or range.\n4. Explain why the current implementation is incorrect.\n\nPrioritize findings by severity. Do not report stylistic preferences, speculative concerns, or pre-existing problems unrelated to the change. If no actionable findings remain, say so explicitly and mention any meaningful validation gaps.\n\nFlag changes whose connection to the stated goal is unclear even when tests pass or the resulting behavior appears correct. Ask for the causal link to be explained; if none exists, recommend reverting the change or moving it to a separate pull request.\n",{"name":5,"description":7},"main","11ba54a90a0ff8720cf47c086f5a9948eef9cf2c",".github\u002Fskills\u002Fcode-review",43773,"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-11 08:47:49",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add microsoft\u002Fvscode --skill code-review",{"tool":69,"command":70},"bunx","bunx skills add microsoft\u002Fvscode --skill code-review",{"tool":72,"command":73},"pnpm","pnpm dlx skills add microsoft\u002Fvscode --skill code-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcode-review\u002FSKILL.md",true,[77,83,87,91,95,99,105],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fframe-template.html","SCRIPT","脚本",7703,"https:\u002F\u002Fgithub.com\u002Fwallfacers\u002Fdata-talk\u002Fblob\u002Fmaster\u002Fserver\u002Fdata-talk-adapter\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fbrainstorming\u002Fscripts\u002Fframe-template.html",{"path":84,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":85,"sourceHtmlUrl":86},"scripts\u002Fhelper.js",2707,"https:\u002F\u002Fgithub.com\u002Fwallfacers\u002Fdata-talk\u002Fblob\u002Fmaster\u002Fserver\u002Fdata-talk-adapter\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fbrainstorming\u002Fscripts\u002Fhelper.js",{"path":88,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fserver.cjs",11218,"https:\u002F\u002Fgithub.com\u002Fwallfacers\u002Fdata-talk\u002Fblob\u002Fmaster\u002Fserver\u002Fdata-talk-adapter\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fbrainstorming\u002Fscripts\u002Fserver.cjs",{"path":92,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Fstart-server.sh",4606,"https:\u002F\u002Fgithub.com\u002Fwallfacers\u002Fdata-talk\u002Fblob\u002Fmaster\u002Fserver\u002Fdata-talk-adapter\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fbrainstorming\u002Fscripts\u002Fstart-server.sh",{"path":96,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fstop-server.sh",1314,"https:\u002F\u002Fgithub.com\u002Fwallfacers\u002Fdata-talk\u002Fblob\u002Fmaster\u002Fserver\u002Fdata-talk-adapter\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fbrainstorming\u002Fscripts\u002Fstop-server.sh",{"path":100,"resourceType":101,"resourceTypeDesc":102,"sizeBytes":103,"sourceHtmlUrl":104},"spec-document-reviewer-prompt.md","REFERENCE","参考文档",1748,"https:\u002F\u002Fgithub.com\u002Fwallfacers\u002Fdata-talk\u002Fblob\u002Fmaster\u002Fserver\u002Fdata-talk-adapter\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fbrainstorming\u002Fspec-document-reviewer-prompt.md",{"path":106,"resourceType":101,"resourceTypeDesc":102,"sizeBytes":107,"sourceHtmlUrl":108},"visual-companion.md",12047,"https:\u002F\u002Fgithub.com\u002Fwallfacers\u002Fdata-talk\u002Fblob\u002Fmaster\u002Fserver\u002Fdata-talk-adapter\u002Fsrc\u002Fmain\u002Fresources\u002Fskills\u002Fbrainstorming\u002Fvisual-companion.md",[110,133,154,165,178,194],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":48},"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",[],[117,118,119,29,120,32,33,121,122,123,124,125,126,127,128,129,130,131,132,31],"sweeper query","query","sweeper","fix","which","natural-language","ranking","duplicates","ready","only","read","plan","open","Citations","brief","issues",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":48},"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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-skills\u002FSKILL.md",[],[140,141,35,142,143,144,145,42,146,147,148,149,150,151,152,153,32],"update","update skills","pattern","domain","learnings","reusable","session","user","instructions","knowledge","repository","learn","create","sessions",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":48},"01M699DPWHZ72B66P82EW31RNE","update-pr","Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-pr\u002FSKILL.md",[],[140,161,162,32,33,163,35,42,146,147,164,45,46,34],"pr","update pr","Existing","push",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":48},"01M699DJMR6CE1MH5XCJZ0GFQ0","sync","Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fsync\u002FSKILL.md",[],[167,172,173,164,45,174,32,34,175,37,176,177,42,146,147,43],"SET","publish","rebase","latest","remote","upstream",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":48},"01M699DGXHX6A2A72X57R6GGHJ","sync-upstream","Update a stale session branch by rebasing onto the latest origin. Use when the upstream has moved significantly and the session needs to catch up, resolving conflicts by preserving upstream changes and adapting session work to fit.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fsync-upstream\u002FSKILL.md",[],[177,167,185,186,32,187,188,34,175,189,190,191,192,42,146,43,193,140],"sync upstream","fit","catch","catch up","origin","conflicts","stale","up","work",{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":200,"publishedAt":48},"01M699DEXYFWDGW0BAXJ5QQ377","merge","Merge changes from the topic branch to the merge base branch. Use when the user wants to merge their session's work back to the base branch.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fmerge\u002FSKILL.md",[],[196,146,42,193,43,147,32,201,202,34],"back","base"]