view-pr

View and summarize pull requests from GitHub or Gitea repositories.

6|3|Updated Sep 13, 2017
One-click install
npx skills add https://github.com/tomholford/dotfiles --skill view-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: view-pr
Source: https://github.com/tomholford/dotfiles/tree/main/claude/skills/view-pr
Command: npx skills add https://github.com/tomholford/dotfiles --skill view-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

View and summarize the pull request linked to the current branch or a specified PR number or branch across GitHub and Gitea platforms.

Core Features & Use Cases

  • Detect platform from remotes and route to the appropriate tooling
  • Retrieve PR details including title, author, reviewers, status, checks, and a concise summary of changes
  • Provide a quick, actionable summary suitable for quick reviews

Quick Start

View the PR by number or branch, or on the current branch.

Frequently Asked Questions about view-pr

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

FAQPage Schema
How do I view and summarize a pull request for a specific branch?

To view and summarize a pull request, this tool retrieves PR details like title, author, reviewers, status, checks, and a concise summary of changes for a specified branch or PR number. It detects the platform from your remotes and fetches the metadata and diffs accordingly.

Does this work with both GitHub and Gitea pull requests?

Yes, this works with GitHub and Gitea pull requests. It routes to the appropriate tooling by detecting the platform from your remotes, using gh pr commands for GitHub repositories and mcp__gitea__pull_request_read for Gitea repositories.

What is the best way to get a quick summary of changes in a pull request?

The best way to get a quick summary of pull request changes is to retrieve PR metadata and diffs, which provides a concise, actionable summary of changes suitable for quick reviews across both GitHub and Gitea platforms.

Can I view the pull request associated with my current branch automatically?

Yes, you can view the pull request associated with your current branch automatically. The tool fetches PR metadata and diffs for the current branch without needing a specified PR number or branch name.

Do I need gh installed to view pull requests on GitHub repositories?

Yes, you need gh installed to view pull requests on GitHub repositories. The tool requires gh, mcp__gitea__pull_request_read, and mcp__gitea__list_pull_requests to fetch PR metadata and diffs across the supported platforms.

What pull request details can I see when summarizing changes?

When summarizing pull request changes, you can see the title, author, reviewers, status, checks, and a concise summary of changes. This provides a quick, actionable overview suitable for rapid code reviews.