Using GitHub API with gh CLI

Community

Tap GitHub REST/GraphQL APIs via gh api.

Authorjohnnymo87
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables programmatic access to GitHub REST and GraphQL APIs using gh api to fetch inline review comments, thread status, and other data not exposed by standard gh pr view commands.

Core Features & Use Cases

  • Access inline PR review comments
  • Get review thread status (resolved/unresolved)
  • REST API via gh api
  • GraphQL API via gh api
  • Extract owner/repo/PR number from URLs
  • Filter and query PR review data

Quick Start

Use gh api to fetch data, for example: gh api repos/OWNER/REPO/pulls/PR_NUMBER/comments -q '.[] | {id, path, line, body: .body, user: .user.login, created_at}'

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Using GitHub API with gh CLI
Download link: https://github.com/johnnymo87/dotfiles/archive/main.zip#using-github-api-with-gh-cli

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.