create-pr

Creates GitHub pull requests with structured descriptions generated from full session context.

4|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/staticaland/skills --skill create-pr-staticaland
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/staticaland/skills/tree/main/plugins/pull-requests/skills/create-pr
Command: npx skills add https://github.com/staticaland/skills --skill create-pr-staticaland

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Pull request descriptions written from the diff alone leave reviewers guessing about the original request, the decisions made, and what was tested. This Skill builds the PR body from the entire working session so a reviewer can judge the change without having been present. ## Core Features & Use Cases - Session-aware PR descriptions: Fills a structured template covering what changed, why, who it is for, and which issues it closes, drawn from the whole conversation rather than just the diff. - Deterministic prepare and submit scripts: The prepare command pushes the branch and prints the template (using the repo's own PULL_REQUEST_TEMPLATE.md when present), while submit strips template comments, appends an AI-assistance notice, and creates the PR through gh. - Stale-body protection: Each run writes to a uniquely named temporary body file, preventing an old description from a previous session from being submitted by mistake. - Use Case: After finishing a feature branch with an AI assistant, invoke the skill to push the branch, fill the template with the session's decisions and test results, and open a review-ready PR in one flow. ## Quick Start Ask the assistant to create a pull request for the current branch using the create-pr skill.

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 from the command line?▼

Use the gh CLI with gh pr create, passing a title and body. This skill wraps that flow: its prepare script pushes the branch and prints a template, and its submit script calls gh pr create with the filled body file.

How do I write a good pull request description?▼

State what changed and why, who the change is for, and which issues it closes, using short direct sentences. The skill's template enforces this structure and draws content from the whole working session, not just the diff.

Does this skill use the repository's own pull request template?▼

Yes. The prepare script checks for .github/PULL_REQUEST_TEMPLATE.md in the repository root and uses it when present, falling back to the skill's built-in template otherwise.

Why does gh pr create get blocked when run directly?▼

A guard hook blocks bare gh pr create calls so PRs go through the skill's submit script, which strips template comments and adds the AI-assistance notice. The submit script sets the SKILL_CREATE_PR marker the hook requires.

What are the limitations of automated PR creation?▼

The skill requires the gh CLI, git push access to the remote, and a filled body file at the exact path prepare printed. It cannot infer session context that was never discussed, so the author must still supply decisions and test evidence.