github-gh

Interact with GitHub using the gh CLI. Used for managing issues, pull requests, workflow runs, or performing advanced API queries via gh commands such as gh issue, gh pr, gh run, and gh api.

Last repository push
GitHub Stars
195
Forks
9
Issues / PRs
4

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "github-gh" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b1813bea2e4d07c0696b05a0d8ded7f140b11e7bdfba9c2554324327dac0cb94. Verify the upstream source and version against https://github.com/thedaviddias/skill-check before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Interact with GitHub using the gh CLI. Used for managing issues, pull requests, workflow runs, or performing advanced API queries via gh commands such as gh issue, gh pr, gh run, and gh api.

0 Downloads

Introduction source: third_party · thedaviddias · 0.0.1 Reference

SkillPi interpretation

Tasks
Interact with GitHub using the `gh` CLI. Use when managing issues, PRs, workflow runs, or advanced API queries via `gh issue`, `gh pr`, `gh run`, and `gh api`.
Inputs and outputs
Most commands support `--json` for structured output. You can use `--jq` to filter:
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: github-gh
description: "Interact with GitHub using the `gh` CLI. Use when managing issues, PRs, workflow runs, or advanced API queries via `gh issue`, `gh pr`, `gh run`, and `gh api`."

GitHub Skill

Use the gh CLI to interact with GitHub. Always specify --repo owner/repo when not in a git directory, or use URLs directly.

Pull Requests

Check CI status on a PR:

gh pr checks 55 --repo owner/repo

List recent workflow runs:

gh run list --repo owner/repo --limit 10

View a run and see which steps failed:

gh run view <run-id> --repo owner/repo

View logs for failed steps only:

gh run view <run-id> --repo owner/repo --log-failed

API for Advanced Queries

The gh api command is useful for accessing data not available through other subcommands.

Get PR with specific fields:

gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'

JSON Output

Most commands support --json for structured output. You can use --jq to filter:

gh issue list --repo owner/repo --json number,title --jq '.[] | "\(.number): \(.title)"'

Version history

  1. v1.2.0 GitHub ↗
    Original release notes

    # [1.2.0](https://github.com/thedaviddias/skill-check/compare/v1.1.0...v1.2.0) (2026-02-21) ### Features * add 6 new validation rules aligned with Agent Skills spec ([9f3f675](https://github.com/thedaviddias/skill-check/commit/9f3f6759bdd729ca965aaa0e0d3d2d435c336a1c))

  2. v1.1.0 GitHub ↗
    Original release notes

    # [1.1.0](https://github.com/thedaviddias/skill-check/compare/v1.0.0...v1.1.0) (2026-02-21) ### Features * finalize cli UX and demo rendering improvements ([a7f2a8b](https://github.com/thedaviddias/skill-check/commit/a7f2a8be669213f031127c1c983eb601928250d5))

  3. v1.0.0 GitHub ↗
    Original release notes

    # 1.0.0 (2026-02-21) ### Bug Fixes * **cli:** always emit remote progress lines in tty ([8702a15](https://github.com/thedaviddias/skill-check/commit/8702a152a5b653fd8a87a9600e02254aad28e7ad)) * default root invocation to check current directory ([37104be](https://github.com/thedaviddias/skill-check/commit/37104becf692d9b29c762d6346f3b541dea71f40)) * document npm Trusted Publishing and set registry-url in release workflow ([9679462](https://github.com/thedaviddias/skill-check/commit/96794629d22df4da5538d9f7f4631560bc156e53)) * show progress while generating share output ([ae5fee4](https://github.com/thedaviddias/skill-check/commit/ae5fee4fc235e756467986d563acbdc61c8ba6b4)) * show progress while generating share output ([7a87b37](https://github.com/thedaviddias/skill-check/commit/7a87b3769a32746974d0ba801e76d59e7586c8b6)) * use full GitHub URL for README demo image on npm ([e7f4801](https://github.com/thedaviddias/skill-check/commit/e7f4801d840b18fc0f2d62b8182e0026016c96da)) ### Features * add shareable CLI summary card and GitHub URL targets ([95e4de0](https://github.com/thedaviddias/skill-check/commit/95e4de0c7936a007ea6af2e88af8174c29bc1ac3)) * **cli:** add remote URL loader feedback and stderr progress ([5486b6b](https://github.com/thedaviddias/skill-check/commit/5486b6bce4f159293a65ca992a591ee5f7e1b925)) * ship CLI UX, split-body workflow, and scan improvements ([1c6cdb4](https://github.com/thedaviddias/skill-check/commit/1c6cdb433172a66e3b4ff60d596036b6c8a47866))

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供 GitHub CLI (gh) 的实用操作指南,涵盖 PR、工作流、API 查询等高频开发场景
  • 内容具有明确的实用价值,适合开发者日常使用
Trigger Precision95/100

Highlights

  • description 明确列出了适用场景和具体命令,触发词精准完整
  • 边界清晰,用户能准确判断何时使用该 Skill
Structure and Standards75/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档结构良好,但缺少明确的 'When to Use' 章节来指导用户何时使用该 Skill。

    Recommendation: 建议添加 'When to Use' 章节,更清晰地说明该 Skill 的最佳使用时机和场景。

  • 缺少端到端完整示例 Reported severity: Minor

    虽然有多个命令片段示例,但缺少一个完整的端到端使用流程示例。

    Recommendation: 建议添加一个完整的端到端示例,展示如何组合多个命令解决一个具体问题。

Highlights

  • 文档结构清晰,分章节介绍不同功能
  • 每个部分都有具体命令示例,便于用户理解和使用
Execution Reliability80/100

Areas to improve

  • 缺少异常处理说明 Reported severity: Minor

    所有命令示例都正确,但未覆盖命令执行失败等异常情况的处理建议。

    Recommendation: 建议在文档中添加关于如何处理常见错误(如网络问题、权限不足、仓库不存在等)的说明。

Highlights

  • 所有命令示例都正确指定了 --repo owner/repo 参数以避免歧义
  • 工具来源(gh CLI)明确,参数使用正确
Evidence Verifiability (mean of the first four)81/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.