gh-pr

Automate GitHub PR creation and metadata updates using the gh CLI.

1|Updated Oct 22, 2025
One-click install
npx skills add https://github.com/Motoki0705/tennis-lab --skill gh-pr-motoki0705
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-pr
Source: https://github.com/Motoki0705/tennis-lab/tree/main/skills/gh-pr
Command: npx skills add https://github.com/Motoki0705/tennis-lab --skill gh-pr-motoki0705

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates PR creation and maintenance by enforcing consistent metadata across PRs for Motoki0705/tennis-lab.

Core Features & Use Cases

  • Consistent PR titles and bodies
  • Automatic labeling, assignees, and project board integration
  • Linking related issues and reviewers to streamline collaboration
  • Use cases include opening new PRs, updating metadata on existing PRs, and syncing project status across the workflow

Quick Start

Open a branch with your changes and run the PR creation command with the appropriate flags.

Frequently Asked Questions about gh-pr

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

FAQPage Schema
How do I automate GitHub pull request creation with consistent metadata using gh CLI?

Automate GitHub pull request creation with consistent metadata by using a workflow that enforces titles, labels, assignees, projects, and linked issues via the gh CLI. It implements preflight checks, PR creation, project status updates, and retry logic.

How do I add labels, assignees, and reviewers to a pull request automatically?

Add labels, assignees, and reviewers to a pull request automatically by configuring a PR maintenance workflow. It applies default values and guidance for edge cases to streamline collaboration and sync project status across the workflow.

What is the best way to link related issues to a GitHub pull request during creation?

The best way to link related issues to a GitHub pull request during creation is to use an automated PR metadata tool. It enforces consistent PR bodies and automatically links related issues and reviewers to streamline collaboration.

Does the gh CLI support preflight checks before opening a pull request?

Yes, the gh CLI supports preflight checks before opening a pull request when combined with an automated workflow. This robust preflight check validates PR metadata, including titles, labels, assignees, projects, and linked issues, before creation.

How do I update project board status when a pull request is created?

Update project board status when a pull request is created by automating project status updates within the PR workflow. It syncs project status across the workflow using the gh CLI, ensuring consistent project management and collaboration.

Can I use GitHub PR automation for project management in a specific repository?

Yes, you can use GitHub PR automation for project management in a specific repository. This workflow is applied to PR workflows, covering titles, labels, assignees, projects, reviewers, and linked issues with consistent metadata and default values.