Repository navigation
Capture and attach screenshots and screen recordings in file-pr - #67
Closed
stephenfinch wants to merge 5 commits into
Closed
stephenfinch wants to merge 5 commits into
stephenfinch wants to merge 5 commits into
Conversation
gh 2.101.0 added --attach to pr create, pr edit, and pr comment. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cuts the skill about 20%. When the agent can capture the screen itself, it now takes UI screenshots without waiting to be asked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The earlier trim cut the whole skill. Only the new screenshot text needed shortening. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
Superseded: the screenshot work merged in #64. The screen recording change moved to its own branch off main. |
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Screen recordings need an accessible text equivalent and captions or transcripts where applicable.
Review effort: Balanced
Findings: 1
What changed in this PR
Updates file-pr to capture and upload UI screenshots or recordings when opening PRs.
Changes:
- Adds automatic screenshot and screen-recording guidance.
- Documents
gh --attachusage and failure handling. - Updates repository skill indexes.
| File | Description |
|---|---|
skills/file-pr/SKILL.md |
Defines capture and attachment behavior. |
README.md |
Updates the skill summary. |
AGENTS.md |
Updates agent guidance. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|  | ||
| ``` | ||
|
|
||
| `gh` uploads each file and rewrites the reference; unreferenced files land at the bottom of the body. If an upload fails, the PR still opens — tell the user which files are missing. Videos render as a player and take no alt text. Needs `gh` 2.99.0 or later. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Why
PRs opened with
file-prleft the Screenshots section for the user to fill in, even when the agent could capture the UI itself. The skill now takes screenshots, and records the screen for motion or multi-step flows, then uploads them withgh --attach.What Changed
gh --attach(gh 2.99.0+)Screenshots
N/A — no UI changes
Pre-merge
README.mdandAGENTS.md? Any new, renamed, or removed skill needs a row in the README table and a bullet in AGENTS.md. Check the box or replace it withN/Aif this PR touches no skill.🤖 Generated with Claude Code