github

Extract GitHub PRs, issues, and comments via the gh CLI.

Updated Mar 21, 2026
One-click install
npx skills add https://github.com/Derek-X-Wang/skills --skill github-derek-x-wang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/Derek-X-Wang/skills/tree/main/github
Command: npx skills add https://github.com/Derek-X-Wang/skills --skill github-derek-x-wang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Interact with GitHub PRs, issues, and comments efficiently through the gh CLI to retrieve data and streamline reviews.

Core Features & Use Cases

  • PR data access: fetch PR details, inline comments, and review summaries.
  • Issue and discussion triage: gather and summarize conversations across issues and pull requests.
  • Pagination and filters: handle large datasets with pagination and user-based filtering to surface relevant activity.

Quick Start

Fetch the latest PR comments for a repository and summarize them for review.

Frequently Asked Questions about github

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

FAQPage Schema
How do I extract GitHub PR comments and review summaries using gh CLI?

You can extract GitHub PR comments and review summaries by using gh api and gh CLI to fetch pull request details, handle pagination, and present results suitable for context loading.

Can I fetch issues and pull request discussions from private GitHub repositories?

Yes, you can fetch issues and pull request discussions across public or private GitHub endpoints by applying user-based filters and pagination to surface relevant activity.

What is the best way to triage GitHub issues and summarize conversations programmatically?

Triage GitHub issues and summarize conversations by retrieving data through gh CLI, applying simple filters, and gathering discussions across issues and pull requests for review.

Does this approach handle large datasets when fetching pull request data from GitHub?

Yes, this approach handles large datasets when fetching pull request data by using gh api pagination to retrieve results and surface relevant activity for context loading.

Do I need gh CLI installed to automate fetching GitHub PR data and issue comments?

Yes, you need gh CLI installed because it relies on gh api and gh CLI commands to interact with GitHub endpoints, apply filters, and fetch PR data.