Skip to content
Development
Skill

/pr-summary

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

From plugin
sd0x-dev-flow
195102 skills16 agents5 hooks

Claude Code

$ npx -y skills add sd0xdev/sd0x-harness --skill pr-summary --agent claude-code

SKILL.md

pr-summary.SKILL.md
name: pr-summary
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"
allowed-tools: Bash(git:*), Bash(gh:*), Bash(bash:*)

PR Summary

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

When NOT to Use

| Scenario | Use Instead | |----------|-------------| | Create a new PR | `/create-pr` | | Review PR code | `/codex-review` | | View single PR details | `gh pr view <N>` | | Pre-merge analysis | `/merge-prep` |

Input

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

| Argument | Description | Default | |----------|-------------|---------| | `--author <user>` | Filter by author | All | | `--label <label>` | Filter by label | All |

Workflow

1. Run Script

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

The script automatically:

| Step | Action | |------|--------| | Fetch | `gh pr list --json` to get open PRs (max 200) | | Filter | Exclude `dependabot/*` and `snyk-*` | | Group | Group by ticket ID (`{TICKET_PATTERN}` or `[A-Z]+-\d+`) | | Detect | Identify stacked PRs (base is not main/master/develop) | | Output | Write 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

| Condition | Strategy | |-----------|----------| | Same ticket ID | Same group | | Stacked PR (base is feature branch) | Same group, annotate `(stacked on <base>)` | | No ticket / unrelated | Standalone entry |

Filter Rules

| PR Source | Action | |-----------|--------| | `dependabot/*` | Exclude | | `snyk-*` | Exclude | | Others | Keep |

References

| File | Purpose | |------|---------| | [pr-summary.sh](scripts/pr-summary.sh) | PR 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
Read more
@sd0xdev
Ships withsd0x-dev-flow

Language: English | 繁體中文 | 简体中文 | 日本語 | 한국어 | Español The harness layer for Claude Code. Let the model choose the path. Keep "done" verifiable. Claude has discretion inside a closed, test-pinned anchor set.

195102 skills16 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
195
Star history of sd0xdev/sd0x-dev-flow on GitHub, a chart by star-history.com

Other skills on sd0x-dev-flow.

adr

adr

Write an Architecture Decision Record (ADR) for a feature — Context / Decision / Status / Consequences / Alternatives, filed as…

agentctl-setup

agentctl-setup

Install and set up the optional agentctl mod (task scope, refusal before execution, evidence that goes stale, model-free…

architecture

architecture

Architecture design and documentation. Produces 3-architecture.md with component diagrams, data flow, integration points, and…

ask

ask

Context-aware Q&A with auto context gathering. Use when: user has a quick question about codebase, git history, rules, docs, or…

best-practices

best-practices

Industry best practices conformance audit with mandatory adversarial debate. Produces audit artifact: verdict (OK/WARN/FAIL) +…

bug-fix

bug-fix

Bug fix workflow. Use when: fixing bugs, resolving issues, regression fixes. Not for: new features (use feature-dev),…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about pr-summary.

Which coding agents can use pr-summary?
pr-summary installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.