kubefleet-dev/kubefleet/pr-screenshots
Claude Code and agent skill by kubefleet-dev/kubefleet
- community
Checking that the SKILL.md file is still in the repository.
Capture Playwright screenshots and embed them in GitHub PR descriptions
Install
npx vskill@latest install kubefleet-dev/kubefleet/pr-screenshotsSKILL.md
Context
When a PR includes visual changes (docs sites, UI components, generated pages), reviewers need to see what the PR delivers without checking out the branch. Screenshots belong in the PR description body, not as committed files and not as text descriptions.
Use this skill whenever:
- A PR touches docs site pages (Astro, Starlight, etc.)
- A PR adds or changes UI components
- A PR generates visual artifacts (TypeDoc, Storybook, diagrams)
- Playwright tests already capture screenshots as part of testing
Patterns
1. Capture screenshots with Playwright
If Playwright tests already exist and produce screenshots, reuse those. Otherwise, write a minimal capture script:
2. Host screenshots on a temporary branch
GitHub PR descriptions render images via URLs. The gh CLI cannot upload binary images directly. Use a temporary orphan branch to host the images:
3. Embed in PR description
Use gh pr edit with the raw URLs embedded as markdown images:
{commands to run locally}
4. Cleanup after merge
After the PR is merged, delete the temporary branch:
5. Gitignore screenshots locally
Screenshots are build artifacts — never commit them to feature branches:
Examples
Example: Docs site PR with 3 pages
- Start dev server:
cd docs && npm run dev - Run Playwright tests (they capture screenshots as a side effect)
- Push screenshots to
screenshots-tempbranch - Update PR body with embedded
![...]()image references - Reviewer sees the pages inline without checking out the branch
Example: Reusing existing Playwright test screenshots
If tests at docs/tests/*.spec.mjs already save to docs/tests/screenshots/:
Anti-Patterns
- ❌ Committing screenshots to feature branches — they bloat the repo and go stale
- ❌ Posting text descriptions instead of actual images — reviewers can't see what they're getting
- ❌ Using `gh` CLI to "upload" images —
gh issue commentandgh pr editdon't support binary uploads - ❌ Asking the user to manually drag-drop images — automate it with the temp branch pattern
- ❌ Skipping screenshots for visual PRs — if the PR changes what users see, show what users see
- ❌ Leaving the screenshots-temp branch around forever — clean up after merge
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.squad/templates/skills/pr-screenshots/SKILL.md
Popularity
- Repository stars
- 151
- Repository forks
- 27
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kubefleet-dev/kubefleet/pr-screenshots)