pr-screenshot-docs
БесплатноБез исполняемых скриптовНе проверенCapture and document UI changes with before/after screenshots for pull requests. Use when creating PRs that include visual changes to ensure reviewers can…
Об этом скилле
PR Screenshot Documentation
Guidance for capturing and documenting UI changes with before/after screenshots when creating pull requests.
When to Use This Skill
- Creating PRs with frontend/UI modifications
- Documenting visual changes for code review
- Building a visual record of design evolution
- Enabling async design review without running the app
Screenshot Workflow
1. Before Making Changes
Capture the current state before implementing UI modifications:
1. browser_resize(width: 320, height: 568) # Mobile-first
2. browser_navigate to the target page
3. browser_snapshot to identify elements
4. browser_take_screenshot(element: "Target component", ref: "E123")
Save or note the screenshot for later comparison.
2. After Implementing Changes
Capture the same view after your modifications:
1. Refresh or navigate to the updated page
2. browser_snapshot to get updated refs
3. browser_take_screenshot(element: "Target component", ref: "E123")
3. Upload Screenshots (Optional)
For persistent URLs in PR descriptions, upload to an image hosting service:
# Using curl with 0x0.st (ephemeral hosting)
curl -F '[email protected]' https://0x0.st
# Or use project-specific image storage
Note: 0x0.st URLs expire. For permanent records, use GitHub's drag-and-drop image upload in PR descriptions or project documentation storage.
PR Description Template
Include a visual comparison section in your PR description:
## Visual Changes
| Before | After |
|--------|-------|
|  |  |
### What Changed
- [Specific visual change 1]
- [Specific visual change 2]
Viewport Recommendations
Choose viewport size based on what you're documenting:
| Target | Width | Height | Use Case |
|---|---|---|---|
| Mobile | 320 | 568 | Mobile-first responsive |
| Tablet | 768 | 1024 | Tablet layouts |
| Desktop | 1280 | 800 | Standard desktop |
| Wide | 1440 | 900 | Wide desktop layouts |
Default to mobile (320px) for documentation - if it looks good on mobile, it usually scales up well.
Best Practices
Capture Strategy
- Focus on the changed component - don't capture full pages unless layout changed
- Use consistent viewports - same size for before and after
- Capture interactive states - hover, focus, active when relevant
- Include error states - if you changed error handling UI
Documentation Quality
- Describe what changed - don't make reviewers guess
- Explain why - connect visual changes to user benefit
- Note accessibility - mention contrast, focus indicators if relevant
When NOT to Capture
- Pure backend changes with no UI impact
- Code refactoring without visual changes
- Test-only changes
- Configuration updates
Integration with PR Workflow
This skill complements the /create-pr command. Before creating a PR with UI changes:
- Take before screenshots (if you didn't already)
- Implement your changes
- Take after screenshots
- Include comparison in PR description
- Run the create-pr command
Example PR Section
## Visual Changes
| Before | After |
|--------|-------|
|  |  |
### Changes Made
- Increased button padding from 8px to 12px for better touch targets
- Added subtle shadow for depth
- Improved contrast ratio from 3.5:1 to 4.8:1 (now WCAG AA compliant)
### Tested Viewports
- [x] Mobile (320px)
- [x] Tablet (768px)
- [x] Desktop (1280px)
Related Tools
visual-validatoragent - For rigorous visual QA after changesui-ux-designeragent - For iterative design refinement
Установить pr-screenshot-docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл pr-screenshot-docs?
Capture and document UI changes with before/after screenshots for pull requests. Use when creating PRs that include visual changes to ensure reviewers can assess design modifications.
Как установить скилл pr-screenshot-docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pr-screenshot-docs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic