create-pull-request

Create GitHub pull requests with the GitHub CLI and repository templates.

65.9k|7.1k|Updated Jul 6, 2024
One-click install
npx skills add https://github.com/cline/cline --skill create-pull-request-cline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pull-request
Source: https://github.com/cline/cline/tree/main/.agents/skills/create-pull-request
Command: npx skills add https://github.com/cline/cline --skill create-pull-request-cline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh.

What problem does it solve?

This skill eliminates the friction and inconsistency of manual pull request creation by enforcing project standards, ensuring proper branch management, and automating the use of repository templates.

Core Features & Use Cases

  • Standardized PR Creation: Automatically populates PR bodies using project-specific templates to ensure consistent documentation.
  • Workflow Automation: Handles branch verification, commit analysis, and GitHub CLI integration to reduce manual overhead.
  • Use Case: When finishing a feature, use this skill to analyze your recent commits, verify your branch status, and generate a perfectly formatted pull request that includes all necessary issue references and test procedures.

Quick Start

Ask the AI to create a pull request for the current branch using the project template.

Frequently Asked Questions about create-pull-request

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

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

Automating GitHub pull request creation requires integrating with the GitHub CLI to manage branch validation, analyze commit history, and populate repository-specific PR templates automatically.

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

Yes, you need the GitHub CLI (gh) installed and authenticated to perform remote repository operations for automated pull request creation and branch verification.

Can I automatically populate a pull request template from my recent commits?

You can populate pull request templates automatically by analyzing your recent commit history and enforcing project standards to ensure consistent documentation across your repository.

What is the best way to ensure consistent formatting across GitHub pull requests?

The best way to ensure consistent pull request formatting is to automate PR body population using project-specific templates, which enforces standard documentation for every submission.

How does branch validation work when creating an automated pull request?

Branch validation works by verifying your current branch status through GitHub CLI integration before submission, ensuring your repository branch is properly managed and ready for PR creation.