Skip to content

Capture and attach screenshots and screen recordings in file-pr - #67

Closed
stephenfinch wants to merge 5 commits into
mainfrom
file-pr-attach-screenshots
Closed

stephenfinch wants to merge 5 commits into
mainfrom
file-pr-attach-screenshots

Conversation

@stephenfinch

@stephenfinch stephenfinch commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Why

PRs opened with file-pr left 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 with gh --attach.

What Changed

  • Capture screenshots by default when a UI change can be captured
  • Record the screen when a still image can't show the change
  • Upload captures with gh --attach (gh 2.99.0+)

Screenshots

N/A — no UI changes


Pre-merge

  • Have you updated README.md and AGENTS.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 with N/A if this PR touches no skill.

🤖 Generated with Claude Code

stephenfinch and others added 5 commits October 5, 2026 11:51
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>
Copilot AI balanced review requested due to automatic review settings October 6, 2026 18:49
@stephenfinch stephenfinch self-assigned this Oct 6, 2026
@stephenfinch

Copy link
Copy Markdown
Member Author

Superseded: the screenshot work merged in #64. The screen recording change moved to its own branch off main.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Screen recordings need an accessible text equivalent and captions or transcripts where applicable.

Review effort: Balanced
Findings: 1 Low severity

Open (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 --attach usage 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.

Comment thread skills/file-pr/SKILL.md
![Invite list showing delivery status](<scratchpad>/invite-status.png)
```

`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.
@stephenfinch
stephenfinch deleted the file-pr-attach-screenshots branch October 6, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants