AI Agent Hub
Back to skills
GitHub CLI Assistant icon

GitHub CLI Assistant

Development Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_5c68097a/github-qinghong according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

GitHub debugging often gets stuck on a practical gap: the shell can reach GitHub, but the useful data is scattered. You may need to find which pull request has failing CI, which workflow run failed, which steps produced errors, where the relevant logs are, and which fields are missing from higher-level commands. github-qinghong frames these tasks as query patterns built on the gh CLI, which is useful when you are outside a git working directory but still need to inspect a remote repository.

How it works

  • Pull request and CI checks: query PR CI status, recent workflow runs, run details, and failed-step logs.
  • API fallback: use gh api when normal gh subcommands do not expose the exact fields needed.
  • Structured output: use --json with --jq to filter the response and reduce manual parsing.

Boundaries

This skill is best suited to read-only inspection, log localization, and field extraction; it does not cover local code edits, branch creation, or full pull-request authoring. When not inside a git directory, pass --repo owner/repo explicitly or use repository and PR URLs directly. Results still depend on the active gh authentication, network access, and GitHub permissions.

Use Cases

  • Inspect failed CI steps and logs for a pull request when triaging build failures.
  • Query recent workflow runs for a specific owner/repo outside a git directory.
  • Extract missing PR fields with gh api and --jq for follow-up analysis.

Best For

  • CI debugging engineers who need to locate failed steps and logs quickly.
  • Monorepo maintainers who need to inspect workflow status per repo or PR.
  • Scripting engineers who need --json and --jq extraction for GitHub data.
  • PR reviewers who need to confirm whether a target PR passed CI.