ralph-merge

Merge RALPH worktree changes into the main branch with optional squash.

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/doravidan/supreme-ralph --skill ralph-merge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ralph-merge
Source: https://github.com/doravidan/supreme-ralph/tree/main/templates/global/skills/ralph-merge
Command: npx skills add https://github.com/doravidan/supreme-ralph --skill ralph-merge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Merge completed RALPH worktree changes back to the main branch, unifying autonomous development artifacts.

Core Features & Use Cases

  • Merge a selected RALPH worktree into the main branch with a single command.
  • Preview changes, optionally squash commits, and handle merge conflicts gracefully.
  • Use cases include finalizing autonomous features and syncing worktree changes for release.

Quick Start

Run /ralph-merge to begin. If multiple worktrees exist, choose the target worktree from the prompted list, then confirm the merge to main or opt for --squash to consolidate commits.

Frequently Asked Questions about ralph-merge

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

FAQPage Schema
How do I merge a completed worktree back into the main branch?

To merge a worktree into the main branch, run the merge command to list available worktrees, select your target, and confirm the operation to integrate changes back into main.

Can I squash commits when merging a worktree to main?

Yes, you can squash commits when merging a worktree to main by using the --squash option, which consolidates all worktree commits into a single commit during the integration.

How does merge conflict resolution work when integrating worktrees?

Merge conflict resolution during worktree integration provides prompts to handle conflicts gracefully, allowing you to address discrepancies between the worktree and the main branch before finalizing.

What is the best way to preview changes before merging a worktree?

The best way to preview changes before merging a worktree is to use the built-in merge preview feature, which validates available worktrees and displays pending changes prior to execution.

Does merging a worktree clean up the worktree after integration?

Yes, merging a worktree includes optional post-merge cleanup, meaning you can configure the process to automatically remove or clean up the worktree after changes are integrated into main.

How do I select a specific worktree when multiple worktrees exist?

To select a specific worktree when multiple exist, initiate the merge command and choose your desired target worktree from the prompted list of available, validated worktrees before confirming.

Related Skills