github:prs
Testing & Qualitygithub:prs is an Agent Skill for testing & quality published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
PR health analysis - CI passing without review, stale PRs, merge conflicts
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/integration/github-prs-kagenti-kagenti/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/github-prs, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
PR Health
Analyze open PRs to find those needing review, stuck in CI, or going stale.
When to Use
- Weekly PR grooming
- Finding PRs ready to merge
- Identifying stuck or abandoned PRs
Auto-approved: All
ghcommands are read-only and auto-approved.
Analysis Steps
1. All Open PRs
gh pr list --repo kagenti/kagenti --state open --json number,title,author,createdAt,updatedAt,reviewDecision,statusCheckRollup
2. PRs Passing CI Without Review
gh pr list --repo kagenti/kagenti --state open --json number,title,author,reviewDecision,statusCheckRollup --jq '.[] | select(.reviewDecision != "APPROVED") | select(.statusCheckRollup != null) | select([.statusCheckRollup[] | select(.conclusion == "FAILURE")] | length == 0) | "#\(.number) \(.title) (@\(.author.login))"'
3. Stale PRs (no update > 14 days)
gh pr list --repo kagenti/kagenti --state open --json number,title,updatedAt,author --jq '.[] | select(.updatedAt < (now - 14*24*3600 | strftime("%Y-%m-%dT%H:%M:%SZ"))) | "#\(.number) \(.title) (last: \(.updatedAt))"'
4. PRs with Failing CI
gh pr list --repo kagenti/kagenti --state open --json number,title,statusCheckRollup --jq '.[] | select(.statusCheckRollup != null) | select([.statusCheckRollup[] | select(.conclusion == "FAILURE")] | length > 0) | "#\(.number) \(.title)"'
5. PRs with Merge Conflicts
gh pr list --repo kagenti/kagenti --state open --json number,title,mergeable --jq '.[] | select(.mergeable == "CONFLICTING") | "#\(.number) \(.title)"'
PR Health Report
## PR Health Report
### Ready to Merge (CI passing, needs review): N
- [list — prioritize these for review]
### Failing CI: N
- [list — authors should investigate]
### Stale (> 14 days): N
- [list — ping authors or close]
### Merge Conflicts: N
- [list — needs rebase]
Related Skills
github:last-week- Weekly summary including PRsgithub:issues- Issue triageci:status- Detailed CI check analysisrepo:pr- PR creation formatgit:rebase- Fix merge conflicts