github-pr

Fetch and extract GitHub pull request data via the GitHub API.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/2lab-ai/soma-work --skill github-pr-2lab-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr
Source: https://github.com/2lab-ai/soma-work/tree/main/src/local/skills/github-pr
Command: npx skills add https://github.com/2lab-ai/soma-work --skill github-pr-2lab-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, python, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill solves the challenge of reviewing and summarizing GitHub Pull Requests efficiently by fetching and analyzing PR data with minimal token usage.

Core Features & Use Cases

  • PR Data Extraction: Fetches metadata, reviews, comments, and files from a GitHub PR.
  • Data Analysis: Provides a token-efficient representation of the PR data.
  • Use Case: When you need to quickly review a pull request, this Skill can fetch the necessary data and present it in a concise format.

Quick Start

Extract PR data for pull request 42: github-pr 42

Frequently Asked Questions about github-pr

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

FAQPage Schema
How do I fetch GitHub PR data for code review?

To extract GitHub pull request data, the Skill fetches metadata, reviews, comments, and files via the GitHub API. It processes this JSON data using Bash scripting and Python to provide a token-efficient representation for quick review.

Can I use this to get a summary of a GitHub pull request within a Slack bot?

Yes, extracting GitHub pull request data is optimized for use within Slack bots. It fetches essential PR details via the GitHub API and presents them in a token-efficient format for quick review and summary generation.

Do I need GitHub API access to extract pull request files and comments?

Yes, GitHub API access is required to extract pull request files and comments. The data retrieval process relies on the GitHub API to fetch essential metadata, file changes, and review comments for processing.

What is the best way to analyze GitHub PR data with minimal token usage?

The best way to analyze GitHub PR data with minimal token usage is to fetch essential metadata, reviews, and files, then process the JSON output with Python and Bash. This approach provides a token-efficient representation for concise summarization.

Does this GitHub PR fetcher work with Bash and Python for JSON data manipulation?

Yes, the GitHub PR fetcher works with Bash and Python for JSON data manipulation. It utilizes Bash scripting and Python to process, manipulate, and extract essential data from JSON retrieved via the GitHub API.