Pr list

From wasabeef/claude-code-cookbook · View interactive version

Pr list is an AI agent skill from the GitHub repository wasabeef/claude-code-cookbook. Display open PRs with priority ranking. Trigger with "show PRs", "list pull requests", "open PRs?", "PRs waiting for merge?".

How to use this skill

Skill file

Display open PRs with priority ranking

Displays a prioritized list of open PRs in the current repository.

Usage

# Request from Claude
"Show a prioritized list of open PRs"

Basic Examples

# Get repository information
gh repo view --json nameWithOwner | jq -r '.nameWithOwner'

# Get open PR information and request from Claude
gh pr list --state open --draft=false --json number,title,author,createdAt,additions,deletions,reviews --limit 30

"Organize the above PRs by priority, including a 2-line summary for each PR. Generate URLs using the repository name obtained above"

Display Format

Open PRs List (by Priority)

### High Priority
#number Title [Draft/DNM] | Author | Time since opened | Approved count | +additions/-deletions
      ├─ Summary line 1
      └─ Summary line 2
      https://github.com/owner/repo/pull/number

### Medium Priority
(Similar format)

### Low Priority
(Similar format)

Priority Assessment Criteria

High Priority

Medium Priority

Low Priority

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.