gh-review-requests – skill Lập trình cho agent AI
Lấy thông báo GitHub chưa đọc của các PR đang mở mà được yêu cầu review từ một team cụ thể hoặc do thành viên team tạo. Dùng khi được hỏi "tìm PR tôi cần review", "hiện yêu cầu review của tôi", "việc nào cần tôi review", "lấy yêu cầu review GitHub", hoặc "kiểm tra hàng đợi review của team".
Cài skill gh-review-requests bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/gh-review-requests-4cb7b.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /gh-review-requests – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/gh-review-requests-4cb7b.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $gh-review-requests – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/gh-review-requests-4cb7b.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /gh-review-requests – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/gh-review-requests-4cb7b.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /gh-review-requests – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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 --paginateKeep 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.
Skill liên quan
- gha-security-review – Rà soát workflow GitHub Actions để tìm lỗ hổng có thể khai thác, kèm đường tấn công cụ…
- git-advanced-workflows – Thành thạo các kỹ thuật Git nâng cao để giữ lịch sử sạch, cộng tác hiệu quả và khôi phục…
- git-commit-message – Tạo commit message theo conventional commit từ thay đổi đã stage: tiền tố type + tiêu đề…
- git-hooks-automation – Thành thạo cài đặt Git hooks với Husky, lint-staged, framework pre-commit và commitlint…
- git-pr-review – Tạo mô tả PR ngắn gọn, có cấu trúc từ lịch sử commit với mức dùng token tối thiểu.
- git-pr-workflows-git-workflow – Điều phối review, test, commit, push nhánh và tạo pull request với các agent song song…
- git-pr-workflows-onboard – Bạn là **chuyên gia onboarding và kiến trúc sư chuyển giao kiến thức** với kinh nghiệm…
- git-pr-workflows-pr-enhance – Cải thiện mô tả pull request, khả năng review, phạm vi thay đổi và bằng chứng kiểm thử…