Skip to content
Development
Skill

/pr-issue

Display open Issues with priority ranking. Trigger with "show issues", "open issues?", "list issues", "create PR from issue".

From plugin
claude-code-cookbook
1.1k39 skills9 agents39 commands8 MCP
Install
$ npx -y skills add wasabeef/claude-code-cookbook --skill pr-issue --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-issue

Context preview

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

Display open Issues with priority ranking. Trigger with "show issues", "open issues?", "list issues", "create PR from issue".

SKILL.md

pr-issue.SKILL.md
description: 'Display open Issues with priority ranking. Trigger with "show issues", "open issues?", "list issues", "create PR from issue".'
allowed-tools:
  - Bash(gh issue *)
  - Bash(gh pr *)

Display open Issues with priority ranking

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

Usage

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

Basic Examples

# 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

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

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

Other skills on claude-code-cookbook.