gh-review-requests
它能做什么
这个工具会获取你未读的 GitHub 通知中,那些请求你所在团队进行代码审查的内容。它可以帮你快速看清哪些事情需要你关注。
适用场景
- ✓当你想知道有哪些待审查的代码变更需要你处理的时候。
- ✓当你想查看某个特定团队的审查请求的时候。
- ✓当你不想在 GitHub 通知里翻来翻去,而是希望看到一份整理好的列表的时候。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/gh-review-requests/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我显示 'frontend' 团队的审查请求。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会借助一个名为 'gh' 的程序连接 GitHub,查找你指定团队的待处理审查通知,并显示相关代码的详细信息。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
GitHub Review Requests
Fetch unread review_requested notifications for open (unmerged) PRs, filtered by a GitHub team.
Requires: GitHub CLI (gh) authenticated.
When to Use
- You need to find unread GitHub PR review requests for a specific team.
- You want to check which open PRs currently need your review or a teammate's review.
- You need a filtered review queue instead of manually browsing GitHub notifications.
Step 1: Identify the Team
If the user has not specified a team, ask:
Which GitHub team should I filter by? (e.g.
streaming-platform)
Accept a slug or display name, then resolve it against the authenticated organization's actual teams.
Step 2: Read the Actual Queue
No fetch_review_requests.py script is bundled in this AAS entrypoint. Use the
configured GitHub connector or authenticated gh API rather than inventing it.
Confirm the organization and exact team slug from its API; display-name conversion
alone cannot prove the slug. Do not default every repository to getsentry.
gh api notifications --paginate
Keep unread review_requested notifications whose subject is a pull request.
Follow the returned subject API URL only after verifying GitHub origin and repository.
For each candidate, inspect open/unmerged state, requested reviewer teams, and the
selected team's paginated membership. Being authored by a teammate is distinct from
being assigned for review. Do not mark notifications read or submit reviews.
Return the actual API results as rows with PR URL, author, and observed reason. Missing permissions or incomplete pagination must be reported as incomplete, not zero.
Step 3: Present Results
Display results as a markdown table with full URLs:
| # | Title | URL | Reason |
|---|---|---|---|
| 1 | feat(kafka): add workflow to restart a broker | https://github.com/getsentry/ops/pull/19144 | opened by: evanh |
If total is 0, say: "No unread review requests found for that team."
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题
我需要安装什么东西吗?
需要。你要先安装 'gh'(GitHub 命令行工具),并用你的 GitHub 账号完成登录验证。
'review requested' 是什么意思?
意思是有人请你或你的团队查看正在开发中的代码,并给出反馈。
它会把通知标记为已读吗?
不会。这个工具只负责显示通知,不会把它们标记为已读,也不会替你提交审查意见。
详情
作者的原始描述
Fetch unread GitHub notifications for open PRs where review is requested from a specified team or opened by a team member. Use when asked to "find PRs I need to review", "show my review requests", "what needs my review", "fetch GitHub review requests", or "check team review queue".
热度
- GitHub 星标
- 48k
- 排名
- #4730
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。