Skip to content
Development
Skill

/pr-list

Display open PRs with priority ranking. Trigger with "show PRs", "list pull requests", "open PRs?", "PRs waiting for merge?".

From plugin
claude-code-cookbook
1.1k200 skills9 agents39 commands8 MCP
Install
$ npx -y skills add wasabeef/claude-code-cookbook --skill pr-list --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/pr-list

Context preview

The summary Claude sees to decide when to auto-load this skill.

Display open PRs with priority ranking. Trigger with "show PRs", "list pull requests", "open PRs?", "PRs waiting for merge?".

SKILL.md

pr-list.SKILL.md
description: 'Display open PRs with priority ranking. Trigger with "show PRs", "list pull requests", "open PRs?", "PRs waiting for merge?".'
allowed-tools:
  - Bash(gh pr list *)

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

  • `fix:` Bug fixes
  • `release:` Release work

**Medium Priority**

  • `feat:` New features
  • `update:` Feature improvements
  • Other regular PRs

**Low Priority**

  • PRs containing DO NOT MERGE
  • Draft PRs with `test:`, `build:`, `perf:`

Notes

  • Requires GitHub CLI (`gh`)
  • Only displays PRs in open state (Drafts are excluded)
  • Shows maximum 30 PRs
  • Elapsed time is from when the PR was opened
  • PR URLs are automatically generated from the actual repository name
Read more
Ships withclaude-code-cookbook

A collection of commands, roles, and automation scripts for Claude Code. Automate your workflow without unnecessary confirmations, allowing you to focus on what matters.

Get the whole plugin