Skill

pr-summary

Install
1
Install the plugin
$
npx claudepluginhub sd0xdev/sd0x-dev-flow --plugin sd0x-dev-flow

Want just this skill?

Add to a custom plugin, then install with one command.

Description

List open PRs, filter automation PRs, group by ticket ID, format as Markdown. Use when: user asks for PR summary, PR status, or /pr-summary

Tool Access

This skill is limited to using the following tools:

Bash(git:*)Bash(gh:*)Bash(bash:*)
Supporting Assets
View in Repository
scripts/pr-summary.sh
Skill Content

PR Summary

List open PRs, filter automation PRs (dependabot/snyk), group by ticket ID, output formatted summary.

When NOT to Use

ScenarioUse Instead
Create a new PR/create-pr
Review PR code/codex-review
View single PR detailsgh pr view <N>
Pre-merge analysis/merge-prep

Input

/pr-summary [--author <user>] [--label <label>]

ArgumentDescriptionDefault
--author <user>Filter by authorAll
--label <label>Filter by labelAll

Workflow

1. Run Script

bash skills/pr-summary/scripts/pr-summary.sh [--author <user>] [--label <label>]

The script automatically:

StepAction
Fetchgh pr list --json to get open PRs (max 200)
FilterExclude dependabot/* and snyk-*
GroupGroup by ticket ID ({TICKET_PATTERN} or [A-Z]+-\d+)
DetectIdentify stacked PRs (base is not main/master/develop)
OutputWrite formatted text to /tmp/pr-summary.md

2. Display Results

Read /tmp/pr-summary.md and display to user.

3. Provide Copy Instructions

Content written to /tmp/pr-summary.md
Copy: cat /tmp/pr-summary.md | pbcopy

Output Format

Markdown (default)

**PROJ-520**

https://github.com/user/repo/pull/123
> fix: Add Redis cache for contract codes

https://github.com/user/repo/pull/124
> fix: Tune server timeouts (stacked on fix/PROJ-520)

**PROJ-123**

https://github.com/user/repo/pull/99
> feat: Add DeFi portfolio tracking

Grouping Rules

ConditionStrategy
Same ticket IDSame group
Stacked PR (base is feature branch)Same group, annotate (stacked on <base>)
No ticket / unrelatedStandalone entry

Filter Rules

PR SourceAction
dependabot/*Exclude
snyk-*Exclude
OthersKeep

References

FilePurpose
pr-summary.shPR fetch, filter, group, format script

Verification

  • Lists all open PRs (excluding dependabot/snyk)
  • PRs grouped by ticket ID
  • Stacked PRs annotated with dependency
  • Output format is valid Markdown
  • /tmp/pr-summary.md written
Stats
Stars90
Forks12
Last CommitMar 5, 2026
Actions

Similar Skills