create-pr

Create GitHub pull requests linked to issues via the gh CLI.

1|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/payangar-dev/texlab --skill create-pr-payangar-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/payangar-dev/texlab/tree/main/.claude/skills/create-pr
Command: npx skills add https://github.com/payangar-dev/texlab --skill create-pr-payangar-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It saves time when you need to open a GitHub pull request by automatically filling a standardized PR template, linking it to the correct issue, updating any issue task checkboxes, and creating the PR via the GitHub CLI.

Core Features & Use Cases

  • Automatic PR template filling: Populates the project PR template with summary, motivation (including Closes #<issue-number>), changes, key decisions, out of scope, verification, and how to test.
  • Issue task synchronization: Updates the linked GitHub issue body so completed task checkboxes are marked as checked.
  • Consistent, review-ready PR creation: Creates the PR against the main branch using gh pr create, with a Conventional Commit-style title.

Quick Start

Ask to create a PR for your branch and linked issue (for example, “create the PR for this branch and close issue #12”).

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I create a GitHub pull request that automatically closes a linked issue?

To create a GitHub pull request that closes a linked issue, this skill generates a template-based PR body embedding `Closes #<issue-number>`, updates the issue's task checkboxes, and runs `gh pr create` against the main branch. It parses your branch commits and file diffs to populate the review-ready template automatically.

Can I automatically update issue task checkboxes when opening a pull request?

Yes, you can automatically update issue task checkboxes when opening a pull request. This skill synchronizes the linked GitHub issue body by parsing your branch commits and marking completed task checkboxes as checked without manual editing, ensuring your issue tracking stays current during PR creation.

How do I fill out a PR template automatically using the GitHub CLI?

You can fill out a PR template automatically using the GitHub CLI by having this skill parse your branch file diffs and commits. It populates a standardized template with summary, motivation, changes, key decisions, out of scope, and verification sections, then executes `gh pr create` with a Conventional Commit-style title.

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

Yes, you need the gh CLI installed to automate pull request creation. This skill creates the PR against the `main` branch directly through the GitHub CLI, applying a Conventional Commit-style title and embedding the exact PR template structure required for proper issue linking.

What's the best way to link a GitHub issue to a pull request without manual editing?

The best way to link a GitHub issue to a pull request without manual editing is using an automated template-filling approach. This skill parses your branch commits, generates a PR body with `Closes #<issue-number>`, updates issue checkboxes, and executes `gh pr create` to ensure review-ready consistency.