github

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

4.3k|807|Updated Jan 16, 2024
One-click install
npx skills add https://github.com/oracle-devrel/oracle-ai-developer-hub --skill github-oracle-devrel
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/oracle-devrel/oracle-ai-developer-hub/tree/main/apps/picooraclaw/cmd/picooraclaw/internal/onboard/workspace/skills/github
Command: npx skills add https://github.com/oracle-devrel/oracle-ai-developer-hub --skill github-oracle-devrel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

GitHub workflows get slow and error-prone when you have to manually click through issues, pull requests, and CI runs instead of using a consistent command-line process.

Core Features & Use Cases

  • Pull request CI visibility: Check required checks, list recent workflow runs, and inspect logs for failed steps to unblock reviews.
  • Issue and run automation: Query issues and workflow run data in structured JSON, then filter results for triage and reporting.
  • Advanced GitHub access via API: Use gh api to fetch specific fields and support workflows that aren’t covered by higher-level subcommands.

Quick Start

Use the github skill to list the last 10 workflow runs for a repository by running: gh run list --repo owner/repo --limit 10.

Frequently Asked Questions about github

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

FAQPage Schema
How do I list recent GitHub workflow runs and inspect failed CI logs from the command line?▼

You can list recent workflow runs using `gh run list` and view specific step logs with `gh run view`. This provides direct CI visibility to unblock pull request reviews without manual web browsing.

How do I query GitHub issues and pull requests in JSON for triage and reporting?▼

Querying GitHub issues and pull requests in structured JSON allows filtering via jq for triage. This accelerates issue management and generates structured reports directly across repositories and organizations.

Can I use the GitHub CLI for advanced API queries not covered by standard subcommands?▼

Yes, you can use `gh api` to fetch specific fields directly from the GitHub JSON API. This supports advanced queries and workflows that are not covered by higher-level subcommands.

Does checking pull request CI checks via the GitHub CLI require any special setup?▼

Checking pull request CI checks requires the `gh` tool installed and authenticated. Once configured, you can run `gh pr checks` to view required statuses and unblock reviews.

What is the best way to debug failed GitHub Actions steps without leaving the terminal?▼

The best way to debug failed GitHub Actions steps is using `gh run view` to inspect workflow logs. This command-line process prevents slow manual clicking through CI runs on the web interface.

Why should I use the GitHub CLI instead of manual browsing for issue and PR management?▼

Using the GitHub CLI instead of manual browsing provides a consistent command-line process for issue, pull request, and CI run management. This structured approach prevents slow, error-prone manual web navigation.