Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions cursor-team-kit/skills/review-and-ship/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ Reviewing changes before shipping. Close key issues, verify behavior, and open o
## Suggested Checks

```bash
git fetch origin main
git diff origin/main...HEAD
# The PR's base when one exists, otherwise the repo's default branch (not always main)
BASE=$(gh pr view --json baseRefName -q .baseRefName 2>/dev/null || gh repo view --json defaultBranchRef -q .defaultBranchRef.name)
git fetch origin "$BASE"
git diff "origin/$BASE...HEAD"
git status
gh pr checks --json name,bucket,state,workflow,link
```
Expand Down