wtpr

Official

Automate end-to-end PRs on git worktrees.

AuthorOpenDCAI
Version1.0.0
Installs0

System Documentation

What problem does it solve?

wtpr automates the full PR submission workflow on git worktrees: automatically identify the active worktree, handle uncommitted changes, rebase to the latest origin/main, force-push, and create or update a GitHub PR when users submit a PR, add commits to an existing PR, or run the wtpr command.

Core Features & Use Cases

  • Automated worktree PR management: detect context, stage changes, rebase, and push with safety checks.
  • PR lifecycle handling: create new PRs or attach new commits to existing ones, with clear status updates.
  • Safe execution: guided conflict resolution and automatic messaging to keep PRs synchronized with origin/main.

Quick Start

Run wtpr in your git worktree to automatically manage PR creation and updates, including rebasing to origin/main and force-pushing when needed.

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: wtpr
Download link: https://github.com/OpenDCAI/leonai/archive/main.zip#wtpr

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 223,000+ vetted skills library on demand.