github-prlisted
Install: claude install-skill aiskillstore/marketplace
## Overview
CLI tools for GitHub pull request operations. Designed to support automated code review workflows. Requires the GitHub CLI (`gh`) to be installed and authenticated.
## Prerequisites
- [bun](https://bun.sh) runtime installed
- [GitHub CLI](https://cli.github.com/) installed and authenticated
```bash
brew install gh
gh auth login
```
## Commands
### Check Review Needed
Determines if a PR should be reviewed by checking various conditions.
```bash
bun .opencode/skill/github-pr/check-review-needed.js [pr-number]
```
**Arguments:**
- `pr-number` - PR number (optional, defaults to current branch's PR)
**Output:**
JSON object with:
- `shouldReview` - boolean indicating if review should proceed
- `reason` - explanation for the decision
- `prNumber` - the PR number checked
**Conditions checked:**
- PR is not closed or merged
- PR is not a draft
- PR is not from a known bot (dependabot, renovate, etc.)
- PR title doesn't indicate automation (bump, chore(deps), etc.)
- PR has not already been reviewed by Claude/AI
- PR is not trivial (2 or fewer lines changed)
**Examples:**
```bash
# Check current branch's PR
bun .opencode/skill/github-pr/check-review-needed.js
# Check specific PR
bun .opencode/skill/github-pr/check-review-needed.js 123
```
---
### List Guideline Files
Finds AGENTS.md (or CLAUDE.md) files relevant to a PR's changes.
```bash
bun .opencode/skill/github-pr/list-guideline-files.js [pr-number] [--json]
```
**Arguments:**
- `pr-number` - PR