draft-pr

Community

Open draft PRs across jj and git repos.

Authorjorgeavaldez
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Draft PRs across JJ/Jujutsu and Git repositories enable early feedback and consistent review, but they can be error-prone when head/base conventions differ or when workflows aren’t enforced.

Core Features & Use Cases

  • Detect repository type: JJ (Jujutsu) vs Git and apply the correct --head rule for each.
  • Base branch selection: Automatically determine base branch (main or master) with a safe fallback.
  • Draft PR creation: Create the draft PR using gh pr create --draft --head and --base, and report the PR URL.
  • Use Case: When you want to open a draft PR from the current branch or bookmark to gather early feedback.

Quick Start

Open a draft PR for the current JJ bookmark or Git branch using the correct head and base settings.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: draft-pr
Download link: https://github.com/jorgeavaldez/pi-config/archive/main.zip#draft-pr

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.