gh-search-prs
Installation
SKILL.md
GitHub CLI: Search Pull Requests
Overview
Search for pull requests across GitHub repositories using gh search prs. Includes PR-specific filters like draft status, merge state, review status, and CI checks.
⚠️ CRITICAL: Search vs List Commands
gh search prs - GitHub-wide search (THIS SKILL):
- Searches across multiple repositories or organizations
- Searches in specific repos outside your current directory
- Uses GitHub's search query syntax with qualifiers
- Examples: "Find draft PRs in kubernetes repos", "Search for approved PRs in microsoft org"
gh pr list - Current repository only (NOT THIS SKILL):
- Lists PRs in your current working directory's repo
- Uses simple flag-based filtering
- Examples: "Show my PRs in this repo", "List open PRs here"