github-content

Fetch GitHub issues, PRs, repo contents, and code via gh CLI.

3|Updated Nov 1, 2025
One-click install
npx skills add https://github.com/krmcbride/claude-plugins --skill github-content
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-content
Source: https://github.com/krmcbride/claude-plugins/tree/main/essentials/skills/github-content
Command: npx skills add https://github.com/krmcbride/claude-plugins --skill github-content

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fetch GitHub issues, PRs, repo contents, and code using the gh CLI to access complete content beyond what the web UI renders.

Core Features & Use Cases

  • View issues, PRs, and repository contents with full comments and reviews.
  • Browse code and file contents via gh api and gh commands for precise, up-to-date results.
  • Use cases include auditing PR histories, listing modified files across PRs, and extracting repository metadata for reports.

Quick Start

Fetch content for a given GitHub URL using gh commands.

Frequently Asked Questions about github-content

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

FAQPage Schema
How do I fetch GitHub PR comments and reviews using the command line?

Fetch GitHub PR comments and reviews by running the gh pr view command. This retrieves complete pull request data, including full review histories and modified file lists, beyond what the web UI renders.

Can I browse repository contents and extract file lists with gh CLI?

Yes, you can browse repository contents and extract file lists using gh api repos/owner/repo/contents. This provides structured data for precise, up-to-date repository metadata extraction and code browsing.

What is the best way to view GitHub issues with full comments?

The best way to view GitHub issues with full comments is using the gh issue view command. It reliably retrieves complete issue data, ensuring you capture all discussion threads and metadata for auditing.

Does the gh CLI work for auditing PR histories and extracting repository metadata?

Yes, the gh CLI works for auditing PR histories and extracting repository metadata. It leverages commands like gh search and gh api to provide structured, complete data for comprehensive reports.

How do I get complete code diffs from a GitHub URL?

Get complete code diffs from a GitHub URL by applying gh commands to the shared link. The tool fetches precise, up-to-date repository contents and pull request diffs reliably.

Why does fetching repository contents via the GitHub API return incomplete data?

Fetching repository contents via the GitHub API may return incomplete data if not using the gh CLI. The gh CLI ensures complete data retrieval by accessing content beyond standard web UI rendering.