Skip to content

Agent convention: /pr-flow screenshot guidance should specify capture width and Monitor sidebar width (no clipped contents) #2257

Closed

Description

@cliffhall

Problem

/pr-flow §5 ("Screenshots, for any UI change") says what to capture and where to put it, but nothing about the viewport it is captured at. The result is screenshots whose contents are clipped — most visibly the Monitor sidebar, whose rows truncate on the right at the default width the capture helper opens.

This is not hypothetical. On #2234 the PR screenshots had to be re-shot three times for exactly this: the first set clipped the Monitor sidebar, the second set still clipped it after only the window was widened, and the third pass finally worked once the sidebar divider itself was dragged left to give the sidebar room at the expense of the skill list. Each round is a full re-capture — start the prod web server, connect through the deep link, drive Playwright, re-upload, edit the PR body — so the cost of the missing sentence is real.

The specific trap is that widening the window does not widen the sidebar. The main/sidebar split is a draggable divider whose position is independent of the viewport, so a wider screen grows the content column and leaves the sidebar exactly as clipped as it was. Both levers have to be set, and only one of them is obvious.

What the guidance should say

Add to /pr-flow §5:

  • A named capture width to shoot at, so screenshots across PRs are comparable instead of each being whatever the author's window happened to be.
  • Set the Monitor sidebar divider explicitly, not just the window — drag it left far enough that no row truncates. Note that the left-hand list usually has room to give up, so the sidebar is the one to favor.
  • A no-clipping check before uploading: read the shot back and confirm no row, badge, or value is cut off at either edge. A clipped screenshot is worse than none — it reads as a rendering bug in the feature being reviewed.

The related mechanics already captured in memory but not in the skill are worth folding in at the same time: full-page rather than a clip region, marking activeElement when the shot is about focus, and waiting out the view crossfade so a transition isn't captured mid-flight.

Out of scope

The upload mechanics in §5 (the query-string parameters, --config - for the token) are correct and unchanged — this is purely about the capture step that precedes them.

Activity

  1. added this to the v2.7.0 milestone on Sep 5, 2026
  2. added
    documentation
    v2
    on Sep 5, 2026
  3. modified the milestones: v2.7.0, v2.6.0 on Sep 5, 2026
  4. self-assigned this
    on Sep 6, 2026
  5. changed the title [-]docs: /pr-flow screenshot guidance should specify capture width and Monitor sidebar width (no clipped contents)[/-] [+]Agent convention: /pr-flow screenshot guidance should specify capture width and Monitor sidebar width (no clipped contents)[/+] on Sep 6, 2026
  6. cliffhall commented on Sep 6, 2026

    @cliffhall
    MemberAuthor

    Shipped in #2271, merged to v2/main. pr-flow §5 now splits into capture / read-back / upload, names 1280×900 full-page for web captures, documents that widening the window does not widen the Monitor sidebar (with both levers), and requires a no-clipping read-back before uploading.

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

Metadata

Metadata

Assignees

Labels

documentationv2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions