[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699DJMR6CE1MH5XCJZ0GFQ0":3,"skill-same:01M699DJMR6CE1MH5XCJZ0GFQ0":75},{"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":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M699DJMR6CE1MH5XCJZ0GFQ0","sync","Git 分支同步与发布","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.","将当前会话分支与其上游分支同步，或将当前会话分支发布到远程仓库。当用户要求同步分支、拉取最新变更、变基到上游、推送当前分支、发布分支或设置上游分支时使用。","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\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fsync\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[5,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"pull","push","publish","SET","rebase","branch","user","session","use","upstream","remote","with","latest","changes","when","2026-11-10 10:12:30",false,"---\nname: sync\ndescription: 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.\n---\n\u003C!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. -->\n\n# Sync Changes\n\nSync 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.\n\n## Guidelines\n\n- **Never force-push** (`--force`, `--force-with-lease`) without explicit user approval.\n- **Never skip pre-push hooks** (do not use `--no-verify`).\n- **Never rewrite or drop commits** during rebase without asking the user.\n- When in doubt about conflict resolution — ask the user.\n\n## Workflow\n\n1. Check for uncommitted changes first. If there are uncommitted changes, use the `\u002Fcommit` skill to commit them before continuing.\n2. Check whether the current session branch has an upstream branch.\n3. If the current session branch has an upstream branch:\n   3.1. Fetch the upstream remote first so tracking refs are up to date.\n      ```\n      git fetch \u003Cupstream-remote>\n      ```\n   3.2. Check ahead\u002Fbehind counts. If the branch is already in sync (0 ahead, 0 behind), stop and report that no sync is needed.\n      ```\n      git rev-list --left-right --count HEAD...@{u}\n      ```\n   3.3. If behind, rebase onto the upstream tracking branch.\n      ```\n      git rebase @{u}\n      ```\n   3.4. If there are merge conflicts, resolve them by preserving the intent of both sides. Stage the resolved files and continue the rebase.\n      ```\n      git add \u003Cresolved-files>\n      git rebase --continue\n      ```\n      If conflict resolution is unclear, ask the user how to proceed. If the user wants to stop the rebase, abort it:\n      ```\n      git rebase --abort\n      ```\n   3.5. If the branch has local commits (ahead > 0), push them to the remote after a successful rebase.\n      ```\n      git push\n      ```\n      If the push is rejected because the rebase rewrote history, explain the situation to the user and ask for approval before force-pushing.\n4. If the current session branch does not have an upstream branch:\n   4.1. Determine the remote to publish to.\n      - If there is only one remote, use it.\n      - If there are multiple remotes, use the #tool:vscode\u002FaskQuestions tool to ask which remote to use.\n   4.2. Publish the current branch and set upstream in one step.\n      ```\n      git push -u \u003Cremote> HEAD\n      ```\n\n## Validation\n\nAfter the workflow completes, validate the result with explicit checks:\n\n1. Verify the working tree is clean:\n   ```\n   git status --porcelain\n   ```\n2. Verify sync state (ahead\u002Fbehind counts are both 0):\n   ```\n   git rev-list --left-right --count HEAD...@{u}\n   ```\n3. If the branch was newly published, verify the upstream branch is configured:\n   ```\n   git rev-parse --abbrev-ref --symbolic-full-name @{u}\n   ```\n","\u003C!-- Customize this skill and select save to override its behavior. Delete that copy to restore the built-in behavior. -->\n\n# Sync Changes\n\nSync 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.\n\n## Guidelines\n\n- **Never force-push** (`--force`, `--force-with-lease`) without explicit user approval.\n- **Never skip pre-push hooks** (do not use `--no-verify`).\n- **Never rewrite or drop commits** during rebase without asking the user.\n- When in doubt about conflict resolution — ask the user.\n\n## Workflow\n\n1. Check for uncommitted changes first. If there are uncommitted changes, use the `\u002Fcommit` skill to commit them before continuing.\n2. Check whether the current session branch has an upstream branch.\n3. If the current session branch has an upstream branch:\n   3.1. Fetch the upstream remote first so tracking refs are up to date.\n      ```\n      git fetch \u003Cupstream-remote>\n      ```\n   3.2. Check ahead\u002Fbehind counts. If the branch is already in sync (0 ahead, 0 behind), stop and report that no sync is needed.\n      ```\n      git rev-list --left-right --count HEAD...@{u}\n      ```\n   3.3. If behind, rebase onto the upstream tracking branch.\n      ```\n      git rebase @{u}\n      ```\n   3.4. If there are merge conflicts, resolve them by preserving the intent of both sides. Stage the resolved files and continue the rebase.\n      ```\n      git add \u003Cresolved-files>\n      git rebase --continue\n      ```\n      If conflict resolution is unclear, ask the user how to proceed. If the user wants to stop the rebase, abort it:\n      ```\n      git rebase --abort\n      ```\n   3.5. If the branch has local commits (ahead > 0), push them to the remote after a successful rebase.\n      ```\n      git push\n      ```\n      If the push is rejected because the rebase rewrote history, explain the situation to the user and ask for approval before force-pushing.\n4. If the current session branch does not have an upstream branch:\n   4.1. Determine the remote to publish to.\n      - If there is only one remote, use it.\n      - If there are multiple remotes, use the #tool:vscode\u002FaskQuestions tool to ask which remote to use.\n   4.2. Publish the current branch and set upstream in one step.\n      ```\n      git push -u \u003Cremote> HEAD\n      ```\n\n## Validation\n\nAfter the workflow completes, validate the result with explicit checks:\n\n1. Verify the working tree is clean:\n   ```\n   git status --porcelain\n   ```\n2. Verify sync state (ahead\u002Fbehind counts are both 0):\n   ```\n   git rev-list --left-right --count HEAD...@{u}\n   ```\n3. If the branch was newly published, verify the upstream branch is configured:\n   ```\n   git rev-parse --abbrev-ref --symbolic-full-name @{u}\n   ```\n",{"name":5,"description":7},"main","11ba54a90a0ff8720cf47c086f5a9948eef9cf2c","src\u002Fvs\u002Fsessions\u002Fskills\u002Fsync",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":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add microsoft\u002Fvscode --skill sync",{"tool":67,"command":68},"bunx","bunx skills add microsoft\u002Fvscode --skill sync",{"tool":70,"command":71},"pnpm","pnpm dlx skills add microsoft\u002Fvscode --skill sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fvscode\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fsync\u002FSKILL.md",true,[],[76,84,91,98,124,150],{"skillNo":77,"name":78,"nameZh":17,"description":79,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":83},"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":85,"name":86,"nameZh":17,"description":87,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":83},"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":92,"name":93,"nameZh":17,"description":94,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":83},"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":99,"name":100,"nameZh":17,"description":101,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":46},"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",[],[105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,45,122,123],"sweeper query","query","sweeper","duplicates","read","Citations","brief","ready","which","review","request","fix","plan","issues","ranking","open","only","code","natural-language",{"skillNo":125,"name":126,"nameZh":127,"description":128,"descriptionZh":129,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":130,"categories":131,"keywords":136,"publishedAt":46},"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",[132,133],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":134,"categoryName":135,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",[137,138,139,140,37,141,142,143,144,38,145,39,45,146,147,148,149],"update","update skills","repository","pattern","sessions","instructions","domain","for","knowledge","reusable","learn","learnings","create",{"skillNo":151,"name":152,"nameZh":153,"description":154,"descriptionZh":155,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":156,"categories":157,"keywords":160,"publishedAt":46},"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",[158,159],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[161,137,162,31,32,44,163,144,115,38,39,164,45,37],"pr","update pr","pull request","Existing"]