github-copilot-upgrader
Обновление пакета GitHub Copilot в проекте
Что получите
Обновлённый пакет и документ `.build/upgrade-notes.md` с изменениями и различиями определений типов.
Что передать
Рабочий проект vscode-copilot-chat и задача обновить @github/copilot до последней версии.
Проверен состав файлов. Запуск не тестировался. Что проверено
Оценки пользователей
Как использовать
Помогает разработчикам vscode-copilot-chat обновить пакет @github/copilot и устранить вызванные обновлением ошибки. Сравнивает определения типов и документирует изменения кода, тестов и возможностей SDK.
- Создайте список работ в Markdown и сохраните прежние определения типов.
- Обновите пакет через `npm install @github/copilot@latest`, выполните `npm run postinstall` и сравните определения типов.
- Устраните ошибки компиляции, разберите сбои модульных тестов и подготовьте итоговые заметки.
Условия работы
- Порядок рассчитан на vscode-copilot-chat; список работ обязателен до начала и обновляется после каждого шага.
- Нельзя менять поведение кода только ради прохождения тестов; неоднозначные решения требуют уточнения у пользователя.
- Источник противоречив: список работ включает интеграционные тесты, но отдельное примечание запрещает их запуск. Это требует уточнения перед таким запуском.
Пример запроса после установки
Обнови @github/copilot до последней версии в vscode-copilot-chat, сравни определения типов, устрани ошибки компиляции и подготовь заметки об изменениях кода и тестов.
Пример составлен по инструкции автора; результат запуска не проверялся.
Основание: инструкция закреплённой версииДля установки
Передайте промпт агенту, поддерживающему этот скилл. Подключения и инструменты для работы скилла настраиваются отдельно.
Совместимые агенты
Совместимость указана для инструкций. Запуск в каждом приложении не тестировался; для веб-чата способ подключения может отличаться.
Файлы скилла
GitHubЧитать инструкцию SKILL.md
Исходный текст закреплённой версии.
---
name: github-copilot-upgrader
description: Use this to update the Github Copilot CLI/SDK
model: Claude Opus 4.6
---
You are an expert at upgrading the @github/copilot npm package in the vscode-copilot-chat project.
## Upgrade Process
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:
1. Snapshot old type definitions
2. Update the package
3. Compare differences in type definitions and document them
4. Compile,
5. fix
6. test
7. Repease steps Compile, fix and tests until all tests are passing
8. Run integration tests
9. Repeate Compile, Fix, Test, until all tests are passing
11. Create a summary
Note:
* Do not run any integration test.
Follow these steps exactly:
### 1. Snapshot of old type definitions
Take a snapshot of node_modules/@github/copilot/sdk/index.d.ts to compare against after the upghttps://github.com/microsoft/vscode/issues/291457rade.
### 2. Update the package using command `npm install @github/copilot@latest`
After this you MSUT run `npm run postinstall`
### 3. Compare differences in type definitions
* Use mode=background for comparing the files and when done, just let me know its done
* This is what you need to do in the background task:
- Analyze the differences between the old and new index.d.ts files to identify any API changes, new features, or breaking changes.
- Document the changes in a clear and organized manner, create the documentation in in .build/upgrade-notes.md
### 4. Compile, fix and test
#### 4.1 Compile
- Run the following commands to identify any type errors caused by the upgrade:
- You must perform a deep analysis of the compilation errors before attempting to resolve them.
- Ensure there are no compilation errors before proceeding to run the tests.
```bash
npm run postinstall
npm run compile
npx tsc --noEmit --project tsconfig.json
```
#### 4.2 Run Tests
- Use the following command to run test
```bash
npm run test:unit
```
- Do NOT change the behavour of the code just to make the tests pass.
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.
- Ensure all tests are passing before proceeding to the next step.
#### 5. Summarize the changes
- After successfully upgrading the @github/copilot package and ensuring that all tests are passing, you must create a summary of the changes that were made during the upgrade process.
- Give a summary of the changes in the code base
- Give a summary of the changes in the tests
- Give a summary of the differenes in the type definitions between the old and new versions of the @github/copilot package.
- Focus on the new API or features that were added, any breaking changes that were introduced, and any deprecated features that were removed.
- Document the summary in a clear and organized manner, create the documentation in in .build/upgrade-notes.md
Проверка и особенности
Автоматическая проверка источника и файлов
Автоматически проверены публичный репозиторий, лицензия, заголовок SKILL.md, состав текстового пакета и Git-хеш каждого файла. Пакеты с исполняемым кодом и срабатываниями применённых статических правил не включены. Ручной аудит всех инструкций и функциональный запуск не проводились. Внешние инструменты и сервисы не проверялись. Проверка не гарантирует безопасность.
У репозитория было 193,173 звёзд GitHub при проверке 2026-09-27. Порог добавления — строго больше 100 000. Звёзды относятся ко всему репозиторию, а не к качеству или установкам скилла.
Есть ссылки на внешние инструкции или инструменты: их содержимое и доступность могут изменяться отдельно от скилла.
- Проверка состава
- 27.09.2026
- Проверенная версия
7fbceca31b92- Файлы с кодом
- Не указаны в данных проверки
- Изменения на GitHub
- Нужна повторная проверкаПоследняя проверка: 11.10.2026
Репозиторий и лицензия
Это показатели всего репозитория, а не установки скилла. Снимок требует обновления.
- Последняя активность GitHub
- 11.10.2026
- Лицензия
- MIT
- Добавлен в каталог
- 27.09.2026
Полный текст лицензии
MIT License Copyright (c) Microsoft Corporation. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Ещё в этой категории
Все в категорииОбсуждение
ПравилаПользовались этим скиллом? Делитесь опытом без регистрации. Все комментарии проверяет модератор.
