pr-handoff-agent-run

Push an implementation branch and open or update a pull request linked to the source issue.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ai212983/gh-csi --skill pr-handoff-agent-run
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-handoff-agent-run
Source: https://github.com/ai212983/gh-csi/tree/main/skills/pr-handoff-agent-run
Command: npx skills add https://github.com/ai212983/gh-csi --skill pr-handoff-agent-run

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines handing off implementation work from an issue to a pull request while preserving the local implementation branch, ensuring high-quality PR metadata, and keeping explicit linkage to the source issue.

Core Features & Use Cases

  • Build PR title and body from the current discussion and issue context using shared PR metadata policy prompts.
  • Inspect open PRs for the same branch and decide whether to reuse, amend, or create a new PR while enforcing strict-copy validation.
  • Enforce a required PR body template with Summary, Validation, Risks, file path references, and explicit issue linkage, then run the gh-csi handoff workflow to publish or update the PR.
  • Use Case: When a developer or agent is ready to "make a PR", run the skill to draft a validated PR, link it back to the source issue, and keep working on the same branch.

Quick Start

Tell the agent to make a PR while on the implementation branch so it drafts a validated title and body, checks for existing PRs, and runs the handoff workflow.

Frequently Asked Questions about pr-handoff-agent-run

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

FAQPage Schema
How do I open a pull request from an implementation branch while keeping the branch checkout?

To open a pull request while keeping your branch, the skill pushes the implementation branch and creates or reuses a PR linked to the source issue, preserving your local checkout during the workflow handoff.

Can I update an existing GitHub pull request for the same branch automatically?

Yes, you can update an existing GitHub pull request automatically. The skill inspects open PRs for content compatibility and applies idempotent updates, deciding whether to reuse, amend, or create a new PR.

How do I link a GitHub pull request to a source issue during PR automation?

To link a GitHub pull request to a source issue, the skill enforces a required PR body template with explicit issue linkage, ensuring validated PR metadata is maintained throughout the handoff workflow.

What is required to draft a validated pull request title and body for issue handoff?

Drafting a validated pull request requires explicit title and body inputs following shared PR metadata policies. The body must include a Summary, Validation, Risks, file path references, and explicit issue linkage.

Does GitHub PR automation work without switching branches?

Yes, GitHub PR automation can work without switching branches. This skill explicitly preserves the local implementation branch checkout while running the handoff workflow to publish or update the PR.