create-pr

Guide pull request creation with git and GitHub CLI.

11|Updated Sep 6, 2011
One-click install
npx skills add https://github.com/tclem/dotfiles --skill create-pr-tclem
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/tclem/dotfiles/tree/main/copilot/skills/create-pr
Command: npx skills add https://github.com/tclem/dotfiles --skill create-pr-tclem

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the process of creating pull requests on GitHub by guiding users through preparing commit messages, selecting templates, and drafting PR titles and bodies with minimal manual effort.

Core Features & Use Cases

  • PR Workflow Assistance: Guides users step-by-step through assessing current branch state, committing changes, and pushing to remote repositories.
  • Template Utilization: Detects and applies existing PR templates, ensuring consistent and complete PR descriptions.
  • Drafting and Review: Facilitates drafting PR titles and bodies, prompting for confirmation before creation to avoid mistakes.
  • Use Case: A developer finishes a feature, runs this Skill to prepare and submit a well-structured pull request without manually typing all details in GitHub.

Quick Start

Use the create-pr skill to prepare a new pull request after committing your changes, ensuring all templates and descriptions are correctly applied.

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I automate GitHub pull request creation from the command line?

You can automate GitHub pull request creation by using this Skill to guide you through committing changes, applying templates, and drafting PR titles and bodies directly from your terminal. It requires the git and GitHub CLI tools to execute the workflow.

What's the best way to ensure my pull request descriptions match my repository templates?

To ensure pull request descriptions match repository templates, this Skill automatically detects and applies your existing PR templates. It guides you through drafting the title and body to guarantee consistency and completeness before submission.

Do I need the GitHub CLI installed to automate pull request workflows?

Yes, you need the GitHub CLI (gh) and git installed to automate pull request workflows. This Skill relies on these dependencies to assess your branch state, push changes to remote repositories, and execute the PR creation process.

Can I review a pull request draft before it is submitted to GitHub?

Yes, you can review your pull request draft before submission. This Skill facilitates drafting the PR title and body, prompting you for confirmation to prevent mistakes before the final pull request is created on GitHub.

How does template utilization work for pull request automation in devops workflows?

Template utilization in devops workflows works by detecting existing PR templates in your repository and applying them automatically. This ensures your pull request descriptions maintain consistent structure and completeness across collaborative development.

Why does pull request automation fail when my local branch is not pushed?

Pull request automation fails if the local branch is not pushed because the remote repository lacks your changes. This Skill assesses your current branch state and guides you through committing and pushing to remote before creating the PR.