mcpField
P
pr-dashboard

pr-dashboard

github.com/githubDevelopment40.5k139 installsUpdated today
Repository

About pr-dashboard

PR Dashboard is a skill that generates and opens a browser-based GitHub pull request dashboard for a chosen date range and role. It uses a bundled CLI script and requires an authenticated GitHub CLI installation.

Key features

  1. 01Generate a GitHub PR dashboard
  2. 02Filter by date range
  3. 03Filter by author or review role
  4. 04Open the dashboard in a browser

Use cases

  1. 01Review PRs authored in a period
  2. 02Find requested reviews or assignments
  3. 03View all related PRs for a date range

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/github/awesome-copilot --skill pr-dashboard

After installing, type/pr-dashboardin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

assets/
dashboard.html
scripts/
pr-dashboard-cli.mjs
scripts/lib/
utils.mjs

Details

From the project README

PR Dashboard

Generates and opens a GitHub PR dashboard in the browser for a given date range and role filter.

Prerequisites: GitHub CLI (gh) must be installed and authenticated (gh auth login).

What to do

Find the CLI script bundled with this skill and run it:

SKILL_SCRIPT=$(find ~/.copilot -name "pr-dashboard-cli.mjs" -path "*/pr-dashboard/scripts/*" 2>/dev/null | head -1)
node "$SKILL_SCRIPT" "<query>" "<role>"
  • <query>: the date range the user specified (default: last 7 days)
  • <role>: one of Authored by me, Requested reviews, Assigned to me, All (default: Authored by me)

Parsing the user's request

Extract the date range and role from the user's message. Examples:

User saysqueryrole
show my PRslast 7 daysAuthored by me
show my PRs last 2 weekslast 2 weeksAuthored by me
PR dashboard this month reviewsthis monthRequested reviews
PR dashboard march 2026 assignedmarch 2026Assigned to me
show all PRs last 30 dayslast 30 daysAll

Role keyword mapping:

  • "my PRs", "authored", "I wrote" → Authored by me
  • "reviews", "review requested", "reviewing" → Requested reviews
  • "assigned" → Assigned to me
  • "all", "involves me" → All

Supported date range formats

The script understands natural language — pass it through as-is:

  • last 7 days, last 2 weeks, last 30 days
  • this week, last week, this month, last month
  • march 2026, feb 2025
  • 2026-01-01 - 2026-03-31
  • 2025 (whole year)

After running

Tell the user the dashboard is opening in their browser. The script outputs progress to stdout. If it exits with an error, show the error output and suggest they run gh auth login if it's an auth issue.

Comments

Markdown supported