gh-pr-issue

Automate GitHub PR and issue triage using the gh CLI.

1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/jieni777/opencode-config-backup --skill gh-pr-issue
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-pr-issue
Source: https://github.com/jieni777/opencode-config-backup/tree/main/skills/gh-pr-issue
Command: npx skills add https://github.com/jieni777/opencode-config-backup --skill gh-pr-issue

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Triaging and managing GitHub PRs and issues can be time-consuming and error-prone when done manually across multiple checks and commands.

Core Features & Use Cases

  • List PRs and issues with essential metadata (number, title, author, status, checks).
  • View PR checks and summarize failing statuses for quick triage.
  • Comment on PRs/issues and perform Close/Open actions without leaving the terminal.

Quick Start

List open PRs and issues with key metadata using gh and summarize high-priority items for triage.

Frequently Asked Questions about gh-pr-issue

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate GitHub PR and issue triage using the gh CLI?

To automate GitHub PR and issue triage, use this Skill to list pull requests, view PR checks, add comments, and close or reopen items directly from the terminal using gh CLI commands.

What is the best way to view failing PR checks in a repository for triage?

The best way to view failing PR checks is using this Skill to surface and summarize failing statuses within your repository context, allowing for quick triage and management of pull requests.

Do I need jq and environment variables to manage GitHub issues with gh CLI?

Yes, you need jq for JSON parsing and environment variables such as GITHUB_REPOSITORY and DEFAULT_BRANCH, along with gh authentication, to manage GitHub issues and PRs safely.

Can I close or reopen GitHub issues and PRs without leaving the terminal?

Yes, you can close or reopen GitHub issues and PRs without leaving the terminal by executing gh CLI commands through this Skill, which also supports adding comments and listing essential metadata.

What limitations should I expect when automating GitHub pull requests with gh CLI?

Limitations when automating GitHub pull requests with gh CLI include the strict prerequisite of gh authentication, jq dependency for JSON parsing, and proper configuration of environment variables for safe command usage.