pr-dashboard
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 c…
它会碰到什么
逐条看命中(1 条严重或高危)
- 高
scripts/pr-dashboard-cli.mjs:13exec-spawnimport { execFile, spawn } from "child_process";
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
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 ofAuthored 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 says | query | role |
|---|---|---|
| show my PRs | last 7 days | Authored by me |
| show my PRs last 2 weeks | last 2 weeks | Authored by me |
| PR dashboard this month reviews | this month | Requested reviews |
| PR dashboard march 2026 assigned | march 2026 | Assigned to me |
| show all PRs last 30 days | last 30 days | All |
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 daysthis week,last week,this month,last monthmarch 2026,feb 20252026-01-01 - 2026-03-312025(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.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。