creating-pull-requests

Create GitHub pull requests with the gh CLI and repository conventions.

9|Updated Aug 12, 2025
One-click install
npx skills add https://github.com/shekohex/dotai --skill creating-pull-requests-shekohex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-pull-requests
Source: https://github.com/shekohex/dotai/tree/main/skills/creating-pull-requests
Command: npx skills add https://github.com/shekohex/dotai --skill creating-pull-requests-shekohex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of GitHub pull requests, ensuring they are concise, well-formatted, and adhere to the repository's conventions and the author's style, streamlining the code review process.

Core Features & Use Cases

  • Automated PR Creation: Opens GitHub pull requests using the gh CLI.
  • Style Mimicry: Analyzes recent PRs and issues to match the author's writing tone and structure.
  • Quality Checks: Verifies local quality checks before opening a PR.
  • Template Integration: Prefers and utilizes repository-provided PR templates.
  • Use Case: After completing a feature, you can ask the AI to "create a PR for this branch," and it will handle the entire process from branch pushing to PR submission with appropriate context.

Quick Start

Use the creating-pull-requests skill to open a new pull request for the current branch.

Frequently Asked Questions about creating-pull-requests

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?

Automate GitHub pull request creation by using the `gh` CLI to push branches, infer base branches, apply local quality checks, and submit PRs with repository templates and issue references.

Can I generate pull requests that match my previous code review style?

Yes, pull request generation can mirror your style by analyzing recent PRs and issues to match your writing tone, structure, and repository conventions for high-signal descriptions.

How do I ensure local quality checks pass before opening a pull request?

Ensure local quality checks pass before opening a pull request by running validation routines that verify code standards, then utilizing PR templates to generate concise submissions.

Does automated PR creation work with existing repository PR templates?

Automated PR creation works with existing repository templates by preferring and utilizing them to structure the pull request, ensuring adherence to project conventions and review guidance.

What is the best way to link existing issues when creating a GitHub pull request?

Link existing issues when creating a GitHub pull request by inferring repository context and generating PR descriptions that include validation, review guidance, and explicit issue references.

What happens if an open pull request already exists for my current branch?

If an open pull request already exists for your branch, the creation process checks for existing PRs to avoid duplicates before applying local quality checks and attempting submission.