pr

Automates pull request creation and updates across GitHub and GitLab using gh or glab CLI tools.

11|7|Updated Nov 6, 2015
One-click install
npx skills add https://github.com/gufranco/dotfiles --skill pr-gufranco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/gufranco/dotfiles/tree/main/claude/skills/pr
Command: npx skills add https://github.com/gufranco/dotfiles --skill pr-gufranco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, glab, git, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating and updating pull requests (or merge requests) for code reviews, ensuring consistency and adherence to project conventions.

Core Features & Use Cases

  • Automated PR Creation: Generates new pull requests with titles and descriptions based on commit history and project templates.
  • PR Updates: Modifies existing pull requests to reflect the latest changes.
  • Platform Agnostic: Supports both GitHub and GitLab through their respective CLIs (gh and glab).
  • Use Case: After pushing your feature branch, use this Skill to automatically create a well-formatted pull request ready for your team's review.

Quick Start

Use the pr skill to create a new pull request for the current branch.

Frequently Asked Questions about pr

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

FAQPage Schema
How do I create a pull request with a generated title and description?

To create a pull request, this Skill dynamically generates titles and descriptions from commit history and project templates. It manages branch detection to streamline pull request creation for your team's code review.

Can I use this to update an existing merge request?

Yes, you can update an existing merge request. The Skill modifies current pull requests to reflect the latest changes, managing branch detection and rebasing to keep your code review accurate and current.

Do I need the gh or glab CLI tools installed to automate pull request creation?

Yes, you need the gh or glab CLI tools installed to automate pull request creation. This Skill requires these command line interfaces to interact with GitHub and GitLab repositories for managing code reviews.

What's the best way to manage code reviews across both GitHub and GitLab?

The best way to manage code reviews across GitHub and GitLab is using a platform-agnostic automation approach. This Skill supports both platforms through gh and glab CLIs, dynamically generating pull request details from commit history.

How does base branch identification work when rebasing a pull request?

Base branch identification works by automatically detecting the correct target branch for your commits before rebasing. This ensures pull request updates are accurately aligned with the target branch during code review automation.