land-pr

Community

Safely land PRs and clean up branches

AuthorMoonBoi9001
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Finishes a pull request and performs branch cleanup to avoid orphaned branches and stale remote-tracking refs, reducing manual git/GitHub CLI steps and human error when closing PRs.

Core Features & Use Cases

  • Detects chained or dependent pull requests that target the current branch and warns to avoid closing dependent work.
  • Merges the PR using a selectable strategy (default squash, or rebase if requested) and deletes the remote branch.
  • Switches to the PR base branch, fetches and pulls updates, and prunes stale remote-tracking references to keep the local repo tidy.
  • Use case: finish a feature branch after review by merging, removing the branch, and ensuring the main branch is up to date.

Quick Start

Land the current pull request using a squash merge, delete the branch, and return to the base branch.

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: land-pr
Download link: https://github.com/MoonBoi9001/claude-code-cli-tools/archive/main.zip#land-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.