跳到正文
Skillpedia
部署与云(DevOps)40k · #7341

pr-dashboard

它能做什么

在浏览器中打开一个仪表板,用来查看你在 GitHub 上的拉取请求(PR)。你可以按时间范围筛选,也可以按创建者、审阅者或指派人进行筛选。

适用场景

  • ✓当你想查看最近的 PR 时。
  • ✓当你需要检查自己提交的或被指派的 PR 状态时。
  • ✓当你想总览某个特定时间段内的 PR 时。

技能链接

https://github.com/github/awesome-copilot/blob/main/skills/pr-dashboard/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/github/awesome-copilot/blob/main/skills/pr-dashboard/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“显示我最近 15 天的 PR。”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会在你的电脑上找到一个专门的脚本并运行它。这个脚本通过 GitHub CLI 获取你的 PR 信息,然后把所有内容展示在一个浏览器页面中。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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 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 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.

常见问题

我需要安装什么东西吗?

需要。你需要安装 GitHub CLI,并使用你的 GitHub 账号完成登录验证。

什么是“拉取请求”(pull requests)?

它是一种请求,用来把代码改动合并到 GitHub 上的项目中。这是协作编程中非常关键的一环。

AI 怎么知道该显示哪些 PR?

你可以指定时间段(比如“上周”)以及 PR 的类型(比如“我创建的”“指派给我的”)。

详情

作者的原始描述

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".

repo: github/awesome-copilot

热度

GitHub 星标
40k
排名
#7341
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能