load-pr-context
FreeNo executable scriptsNot checkedLoad PR context for the current branch using GitHub MCP tools
by TheBushidoCollective★ 202 GitHub starsAbout this skill
Load PR Context
Name
github:load-pr-context - Load pull request context for the current branch
Synopsis
/load-pr-context [owner/repo] [branch]
Description
Loads the full context of an open pull request for the given branch, including description, changes, CI status, and review comments. Uses GitHub MCP tools for structured data access.
Implementation
Given owner/repo and branch arguments:
- Use
mcp__github__list_pull_requestswithowner,repo,head: "OWNER:BRANCH",state: "open"to find the PR - If no PR is found, report that no open PR exists for this branch and stop
- If a PR exists, gather context silently (do not narrate each step):
- Use
mcp__github__get_pull_requestwith the PR number to read description, labels, reviewers, and metadata - Use
mcp__github__get_pull_request_difformcp__github__list_pull_request_filesto understand what has changed - Use
mcp__github__list_workflow_runswithbranchto check CI status - Check for review comments via
mcp__github__list_review_comments_on_pull_request - Check for linked issues mentioned in the PR description
- Use
- Present a concise summary:
- PR title, number, and status
- Key points from the description
- Files changed (count and notable files)
- CI status (passing/failing)
- Review status (approved, changes requested, pending)
- Any blocking issues or failing checks
Example Interaction
User: /load-pr-context thebushidocollective/han feat/pr-context
Claude: ## PR #142: Add PR/MR context detection hooks
- **Status**: Open, 2 reviews pending
- **Description**: Adds SessionStart hooks to GitHub and GitLab plugins that detect open PRs/MRs on the current branch
- **Changes**: 8 files (+245, -12)
- **CI**: All checks passing
- **Reviews**: 1 approved, 1 pending from @reviewer
Ready to assist with this PR.
Arguments
owner/repo(required): Repository in owner/repo formatbranch(required): Branch name to find the PR for
Tips
- This skill is typically invoked automatically when starting a session on a feature branch
- All data is fetched via MCP tools (no CLI commands needed)
- The summary is kept concise to avoid cluttering the session start
Install load-pr-context in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the load-pr-context skill do?
Load PR context for the current branch using GitHub MCP tools
How do I install the load-pr-context skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the load-pr-context skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic