Skip to main content
Manusで任意のスキルを実行
ワンクリックで

branch-task-sync

スター6
フォーク0
更新日2026年7月4日 11:34

Detect when the current task does NOT match the current git branch, and recommend the right workspace — stay, switch branch, spawn a worktree, or reuse an existing worktree — before any code is written. Then commit, test, and open a PR. Use whenever you start a new piece of work, whenever the task description and the branch name look unrelated, whenever you realize mid-task "I'm on the wrong branch", whenever the current checkout looks contaminated by another advisor's uncommitted work, or before committing to a branch that wasn't created for THIS task. In this multi-agent repo an advisor regularly inherits a checkout left on an unrelated branch (e.g. on `fix/deploy-retry-hardening` while asked to "add a skill") with 20+ uncommitted files from someone else — committing there mixes unrelated work into another advisor's PR. Trigger at the start of every non-trivial task, and again any time the task's intent shifts.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

ファイルエクスプローラー
3 ファイル
SKILL.md
readonly