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. 按優先順序顯示 PR 清單。「顯示 PR」「PR 清單」「開著的 PR?」「待合併的 PR?」等觸發。

How to use this skill

Skill file

按優先順序顯示 PR 清單

顯示當前倉庫的開放 PR 列表,並按優先級排序。

使用方法

# 向 Claude 請求
「請按優先級顯示開放的 PR 列表」

基本示例

# 獲取倉庫資訊
gh repo view --json nameWithOwner | jq -r '.nameWithOwner'

# 獲取開放 PR 資訊並請求 Claude
gh pr list --state open --draft=false --json number,title,author,createdAt,additions,deletions,reviews --limit 30

「請按優先級整理上述 PR,並包含每個 PR 的 2 行概要。使用上面獲取的倉庫名生成 URL」

顯示格式

開放 PR 列表 (按優先級排序)

### 高優先級
#編号 標題 [Draft/DNM] | 作者 | 開放時长 | 批準數 | +添加/-刪除
      ├─ 概要第 1 行
      └─ 概要第 2 行
      https://github.com/owner/repo/pull/編号

### 中優先級
(相同格式)

### 低優先級
(相同格式)

優先級判定標準

高優先級

中優先級

低優先級

注意事項

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.