Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic

branch-task-sync

Étoiles6
Forks0
Mis à jour4 juillet 2026 à 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.

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

Explorateur de fichiers
3 fichiers
SKILL.md
readonly