pr

Create GitHub pull requests with labels, issue closures, and self-assignment.

1|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/Levezze/devkit --skill pr-levezze
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/Levezze/devkit/tree/main/skills/pr
Command: npx skills add https://github.com/Levezze/devkit --skill pr-levezze

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the hassle of writing consistent pull request descriptions and manually setting up labels, issue links, and assignees.

Core Features & Use Cases

  • PR description drafting from commit history: Reviews commit history since the branch diverged from main/master to summarize what changed and why.
  • Issue linking and closure intent: Detects related GitHub issues from commit messages, branch name, or context to include a “Closes #x” lead line for auto-closing.
  • Label selection and PR creation: Chooses relevant labels from the repository’s available labels and creates the PR via the GitHub CLI with your user assigned.
  • Consistent handoff output: Returns a standardized PR Handoff block after creation for other agents to continue work.

Quick Start

Ask the AI to run the pr skill to review the current branch changes and create the corresponding GitHub pull request with an appropriate title, description, labels, and issue closing text.

Frequently Asked Questions about pr

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

FAQPage Schema
How do I auto-generate a GitHub pull request description from commit history?

To auto-generate a GitHub pull request description from commit history, this Skill analyzes your branch's divergence from main or master, summarizes the changes, and creates the PR via the GitHub CLI. It automatically drafts the PR title and body based on your commit messages.

How do I link a GitHub issue and auto-close it when creating a pull request?

To link a GitHub issue and auto-close it when creating a pull request, this Skill detects related issue numbers from your commit messages or branch name. It then inserts a standard 'Closes #x' line at the top of the PR description to trigger automatic issue closure upon merge.

Can the GitHub CLI automatically assign labels and assignees when creating a PR?

Yes, the GitHub CLI can automatically assign labels and assignees when creating a PR. This Skill discovers your repository's available labels, selects relevant ones based on the changes, resolves your user account, and applies both labels and self-assignment during PR creation.

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

Yes, you need the GitHub CLI installed to automate pull request creation with this Skill. It depends on the CLI for user resolution, label discovery, and the actual PR creation process on your current branch.

What is the best way to create consistent pull request handoff blocks for agents?

The best way to create consistent pull request handoff blocks for agents is using this Skill, which generates a standardized PR Handoff block after PR creation. It analyzes branch changes and commit history to provide a uniform summary for downstream automated workflows.