create-pull-request

Create GitHub pull requests from feature branches using the gh CLI.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/darthlinuxer/dialectic-crew-ai --skill create-pull-request-darthlinuxer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pull-request
Source: https://github.com/darthlinuxer/dialectic-crew-ai/tree/main/src/mcp/skills/create-pull-request
Command: npx skills add https://github.com/darthlinuxer/dialectic-crew-ai --skill create-pull-request-darthlinuxer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill streamlines the creation of GitHub pull requests by enforcing project conventions, reducing manual steps, and ensuring correct metadata and templates are applied.

Core Features & Use Cases

  • Automated PR creation: Generates a PR from a feature branch using the repository's PR template.

  • Commit analysis & hygiene: Analyzes commits to craft meaningful PR titles and bodies and ensures clean history.

  • Branch & base management: Validates and updates base branch, prompts rebase if needed.

  • Validation & safety: Verifies authentication, repository permissions, and PR checks before submission.

  • Use Case: When finishing a feature, trigger this skill to open a PR with proper description and checks.

Quick Start

Provide the feature branch name and target base branch to initiate PR creation.

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 a feature branch?

Automate GitHub pull request creation by using a skill that analyzes commits, selects the base branch, and populates PR templates via the gh CLI. This enforces project conventions and reduces manual steps when opening a PR from a feature branch.

How does commit analysis improve pull request titles and descriptions?

Commit analysis improves pull request titles and descriptions by examining commit history to craft meaningful PR bodies and ensure clean branch hygiene. This process automates PR template population while maintaining project conventions.

Do I need the GitHub CLI installed and authenticated to automate PR creation?

Yes, automating PR creation requires the GitHub CLI (gh) to be installed and authenticated. The skill validates authentication, repository permissions, and PR checks before submission to ensure safe and correct pull request generation.

Can I use automated PR creation with custom repository PR templates?

Yes, automated PR creation works with custom repository PR templates by populating them directly during generation. The skill analyzes your commits and applies repository-specific templates to ensure correct metadata and project conventions.

What's the best way to manage base branch selection and rebase during PR creation?

Manage base branch selection and rebase by validating and updating the base branch automatically during PR creation. The skill prompts a rebase if needed, ensuring proper branch hygiene and clean history before opening the pull request.

Why does automated PR creation require a clean working directory?

Automated PR creation requires a clean working directory to ensure commit analysis and branch hygiene checks run accurately. Uncommitted changes can interfere with base branch validation, PR template population, and automated checks across repositories using the gh CLI.