AgentSkillsCN

github-pr-status

通过 GitHub PR 仪表板查看您的未完成 PR、评审请求及分配任务。用于快速掌握待办事项。触发条件包括“PR 列表”、“PR 状态”、“我的 PR”、“待评审”、“未完成 PR”。

SKILL.md
--- frontmatter
name: github-pr-status
description: Show GitHub PR dashboard with your open PRs, review requests, and assignments. Use to check pending work. Triggers on "PR一覧", "PR status", "my PRs", "レビュー待ち", "open PRs".
model: haiku
context: fork
agent: general-purpose
allowed-tools: Bash(gh:*)

GitHub PR Status

Show a dashboard of your GitHub PR activity.

When Invoked

Run all three queries in parallel:

code
┌─────────────────────────────────────────────────────────────┐
│ PARALLEL: Gather PR status                                  │
├─────────────────────────────────────────────────────────────┤
│ gh pr list --author @me --state open                        │
│ gh pr list --review-requested @me --state open              │
│ gh pr list --assignee @me --state open                      │
└─────────────────────────────────────────────────────────────┘

Output Format

Present results as:

code
## Your Open PRs (Created by you)
| Repo | # | Title | Status |
|------|---|-------|--------|
| ... | ... | ... | ... |

## Review Requested
| Repo | # | Title | Author |
|------|---|-------|--------|
| ... | ... | ... | ... |

## Assigned to You
| Repo | # | Title | Author |
|------|---|-------|--------|
| ... | ... | ... | ... |

## Summary
- X PRs you created awaiting review/merge
- Y PRs awaiting your review
- Z PRs assigned to you

Options

If user specifies a repo:

bash
gh pr list --author @me --state open --repo owner/repo

If user wants all states (including merged/closed):

bash
gh pr list --author @me --state all --limit 20