
Pr Screenshots
- 1 installs
- 37.5k repo stars
- Updated August 5, 2026
- github/awesome-copilot
pr-screenshots skill documents Embed before/after screenshots and annotated images in pull request descriptions.
About
pr-screenshots skill documents Embed before/after screenshots and annotated images in pull request descriptions. Covers PR description patterns, image upload for Azure DevOps and GitHub, and sizing best practices.. name: pr-screenshots description: 'Embed before/after screenshots and annotated images in pull request descriptions. Covers PR description patterns, image upload for Azure DevOps and GitHub, and sizing best practices.'
- Embed before/after screenshots and annotated images in pull request descriptions.
- Platform-specific setup patterns for pr-screenshots.
- Evidence-backed steps from upstream SKILL.md.
- When-to-use criteria for pr-screenshots versus alternatives.
Pr Screenshots by the numbers
- 1 all-time installs (skills.sh)
- Ranked #1,980 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
pr-screenshots capabilities & compatibility
- Capabilities
- pr screenshots quick start · pr screenshots when to use guidance · pr screenshots integration patterns
What pr-screenshots says it does
Embed before/after screenshots in pull request descriptions so reviewers can see the visual change without checking out the branch.
Use this skill when a PR changes something visible:
npx skills add https://github.com/github/awesome-copilot --skill pr-screenshotsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1 |
|---|---|
| repo stars | ★ 37.5k |
| Last updated | August 5, 2026 |
| Repository | github/awesome-copilot ↗ |
How do I use pr-screenshots correctly?
Embed before/after screenshots and annotated images in pull request descriptions. Covers PR description patterns, image upload for Azure DevOps and GitHub, and sizing best practices.
Who is it for?
Teams implementing pr-screenshots workflows from the catalog.
Skip if: Skip when requirements clearly match a different specialized stack.
When should I use this skill?
User asks about pr-screenshots, embed before/after screenshots and annotated images in pull request descriptions. covers p.
What you get
Working pr-screenshots setup with validated configuration and next steps.
Files
PR Screenshots
Embed before/after screenshots in pull request descriptions so reviewers can see the visual change without checking out the branch.
When to Use This Skill
Use this skill when a PR changes something visible:
- Layout, styling, CSS
- Charts, dashboards, data visualizations
- UI components, forms, modals
- Error messages, CLI output, log formatting
PR Description Pattern
Place screenshots directly in the PR description body. Avoid wrapping them in <details> collapse — reviewers are more likely to look at images they can see without clicking.
**Before** — brief description of the problem:

**After** — brief description of the fix:
Keep the text brief. A sentence or two per image describing what the reader should notice. Let the image carry most of the communication.
Multiple changes
For PRs with several visual changes, use separate before/after pairs with headings:
## Filter bar alignment
**Before** — 1px border clash between adjacent buttons:

**After** — borders overlap cleanly, hover tint added:

## Chart tooltip
**Before** — tooltip clipped at container edge:

**After** — tooltip repositions to stay visible:
Image Sizing
- Take screenshots at native 1x resolution — don't resize with PIL (creates artifacts)
- Control display size in HTML when images are too large:
<img src="url" width="600" alt="description">- Before/after pairs must use the same viewport width and crop — otherwise the comparison is meaningless
Uploading Images
Azure DevOps
Upload images as PR attachments via the REST API:
$token = az account get-access-token `
--resource "499b84ac-1321-427f-aa17-267ca6975798" `
--query accessToken -o tsv
$base = "https://{org}.visualstudio.com/{projectId}/_apis/git/repositories/{repoId}"
$url = "$base/pullRequests/{prId}/attachments/screenshot.png?api-version=7.1-preview.1"
# Use HttpClient — Invoke-RestMethod can corrupt binary data
$client = New-Object System.Net.Http.HttpClient
$client.DefaultRequestHeaders.Authorization = `
New-Object System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", $token)
$content = New-Object System.Net.Http.ByteArrayContent(
, [System.IO.File]::ReadAllBytes("screenshot.png")
)
$content.Headers.ContentType = `
[System.Net.Http.Headers.MediaTypeHeaderValue]::new("application/octet-stream")
$resp = $client.PostAsync($url, $content).ResultReference in the PR description:
Azure DevOps gotchas:
- Use `{org}.visualstudio.com` NOT `dev.azure.com/{org}` — AzDO's markdown renderer uses
.visualstudio.com. Thedev.azure.comformat loads noticeably slower - Use
POSTnotPUT(PUT returns 405) - API version must be
7.1-preview.1 - Can't re-upload with the same filename — use a new name (e.g.
screenshot-v2.png) - Use
HttpClientnotInvoke-RestMethod— IRM can corrupt binary data - Repo-relative paths don't work in PR descriptions — must use full URLs
- Don't commit images to the branch just for PR screenshots
GitHub
⚠️ Work in progress. GitHub's drag-and-drop image upload uses internal endpoints that require browser cookies. There's no clean public API for uploading images to PR descriptions yet.
Current workaround: Commit images to a pr-assets orphan branch and reference via blob URLs (github.com/{owner}/{repo}/blob/pr-assets/{file}?raw=true). It works but is clunky — contributions for a better approach are welcome.
Guidelines
1. Capture before state BEFORE making changes — it's easy to forget, and reconstructing the original state later is slow and error-prone 2. Keep descriptions brief — a sentence or two per image pointing out what changed is enough 3. Prefer visible images over collapsed sections — screenshots behind <details> tags are easy to skip 4. Annotate when the change is subtle — use the image-annotations skill to add callouts when the difference isn't immediately obvious 5. Match viewport and crop between before/after pairs so the comparison is meaningful
Limitations
- GitHub image upload requires workarounds (no public API for PR description images)
- Azure DevOps attachment filenames can't be reused — plan naming ahead
- Very large images (>10MB) may not render inline on some platforms
Related skills
FAQ
What does pr-screenshots do?
pr-screenshots skill documents Embed before/after screenshots and annotated images in pull request descriptions.
When should I use pr-screenshots?
User asks about pr-screenshots, embed before/after screenshots and annotated images in pull request descriptions. covers p.
Is this skill safe to install?
Review the Security Audits panel on this page before installing in production.