mine.create-pr

Create draft pull requests from branch commits and diffs on GitHub or Azure DevOps.

8|1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/Olatisunkanmi/claudefiles --skill mine-create-pr-olatisunkanmi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mine.create-pr
Source: https://github.com/Olatisunkanmi/claudefiles/tree/main/skills/mine.create-pr
Command: npx skills add https://github.com/Olatisunkanmi/claudefiles --skill mine-create-pr-olatisunkanmi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the repetitive and error-prone process of reviewing a local Git branch and creating a well-structured pull request so developers can open clear, reviewer-friendly PRs quickly without manual assembly of title, body, and changelog updates.

Core Features & Use Cases

  • Platform detection and tooling: Detects whether the repo uses GitHub or Azure DevOps and uses the appropriate CLI (gh or az) to interact with the hosting platform.
  • Comprehensive branch analysis: Verifies the branch is pushed, checks for existing PRs, analyzes all commits and diffs, and reads relevant files to build context-rich PR content.
  • Structured PR composition and changelog integration: Produces a concise title and grouped body emphasizing why changes were made, appends closing issue references when found, creates a draft PR, updates the nearest CHANGELOG with the PR reference, and marks the PR ready for review.
  • Use Cases: Quickly generate PRs after feature work, standardize PR descriptions across a team, and ensure changelogs consistently reference PRs.

Quick Start

Run the skill to analyze the current branch, draft a reviewer-focused PR title and body, create a draft PR on the detected platform, update the nearest CHANGELOG with the PR reference, and return the PR URL.

Frequently Asked Questions about mine.create-pr

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

FAQPage Schema
How do I automate pull request creation from git branch commits and diffs?

To automate pull request creation, the Skill analyzes all branch commits and diffs to compose a structured title and reviewer-friendly body, then uses the gh or az CLI to create a draft PR and return the PR URL.

Can I generate pull requests for both GitHub and Azure DevOps repositories?

Yes, you can generate pull requests for both platforms. The Skill detects the remote hosting platform and automatically uses the appropriate gh or az CLI to check existing PRs and create the draft.

Does automating PR drafts also update the project changelog?

Yes, automating PR drafts updates the changelog. After creating a draft PR and composing a structured body with closing issue references, the Skill updates the nearest CHANGELOG with the new PR reference and marks the PR ready for review.

What do I need to set up before generating a reviewer-friendly PR draft?

Before generating a PR draft, you need git metadata, remote access, and the gh or az CLI installed. The Skill requires the feature branch to already be pushed to the remote repository to proceed with the analysis.

Why does the generated PR draft emphasize why changes were made?

The generated PR draft emphasizes why changes were made to provide reviewer-friendly context. By analyzing all commits and diffs, the Skill produces a grouped body that clearly explains the rationale behind the branch changes.

What is the best way to standardize PR descriptions and changelog entries across a team?

The best way to standardize PR descriptions and changelog entries is to use an automated Skill that reads branch changes, formats a structured PR body, creates the draft, and appends the PR URL to the nearest CHANGELOG.