Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
ethtrinh avatar

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-pr

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars2
Last updatedJune 15, 2026
Repositoryethtrinh/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

SKILL.mdMarkdownGitHub ↗

Prepare for PR with milestone review. Argument: $ARGUMENTS (optional repo alias)

1. Show commit stack

python scripts/review.py stack $ARGUMENTS

Parse 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 main

3. 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.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.