pr

Create a pull request from the current git branch using a WSL-safe workflow.

13|3|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/jamie8johnson/cqs --skill pr-jamie8johnson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/jamie8johnson/cqs/tree/main/.claude/skills/pr
Command: npx skills add https://github.com/jamie8johnson/cqs --skill pr-jamie8johnson

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating pull requests from a local Git branch without running into heredoc/permission issues on Windows/WSL.

Core Features & Use Cases

  • Generates a PR from the current branch with a body file to avoid inline heredocs.
  • Validates local state, pushes to origin, and reports the PR URL for quick feedback.
  • Works with Windows/PowerShell environments to streamline code collaboration.

Quick Start

Run the PR helper to create a PR from your current branch using a Windows-friendly workflow.

Frequently Asked Questions about pr

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

FAQPage Schema
How do I create a pull request in PowerShell without running into heredoc issues?

You can create a pull request in PowerShell by supplying the PR body through a file, which avoids inline heredoc issues. This workflow validates local state, pushes to origin, and reports the PR URL.

What's the best way to automate git pull request creation on Windows?

Automating git pull request creation on Windows is best handled via a WSL-safe workflow using PowerShell. It generates the PR from your current branch and handles body content safely to prevent permission errors.

Why does creating a pull request fail with heredoc syntax in WSL?

Creating a pull request fails with heredoc syntax in WSL due to permission and shell interpretation conflicts. Using a body-file workflow bypasses these inline heredoc issues on Windows safely.

Can I use the GitHub CLI to push to origin and create a PR from the current branch?

Yes, you can use the GitHub CLI to push to origin and create a PR from the current branch. This workflow validates your local state, pushes the branch, and safely reports the generated PR URL.

Does this PR creation workflow work in both native Windows and WSL environments?

Yes, this WSL-safe PR creation workflow works in Windows environments using Git and GH tooling via PowerShell. It ensures PR bodies are supplied through a file to avoid heredoc issues across both environments.