visual-pr — плагин для GitHub Copilot: что делает и как установить
Делает снимки интерфейса через Playwright, размечает элементы и вставляет сравнения до/после в пуллреквесты. Пригодится при любых правках верстки.
/plugin marketplace add github/awesome-copilot
/plugin install visual-pr@awesome-copilotЧто делает visual-pr
Плагин связывает браузерную съемку и оформление пуллреквестов в GitHub и Azure DevOps. Внутри работают четыре навыка: ui-screenshots захватывает экраны с помощью Playwright и PIL, image-annotations добавляет стрелки и выноски, pr-screenshots встраивает результат в карточку задачи, а screen-recording собирает анимированные GIF с переменным таймингом. Для контроля качества разметки алгоритм умеет строить отладочную тепловую карту с оценкой контраста.
Для работы обязательна модель со зрением. Агент сам смотрит на полученную картинку, чтобы рассчитать координаты обрезки и проверить точность меток.
Ставьте плагин, если ревьюеры тратят время на локальный запуск ветки ради проверки одной кнопки.
Какие задачи решает
- Показать визуальные изменения интерфейса прямо в описании пуллреквеста
- Разметить стрелками и выносками нужные элементы на снимке экрана
- Записать демонстрационную GIF-анимацию для заметок к релизу
- Собрать наглядные снимки до и после для отчёта об ошибке
Примеры запросов агенту
- Сделай скриншот страницы issues и разметь кнопку New Issue и название репозитория.
- Добавь в описание пуллреквеста сравнение экрана до и после изменения верстки.
- Запиши короткую GIF-демонстрацию работы формы для release notes.
Как установить visual-pr
Через маркетплейс плагинов
/plugin marketplace add github/awesome-copilot/plugin install visual-pr@awesome-copilotКоманда из источника
copilot plugin install visual-pr@awesome-copilotИз того же набора554
Весь набор →Вопросы о visual-pr
Как установить visual-pr в GitHub Copilot?
Выполните команду copilot plugin install visual-pr@awesome-copilot. Если используете Claude Code, добавьте каталог командой /plugin marketplace add github/awesome-copilot и поставьте сам плагин через /plugin install visual-pr@awesome-copilot.
Что делает плагин visual-pr?
Он автоматизирует создание скриншотов веб-приложений через Playwright, наносит выноски со стрелками и вставляет готовые блоки сравнения в описания PR.
Какая модель нужна для работы visual-pr?
Требуется мультимодальная модель с поддержкой анализа изображений, например Claude Opus 4.6. Зрение необходимо агенту для расчета координат кадрирования и проверки аннотаций.
Исходный текст
visual-pr · MIT
# Visual PR Plugin When you change how something looks — a layout, a chart, a form — the PR description should show the change. Not describe it in words. Show it. A before/after screenshot tells your reviewer exactly what happened, and they don't have to check out the branch to see it. This plugin teaches Copilot to capture screenshots of your web app (or any UI), annotate them with callouts, and embed them in the PR description. Once you get used to having up-to-date screenshots on every visual change, going back to text-only PRs feels like reviewing code with your eyes closed. ## Demo 🎬 It is 2009. You just added the feature to show labels on issues. You better include screenshots because this is huge. Here is how such PR description would look like with our plugin: > **Before** — issues list without labels: > > <img src="demo/before.png" width="600" alt="Issues list without labels"> > > **After** — labels are shown directly on each issue row: > > <img src="demo/after.png" width="600" alt="Issues list with labels annotated"> --- ## It's not just for PRs The same annotation engine works for any screenshot. Here's a single prompt: > *"Go to the GitHub issues page of github/awesome-copilot. Screenshot the issues list and annotate: any issue icon, ready-for-review label, repo name, pinned issues, my avatar, most commented issue, New Issue button."*  The agent captured the page, identified 6 of 7 requested elements, and annotated them all. It correctly reported that the 7th (user avatar) isn't visible because the page was captured without authentication — no hallucinated annotations. ### Debug mode Every annotation run can produce a debug heatmap showing how the algorithm chose label placements — contrast scoring, exclusion zones, and candidate rankings:  --- ## Skills Included | Skill | What it does | |-------|-------------| | [ui-screenshots](../../skills/ui-screenshots/SKILL.md) | Capture web UI screenshots with Playwright + PIL crop workflow | | [image-annotations](../../skills/image-annotations/SKILL.md) | Annotate any image with callout rectangles, arrows, labels, and color-coded highlights | | [pr-screenshots](../../skills/pr-screenshots/SKILL.md) | Embed before/after images in PR descriptions (GitHub + Azure DevOps) | | [screen-recording](../../skills/screen-recording/SKILL.md) | Create annotated animated GIF demos with variable timing | ## Use Cases - **Visual PRs** — show reviewers what changed without checking out the branch - **Release notes** — embed GIF demos of new features - **Bug reports** — before/after screenshots proving the fix - **Documentation** — annotated screenshots with callouts highlighting key areas ## Requirements This plugin needs a model that can view images — the workflow relies on looking at screenshots to find crop coordinates and verify annotations. The demo images in this README were generated with **Claude Opus 4.6**.
© Awesome Copilot Community · MIT · github/awesome-copilot