Back to list
ongspxm

merge-worktree

by ongspxm

mtai skills repo

0🍴 0📅 Jan 22, 2026

SKILL.md


name: merge-worktree description: Merge or cherry-pick a worktree branch back into the repo root using a single renderer script.

Merge Worktree

Use this skill when a worktree contains changes that must be merged into the default branch at the repo root. This workflow is driven by a single renderer script in the repo root.

Quick Start

  1. Run bash <path-to-skill>/render-instructions.sh from the working dir.
  2. Follow the steps in the rendered instructions to merge or cherry-pick.

Workflow

  1. Print the instructions with fields substituted.
  2. Run the commands in order, using git -C <worktree_path> for worktree ops.
  3. Resolve conflicts line-by-line with apply_patch only.
  4. Verify git status is clean, then remove the worktree shown in the output (not the repo root).

Helper Script

Use render-instructions.sh to render the instruction template with current repo values (for example bash <path-to-skill>/render-instructions.sh).

Score

Total Score

40/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon