---
name: Issue Priority Ranking
slug: issue-priority-ranking
category: Automation
description: Issue Priority Ranking lists open issues and sorts them by priority using labels, assignees, and summaries. Use it when you need to see the most important issues in a repository or create a PR from an issue.
github: "https://github.com/wasabeef/claude-code-cookbook/tree/main/plugins/en/skills/pr-issue"
language: Shell
stars: 1131
forks: 111
install: "npx degit https://github.com/wasabeef/claude-code-cookbook/tree/main/plugins/en/skills/pr-issue ~/.claude/skills/pr-issue"
installs_to: ~/.claude/skills/pr-issue
source_path: plugins/en/skills/pr-issue/SKILL.md
collection_size: 25
category_size: 1523
collection_url: "https://dirskills.com/collections/wasabeef/claude-code-cookbook"
added: 2026-08-20T07:56:20.723Z
last_synced: 2026-08-20T07:56:20.723Z
canonical_url: "https://dirskills.com/skills/issue-priority-ranking"
---

# Issue Priority Ranking

Issue Priority Ranking lists open issues and sorts them by priority using labels, assignees, and summaries. Use it when you need to see the most important issues in a repository or create a PR from an issue.

**Install:**

```bash
npx degit https://github.com/wasabeef/claude-code-cookbook/tree/main/plugins/en/skills/pr-issue ~/.claude/skills/pr-issue
```

## README

# Display open Issues with priority ranking

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

## Usage

```bash
# Request from Claude
"Show a prioritized list of open issues"
```

## Basic Examples

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

# Get open issue information and request from Claude
gh issue list --state open --json number,title,author,createdAt,updatedAt,labels,assignees,comments --limit 30

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

## Display Format

```text
Open Issues List (by Priority)

### High Priority
#number Title [labels] | Author | Time since opened | Comment count | Assignee
      ├─ Summary line 1
      └─ Summary line 2
      https://github.com/owner/repo/issues/number

### Medium Priority
(Similar format)

### Low Priority
(Similar format)
```

## Priority Assessment Criteria

**High Priority**

- Issues with `bug` label
- Issues with `critical` or `urgent` labels
- Issues with `security` label

**Medium Priority**

- Issues with `enhancement` label
- Issues with `feature` label
- Issues with assignees

**Low Priority**

- Issues with `documentation` label
- Issues with `good first issue` label
- Issues with `wontfix` or `duplicate` labels

## Label Filtering

```bash
# Get only issues with specific label
gh issue list --state open --label "bug" --json number,title,author,createdAt,labels,comments --limit 30

# Filter with multiple labels (AND condition)
gh issue list --state open --label "bug,high-priority" --json number,title,author,createdAt,labels,comments --limit 30
```

## Notes

- Requires GitHub CLI (`gh`)
- Only displays issues in open state
- Shows maximum 30 issues
- Elapsed time is from when the issue was opened
- Issue URLs are automatically generated from the actual repository name
