github

Manage GitHub issues, pull requests, and workflow runs via gh CLI.

335|2|Updated May 6, 2026
One-click install
npx skills add https://github.com/THU-SAGE/syll --skill github-thu-sage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/THU-SAGE/syll/tree/main/syll/skills/github
Command: npx skills add https://github.com/THU-SAGE/syll --skill github-thu-sage

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh.

What problem does it solve?

It helps you interact with GitHub without switching between the web UI and manual steps, so you can quickly check activity, investigate failures, and pull the exact data you need.

Core Features & Use Cases

  • Pull request checks and CI run inspection: Retrieve PR check results and review workflow runs, including viewing failed steps’ logs.
  • Workflow run listing and detailed review: List recent runs and open a specific run to see what happened and why.
  • Advanced API queries with JSON filtering: Use gh api plus jq-style queries to fetch targeted fields for issues and pull requests.

Quick Start

Use the github skill to check whether a pull request’s CI is passing by running: gh pr checks 55 --repo owner/repo

Frequently Asked Questions about github

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

FAQPage Schema
How do I check CI status and workflow runs for a pull request from the command line?

Check pull request CI status by running `gh pr checks` with the PR number and `--repo owner/repo`. You can list recent workflow runs using `gh run list` and inspect specific run logs to investigate failures without opening a web browser.

Can I fetch specific fields from GitHub issues and PRs using JSON output?

Fetch targeted fields from issues and pull requests by using `gh api` with `--json` and `--jq` filtering. This advanced API querying allows structured data selection, returning exact JSON fields needed for automation and analysis.

Do I need to install the gh CLI tool to manage GitHub workflow runs and issues?

Yes, you need the `gh` CLI tool installed to manage GitHub workflow runs, issues, and pull requests. The skill requires using gh subcommands like `pr checks`, `run view`, and `gh api` to interact with repositories.

What is the best way to view failed CI step logs without navigating the GitHub web UI?

View failed CI step logs by running `gh run view` with the specific run ID. This command retrieves detailed workflow run information and opens failed steps' logs directly in the terminal, bypassing manual web navigation.

How do I specify the repository when running gh api queries outside a git directory?

Specify the repository as `owner/repo` when running gh api queries or gh subcommands outside a git directory. Providing the repository explicitly ensures the command targets the correct repository data.

Can I use gh api to list repository data without manual web navigation?

Use `gh api` to list targeted repository data without manual web navigation. It supports advanced structured queries with jq-style filtering to fetch exact fields for issues, pull requests, and other GitHub resources.