pr

Create GitHub pull requests from commit history and code diffs.

6|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/rtfpessoa/code-factory --skill pr-rtfpessoa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/rtfpessoa/code-factory/tree/main/git/skills/pr
Command: npx skills add https://github.com/rtfpessoa/code-factory --skill pr-rtfpessoa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of creating GitHub pull requests, ensuring they have clear titles and comprehensive descriptions based on commit history and code changes.

Core Features & Use Cases

  • Automated PR Creation: Generates PRs from the current branch to a specified base branch.
  • Intelligent Summarization: Analyzes commit messages and code diffs to create context-aware PR titles and bodies.
  • Complexity-Based Formatting: Adapts the PR description style (simple, medium, complex) based on the scope of changes.
  • Use Case: After completing a feature, use this Skill to automatically create a pull request with a title like "feat: Implement user authentication" and a detailed body explaining the motivation, summary of changes, and any critical updates.

Quick Start

Use the pr skill to create a pull request from the current branch to main.

Frequently Asked Questions about pr

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

FAQPage Schema
How do I automatically generate a GitHub pull request description from commit history?

Automatically generate a GitHub pull request description from commit history by analyzing git commit messages and code diffs to create structured titles and comprehensive bodies. This Skill adapts the description format based on the scope and complexity of your code changes.

How do I create a structured GitHub pull request from my current branch?

Create a structured GitHub pull request from your current branch by running this Skill to automatically detect the base branch. It analyzes your code diffs to produce a context-aware title and a detailed body explaining the motivation and summary of changes.

Can I use a custom title when automating pull request creation from code diffs?

Yes, you can use a custom title when automating pull request creation from code diffs. This Skill supports user-defined PR titles while automatically generating the PR body with critical path detection and detailed summaries of your changes.

How does automated pull request formatting adapt to different types of code changes?

Automated pull request formatting adapts to different types of code changes by applying complexity-based formatting. It evaluates the scope of your commits and code diffs, tailoring the PR description style as simple, medium, or complex to ensure appropriate context.

What is the best way to ensure pull request descriptions include critical path detection?

The best way to ensure pull request descriptions include critical path detection is to use an automated PR creation tool that analyzes code diffs. This Skill identifies critical updates and generates a detailed summary within the PR body.

Do I need to manually specify the base branch when automating GitHub PR creation?

No, you do not need to manually specify the base branch when automating GitHub PR creation. This Skill supports automated base branch detection, allowing you to create a pull request from the current branch to the detected base.