pr-view
Reviewed
at commit 1c94705
A pane listing the project root repository's open pull requests with titles; click one to open it in the browser.
0 upvotes
Log in to upvote or save- Made by
- ushironoko
- Pinned commit
-
1c9470526c788681341882415f7d3d5268a6dd7f - What we checked
-
Adds a /prs pane that lists the open pull requests of the project's repository with titles, authors, branches and labels, with a filter box and paging. It runs the GitHub CLI (gh) in your project folder every minute while the pane is open, and clicking a row opens that pull request in your browser. It stores nothing.
Review details
Static review of the source at the pinned commit; not run. Hooks: session.start (registers /prs and starts a 60-second timer that refreshes only while the pane is open), command.run (/prs toggles the pane), ui.render (Pane), ui.close. Runtime calls: $.session.root, $.clock, $.command.register, $.ui.open/close/invalidate/resolve, and $.process.run twice: once for 'zsh -c "$@" zsh gh pr list --state open --limit 500 --json <fixed fields>' with the project root as working directory, and once for 'open <url>' when a row is pressed. The command lines are fixed; the only variable is the URL, which is taken from gh's JSON output, accepted only if it parses as an https URL, and passed as a single argument (no shell). PR titles, authors, branches and labels are stripped of control characters and truncated before drawing. gh talks to GitHub itself using the user's own gh login; the mod makes no network calls of its own and sends nothing anywhere. No file access, no env access, no store. Uses zsh and macOS 'open', so it only works where they exist. Not reviewed: the gh CLI.
- What it uses
-
- Reads your prompts: no
- Sees tool calls: no
- Blocks or changes tool calls: no
- Reads or writes files: no
- Runs programs on your machine: yes
- Calls the model (uses tokens): no
- Sends data over the network: no
- Stores data: no
- Shows something on screen: yes
- Hooked events
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/pr-view/)