create-pr

Create pull requests from local commits with formatted titles and user assignment.

Updated Dec 27, 2018
One-click install
npx skills add https://github.com/segersniels/dotfiles --skill create-pr-segersniels
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/segersniels/dotfiles/tree/main/.opencode/skill/create-pr
Command: npx skills add https://github.com/segersniels/dotfiles --skill create-pr-segersniels

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured process for creating a pull request by guiding the user through fetching, status checks, commit history review, diff analysis, user input for origin, PR draft vs final, and PR creation with a descriptive title and body, then assigning the current user.

Core Features & Use Cases

  • Guided PR workflow: Step-by-step prompts to fetch, review, and prepare diffs.
  • Consistent formatting: Enforces a conventional commit-like title style and descriptive body content.
  • Automation scope: Supports drafting or finalizing PR with current user assignment.

Quick Start

Create a descriptive PR title and body for the current changes and open the PR on GitHub.

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I automate pull request creation with consistent title and body formatting?

Automating pull request creation involves guiding you through fetching, reviewing commits, and generating a descriptive title and body. This ensures consistent PR quality and proper user assignment before final submission on GitHub.

What is the step-by-step process for creating a GitHub pull request from local commits?

Creating a GitHub pull request from local commits requires fetching remote changes, checking status, reviewing commit history, analyzing diffs, and confirming user input. The process then drafts a formatted title and body to finalize the PR.

Can I draft a pull request on GitHub without finalizing the submission immediately?

Yes, you can draft a pull request without finalizing the submission immediately. The workflow supports drafting or finalizing PRs, ensuring explicit user confirmation before creating the PR and assigning the current user on GitHub.

Does this guided PR workflow enforce conventional commit-like title formatting?

Yes, the guided PR workflow enforces conventional commit-like title formatting. It applies structured guidelines to ensure PR titles and descriptive bodies meet consistent quality requirements for your software development workflow.

Do I need to manually assign reviewers when automating pull request creation?

No, you do not need to manually assign reviewers when automating pull request creation. The workflow handles assigning the current user automatically after generating the descriptive PR title and body.

What are the limitations of automating PR creation for code review workflows?

Limitations of automating PR creation include requiring explicit user confirmation before drafting or final submission. The workflow focuses on title and body generation, meaning complex code review logic or custom CI checks must be handled separately.