원클릭으로
worktree-merge
Merge worktree branches back to main. Gathers context from specs/plans, merges, cleans up.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Merge worktree branches back to main. Gathers context from specs/plans, merges, cleans up.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Long-running iterative development loops. Run arbitrarily-long tasks without diluting model attention. Triggers: ralph, ralph loop, iterative loop, long-running task, development loop.
Full compactor reference — tool parameters, anti-patterns, sandbox languages, context budget, workflows.
Diagnostics — validate config, session DB, runtimes, and troubleshoot compactor issues.
Context management — compact session, recall history, run code, search content.
Stats display — context savings, session metrics, compactions, sandbox and recall/search counters.
Helps you use the /unipi:btw side-conversation workflow effectively. Use when you want to think in parallel, ask side questions without interrupting ongoing work, or inject a side thread back into the main agent.
| name | worktree-merge |
| description | Merge worktree branches back to main. Gathers context from specs/plans, merges, cleans up. |
Merge completed worktree branches into main. Gather context from docs before merging.
Note: Only needed when work was done in a worktree (plan workbranch set). If work was on main branch directly, skip this — changes already on main.
Before merging, read existing specs and plans to understand what each worktree was implementing:
.unipi/docs/specs/ (if exists).unipi/docs/plans/ (if exists)This context helps during merge conflicts and in the final report.
main branch: git branch --list mainmaster: git branch --list masterIf branches provided in args:
git branch --list <name>If no branches provided:
git worktree list.unipi/worktrees/ paths onlygit status)For each source branch (in dependency order if specs indicate ordering):
git checkout maingit merge <branch> --no-editgit worktree remove .unipi/worktrees/<branch-name>git branch -d <branch>Merge Summary:
✓ feat/auth — merged (auth system implementation from specs/auth-system.md)
✓ fix/login-bug — merged (login fix from plans/bugfix-login.md)
✗ feat/dashboard — CONFLICT in src/dashboard.ts, skipped
Worktrees cleaned: 2 removed
Branches deleted: 2
/unipi:consolidate to save learnings/unipi:worktree-merge/unipi:document to update docs