Pr issue

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

Pr issue is an AI agent skill from the GitHub repository wasabeef/claude-code-cookbook. 按優先順序顯示 Issue 清單。「顯示 Issue」「開著的 Issue?」「Issue 清單」等觸發。

How to use this skill

Skill file

按優先順序顯示 Issue 清單

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

使用方法

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

基本示例

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

# 獲取開放 Issue 資訊並請求 Claude
gh issue list --state open --json number,title,author,createdAt,updatedAt,labels,assignees,comments --limit 30

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

顯示格式

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

### 高優先級
#編号 標題 [標簽] | 作者 | 開放時长 | 評論數 | 負責人
      ├─ 概要第 1 行
      └─ 概要第 2 行
      https://github.com/owner/repo/issues/編号

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

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

優先級判定標準

高優先級

中優先級

低優先級

按標簽筛選

# 仅獲取特定標簽的 Issue
gh issue list --state open --label "bug" --json number,title,author,createdAt,labels,comments --limit 30

# 使用多個標簽筛選 (AND 條件)
gh issue list --state open --label "bug,high-priority" --json number,title,author,createdAt,labels,comments --limit 30

注意事項

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.