to-pull-requests

Opens a pull request for a pushed issue branch after validating branch state and QA evidence.

Updated Aug 19, 2026
One-click install
npx skills add https://github.com/PVMalove/claude-agent-harness --skill to-pull-requests-pvmalove
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: to-pull-requests
Source: https://github.com/PVMalove/claude-agent-harness/tree/main/skills/first-party/pvmalove/to-pull-requests
Command: npx skills add https://github.com/PVMalove/claude-agent-harness --skill to-pull-requests-pvmalove

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It enforces a controlled, manual gate between finishing implementation and opening a pull request, preventing premature or unverified PRs by checking branch state, upstream synchronization, and QA evidence before anything is created. ## Core Features & Use Cases - Branch and target validation: Resolves the PR target from the ticket's Integration Branch section, parent epic, or base_branch, and verifies the current branch matches the expected pattern, is clean, and is fully pushed. - QA evidence gating: For backend-orchestration opt-ins, validates accepted QA evidence for the exact current commit SHA via the coordinator CLI before allowing any PR action. - PR body preparation and tracker integration: Builds the PR body from the git-workflow template, stores it in .claude/tmp/, opens the PR/MR through the tracker CLI with the correct Closes/Related-to keyword, and publishes completion reports when required. - Use Case: After /implement finishes a ticket branch, the developer runs this command to confirm the branch is synced, QA evidence is accepted, and then open a properly linked pull request without ever auto-merging. ## Quick Start Ask the agent to open a pull request for the current ticket branch after /implement has finished and the branch has been pushed.

Frequently Asked Questions about to-pull-requests

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

FAQPage Schema
How do I open a pull request for a ticket branch after implementation?▼

Run the to-pull-requests command after /implement has finished and the branch is pushed. It resolves the PR target from the ticket, validates branch state, prepares the PR body, asks for your confirmation, and opens the PR through the tracker CLI.

Why does the pull request command stop before creating the PR?▼

It stops when the branch has uncommitted changes, is not pushed, diverges from its upstream, lacks accepted QA evidence for the current commit SHA, or when the developer has not explicitly confirmed readiness. Each stop condition protects against premature PRs.

Does it merge the pull request automatically?▼

No, it never merges the PR. It returns the PR link and asks whether you want to review it; merging remains a manual developer action, after which ticket closure is verified or performed explicitly.

When does it use Closes versus Related to in the PR body?▼

It uses Closes #ID only when the PR targets the repository default branch, and Related to #ID for any other target such as an integration branch. This prevents the tracker from closing tickets prematurely.

What happens if QA evidence validation fails?▼

The command stops when QA evidence is missing, unaccepted, or tied to a different commit SHA. For projects without a valid orchestration opt-in, it runs /qa-gate instead and stops if that gate fails.