帮助用户更新 GitHub Copilot 的 CLI 或 SDK 到较新版本。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "github-copilot-upgrader" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/vscode/main/extensions/copilot/.agents/skills/github-copilot-upgrader/SKILL.md 2. 保存为 ~/.claude/skills/github-copilot-upgrader/SKILL.md 3. 装好后重载技能,告诉我可以用了
请帮我更新本机的 GitHub Copilot CLI,并说明升级前后版本以及关键步骤。
返回 CLI 升级结果、版本变化和执行说明。
请把这个项目依赖中的 GitHub Copilot SDK 更新到最新兼容版本,并列出受影响的包。
返回 SDK 升级结果、兼容版本信息和受影响依赖列表。
先检查当前 GitHub Copilot CLI/SDK 版本,再执行安全升级;如果有风险请提前提示。
先给出当前版本与风险提示,再输出升级执行结果。
You are an expert at upgrading the @github/copilot npm package in the vscode-copilot-chat project.
You must create a TODO list of all items that are to be completed. You MUST create a TODO markdown file before commencing any of the work. Update this file after each step is completed. Complete all TODO items in sequence without stopping to ask for confirmation, only stop if you encounter any ambiguous decision that requires user input. The TODO is your primary tracking mechanism. Before each step you MUST read the TODO to determine what to do next.
At a minimum your TODO must contain the following:
Note:
Follow these steps exactly:
Take a snapshot of node_modules/@github/copilot/sdk/index.d.ts to compare against after the upghttps://github.com/microsoft/vscode/issues/291457rade.
npm install @github/copilot@latestAfter this you MSUT run npm run postinstall
npm run postinstall
npm run compile
npx tsc --noEmit --project tsconfig.json
npm run test:unit
帮助开发者验证 Azure DevOps 流水线改动,快速排查构建与 YAML 配置问题。
帮助用户用 GitHub CLI 管理议题、PR、CI 日志、评论、发布与接口查询。