Skip to content

feat: add /screenshot command for PR visual review - #122

Open
jessepollak wants to merge 1 commit into
mainfrom
feat/pr-screenshot-command
Open

feat: add /screenshot command for PR visual review#122
jessepollak wants to merge 1 commit into
mainfrom
feat/pr-screenshot-command

Conversation

@jessepollak

Copy link
Copy Markdown
Contributor

Summary

  • Add .claude/commands/screenshot.md: a /screenshot slash command that captures the routes affected by a PR's diff with agent-browser and uploads them as draft GitHub release assets for embedding in the PR body — the same flow already used on bdocs, adapted to this repo's actual route tree (including the dev:internal requirement for the internal-explorer/benchmark surfaces).
  • Wire it into AGENTS.md's "Pull requests" section so visual diffs (app/**, globals.css, tailwind.config.ts) get screenshots by default.

Test plan

  • Verified agent-browser open/wait/set/screenshot/close calls used in the command against a running dev server — syntax works end-to-end.
  • Run /screenshot on a real visual-change PR to confirm the route mapping table and upload steps work as documented.

Adds a slash command that captures affected routes with agent-browser
and uploads them as draft GitHub release assets for embedding in PR
descriptions, mirroring the flow already in use on bdocs. Wires it into
the Pull requests section of AGENTS.md so visual diffs get screenshots
by default.

Co-Authored-By: Claude <noreply@anthropic.com>
@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
omni-ui Ready Ready Preview Sep 2, 2026 12:50am UTC

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants