Accelerate AI Coded Pull Requests Summaries -- Add image attachment support to gh pr create and `gh pr edit
#12788
gabrielalonshield
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Use case
AI coding agents (Claude Code, etc.) in the CLI use
gh pr create/gh pr editto create and update pullrequests. These agents can generate screenshots, charts, and visualizations during their work, but there's no way to attach images to PR descriptions via the CLI.
Today the only workaround is manually opening the browser and drag-dropping images, which breaks the efficient workflow.
Proposal
Add an
--imageflag (or similar) togh pr createandgh pr editthat uploads a local image and inserts a markdown image reference intothe PR body.
Example:
gh pr create --title "Add feature" --body "See results below" --image ./chart.png
Why this matters
CLI-driven development workflows are growing fast with AI coding agents. These tools generate artifacts (plots, architecture diagrams, test result screenshots) that are valuable context for PR reviewers but currently can't be attached without leaving the terminal.
Beta Was this translation helpful? Give feedback.
All reactions