land-branch

Community

Land a feature branch in one smooth flow.

Authorjkomoros
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Land a feature branch: pull from main, rebase the branch, create a PR, and merge it via rebase with automatic branch deletion. Use when ready to land a completed feature branch.

Core Features & Use Cases

  • Prerequisites: You should be on a feature branch with all changes committed and the feature ready to merge.
  • Step 1: Verify Branch State: Use ./scripts/verify-branch to ensure you’re not on main and there are no uncommitted changes.
  • Step 2: Pull and Rebase onto Main: Use ./scripts/rebase-main to fetch, rebase, and push with safe force.
  • Step 2.5: Check for Downstream Dependencies: If changes affect other patterns, automatically detect and warn about downstream imports.
  • Step 2.6: Update Pattern READMEs: Ensure related README.md files reflect changes.
  • PR & Merge: Create a PR and enable auto-delete on merge for clean history.

Quick Start

  1. Confirm ready branch: ./scripts/verify-branch
  2. Rebase onto main and push: ./scripts/rebase-main
  3. After successful rebase, create PR and enable auto-delete on merge.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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-branch
Download link: https://github.com/jkomoros/community-patterns/archive/main.zip#land-branch

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