microsoft/github-copilot-upgrader
Use this to update the Github Copilot CLI/SDK
npx skills add https://github.com/microsoft/vscode --skill github-copilot-upgrader
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:
11. Create a summary
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
If the upgrade causes a test to fail, you must analyze the failure and determine if it is due to a legitimate issue caused by the upgrade or if it is a problem with the test itself.
Take microsoft/github-copilot-upgrader from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference npm, npx.
Without those the skill loads but fails at the first command.