create-pr

Create GitHub pull requests for the current branch after pre-flight checks.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) components.

What problem does it solve?

Automates the creation of GitHub pull requests for the current branch after automated pre-flight checks, ensuring code is ready for review.

Core Features & Use Cases

  • Pre-flight verification: runs verification steps defined in CLAUDE.md and project checks.
  • Branch-safe PR creation: ensures not on default branch and checks for existing PRs.
  • Template-driven PRs: uses standard PR body templates when creating PRs.

Quick Start

Create a pre-verified PR for the current branch after running the pre-flight checks.

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I automate GitHub pull request creation with pre-flight checks?

Automate pull request creation by running branch validation and verification scripts before opening a PR. The tool checks that you are not on the default branch, verifies no existing PR is open, and uses a template to create the PR body.

What pre-flight verification steps run before creating a pull request?

Pre-flight verification executes steps defined in your CLAUDE.md file and runs the scripts/pr-preflight.sh script. These checks ensure your code is validated and ready for review before a GitHub pull request is opened.

Do I need the GitHub CLI installed to automate PR creation?

Yes, the GitHub CLI (gh) is required to automate PR creation. It handles branch validation, checks for existing pull requests, and creates the PR using your project's standard PR body templates.

Can I use this automation to create a pull request from the default branch?

No, this automation is branch-safe and explicitly prevents creating a pull request from the default branch. It validates your current branch and checks for existing PRs before proceeding with creation.

What is the best way to ensure code is ready for review before opening a PR?

The best way to ensure code readiness is using automated pre-flight checks that read verification steps from CLAUDE.md and execute pr-preflight.sh. This validates your code and branch state before template-driven PR creation.

Why does my automated pull request creation skip the PR body template?

Pull request creation uses standard PR body templates to guide the PR content. If a template is skipped, ensure your project contains the expected PR template files and that the pre-flight verification checks pass successfully.