
Prep Pr
- 1 installs
- 2 repo stars
- Updated June 15, 2026
- ethtrinh/lrt-rocm-workspace
Prepares a commit stack for a PR by showing commits since main, computing the merge base, and opening the milestone diff in VSCode for review.
About
Walks through prepping a pull request: lists the commit stack since main, finds the merge base, and opens all changed files in a VSCode diff view for milestone review. A developer uses it before opening a PR and stops for review before squashing.
- Shows commits and file/stat summary since main
- Opens the milestone diff in VSCode via MCP and pauses for review
Prep Pr by the numbers
- 1 all-time installs (skills.sh)
- Ranked #524 of 733 Git & Pull Requests skills by installs in the Skillselion catalog
- Data as of Jul 8, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ethtrinh/lrt-rocm-workspace --skill prep-prAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1 |
|---|---|
| repo stars | ★ 2 |
| Last updated | June 15, 2026 |
| Repository | ethtrinh/lrt-rocm-workspace ↗ |
What it does
Prepares a commit stack for a PR by showing commits since main, computing the merge base, and opening the milestone diff in VSCode for review.
Files
Prepare for PR with milestone review. Argument: $ARGUMENTS (optional repo alias)
1. Show commit stack
python scripts/review.py stack $ARGUMENTSParse the JSON and display the commits since main, showing what will be in the PR.
2. Get merge base for diff
cd <repo_path>
git merge-base HEAD main3. Open milestone diff in VSCode
Use MCP to open all changed files since main in diff view:
mcp__vscode__openChangedFiles(repoPath=<repo_path>, fromRef=<merge_base>, toRef="HEAD", newWindow=true)4. Report
Show:
- Number of commits
- Number of files changed
- Summary stats
Say: "Staged full diff for milestone review. After approval, I can help squash into logical commits for PR."
STOP and wait for user review.