PR Dashboard

PR Dashboard

Runs a bundled script that opens a browser dashboard of GitHub pull requests for a date range and role, parsing the user's natural-language request.

Skill files4 files

assets/

scripts/

scripts/lib/

SKILL.md55 lines
1
---
2
name: pr-dashboard
3
description: 'Open a GitHub PR dashboard in the browser. Use when the user asks to see their pull requests, open the PR dashboard, show PRs for a date range, or check PR status. Trigger phrases include "show my PRs", "open PR dashboard", "pull request dashboard".'
4
---
5
6
# PR Dashboard
7
8
Generates and opens a GitHub PR dashboard in the browser for a given date range and role filter.
9
10
**Prerequisites:** GitHub CLI (`gh`) must be installed and authenticated (`gh auth login`).
11
12
## What to do
13
14
Find the CLI script bundled with this skill and run it:
15
16
```bash
17
SKILL_SCRIPT=$(find ~/.copilot -name "pr-dashboard-cli.mjs" -path "*/pr-dashboard/scripts/*" 2>/dev/null | head -1)
18
node "$SKILL_SCRIPT" "<query>" "<role>"
19
```
20
21
- `<query>`: the date range the user specified (default: `last 7 days`)
22
- `<role>`: one of `Authored by me`, `Requested reviews`, `Assigned to me`, `All` (default: `Authored by me`)
23
24
## Parsing the user's request
25
26
Extract the date range and role from the user's message. Examples:
27
28
| User says | query | role |
29
|---|---|---|
30
| show my PRs | `last 7 days` | `Authored by me` |
31
| show my PRs last 2 weeks | `last 2 weeks` | `Authored by me` |
32
| PR dashboard this month reviews | `this month` | `Requested reviews` |
33
| PR dashboard march 2026 assigned | `march 2026` | `Assigned to me` |
34
| show all PRs last 30 days | `last 30 days` | `All` |
35
36
**Role keyword mapping:**
37
- "my PRs", "authored", "I wrote" → `Authored by me`
38
- "reviews", "review requested", "reviewing" → `Requested reviews`
39
- "assigned" → `Assigned to me`
40
- "all", "involves me" → `All`
41
42
## Supported date range formats
43
44
The script understands natural language — pass it through as-is:
45
- `last 7 days`, `last 2 weeks`, `last 30 days`
46
- `this week`, `last week`, `this month`, `last month`
47
- `march 2026`, `feb 2025`
48
- `2026-01-01 - 2026-03-31`
49
- `2025` (whole year)
50
51
## After running
52
53
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.
54
55

© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…