pr-issue-search

Extract GitHub issue references from branch names and commit messages.

3.0k|1.6k|Updated Jul 18, 2018
One-click install
npx skills add https://github.com/MetaMask/metamask-mobile --skill pr-issue-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-issue-search
Source: https://github.com/MetaMask/metamask-mobile/tree/main/.agents/skills/pr-issue-search
Command: npx skills add https://github.com/MetaMask/metamask-mobile --skill pr-issue-search

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Find related GitHub issues for a pull request by extracting from branch names, commit messages, or performing direct searches to link issues to PRs or reference relevant issues.

Core Features & Use Cases

  • Extract issue references from branch naming conventions (GitHub issue numbers or Jira IDs) to surface related issues.
  • Extract references from commit messages to collect issue numbers and IDs.
  • Search for issues on GitHub when no references are found, and present concise results for PR context.

Quick Start

Provide a PR branch name and commit messages, then request a concise summary of related issues with references.

Frequently Asked Questions about pr-issue-search

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

FAQPage Schema
How do I find related GitHub issues for a pull request?

To find related GitHub issues for a pull request, you analyze branch names and commit messages to extract issue numbers, or perform a direct GitHub search to link relevant issues to your PR.

Can I extract Jira IDs from a PR branch name?

Yes, you can extract Jira IDs and GitHub issue numbers from PR branch naming conventions, surfacing related issues automatically by parsing the branch name string for embedded identifiers.

How do I link issue numbers to a pull request using commit messages?

You link issue numbers to a pull request by parsing commit messages for explicit references, extracting these identifiers to collect and cross-reference related issues within your code review workflow.

What is the best way to search for GitHub issues when no references are in the commits?

The best way to search for GitHub issues when no references exist in commits or branches is to use GitHub search integration, retrieving concise results to provide missing context for your PR.

Does this issue search method work for code review workflows and PR preparation?

Yes, this issue search method works for code review workflows and PR preparation by surfacing issue numbers from branches, commits, or searches to cross-reference discussions and link issues to PRs.