---
name: GitHub
slug: github-3
category: Automation
description: GitHub uses the gh CLI to work with issues, pull requests, workflow runs, and API queries. Use it when you need structured GitHub data or to check CI status from the terminal.
github: "https://github.com/hAcKlyc/MyAgents/tree/main/bundled-workspaces/mino/.claude/skills/github"
language: TypeScript
stars: 851
forks: 99
install: "npx degit https://github.com/hAcKlyc/MyAgents/tree/main/bundled-workspaces/mino/.claude/skills/github ~/.claude/skills/github"
installs_to: ~/.claude/skills/github
source_path: bundled-workspaces/mino/.claude/skills/github/SKILL.md
collection_size: 23
category_size: 1523
collection_url: "https://dirskills.com/collections/hAcKlyc/MyAgents"
added: 2026-08-22T05:21:59.632Z
last_synced: 2026-08-22T05:21:59.632Z
canonical_url: "https://dirskills.com/skills/github-3"
---

# GitHub

GitHub uses the gh CLI to work with issues, pull requests, workflow runs, and API queries. Use it when you need structured GitHub data or to check CI status from the terminal.

**Install:**

```bash
npx degit https://github.com/hAcKlyc/MyAgents/tree/main/bundled-workspaces/mino/.claude/skills/github ~/.claude/skills/github
```

## README

# 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:

```bash
gh pr checks 55 --repo owner/repo
```

List recent workflow runs:

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

View a run and see which steps failed:

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

View logs for failed steps only:

```bash
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:

```bash
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:

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