Use when a user wants to inspect, diagnose, declare, refresh, rebase, compose, save integration strategies for, export, or import local Git branch stacks with the installed `weaver` CLI. Prefer this skill over raw `git` for stack-aware operations such as `stack`, `deps`, `status`, `doctor`, `update`, `sync`, `compose`, `integration`, `group`, `export`, and `import`.
Use this skill when the repository has the weaver command installed and the task is about local branch stacks rather than generic Git history editing.
Invoke the installed binary as weaver. Do not default to ./bin/weaver unless the user explicitly wants the in-repo build artifact.
weaver is available on PATH.weaver init.If weaver is missing, stop and tell the user it is not installed instead of guessing a fallback workflow.
Use raw git only for supporting inspection, such as checking branch names, showing logs, or verifying repository state around a Weaver command.
weaver stack <branch> --on <parent> to declare dependencies.weaver unstack <branch> to remove a declaration.weaver deps [branch] to inspect chains or the full tree.weaver status when stack-parent health labels matter. This view is local-only and compares each branch to its declared parent or base, not to its Git upstream.weaver status --upstream when the user wants upstream drift instead. This mode fetches remote refs and compares each tracked branch to its configured upstream without fast-forwarding local branches.weaver doctor when the user wants a read-only diagnostic pass.weaver update ... when the user wants to fetch remotes and fast-forward local branches to their upstream refs before any stack rebase.weaver update --integration <name> when the branch set should follow a saved shared integration strategy.weaver status if the user wants to understand risk first.weaver sync [branch] for the actual ordered rebase.weaver sync [branch] --merge when the stack branches already have open PRs or reviewed history that should not be rewritten; this preserves history, fast-forwards when possible, and otherwise creates the normal merge commit.weaver continue after resolution or weaver abort to restore the original branch.weaver compose ... --dry-run when the user wants preview or safety first.--group, --integration, or --all.weaver integration save <name> --base <branch> <branch...>.weaver integration doctor <name> when the user wants to know whether a saved integration is coherent before composing it.weaver compose --integration <name> ... when the base and branch set should come from the saved strategy instead of being repeated manually.weaver compose ... --skip <branch> when one branch should be left out temporarily for manual follow-up.--skip, expect weaver compose to prompt for skip or abort when a branch conflicts.skip prompt, let the compose finish, and then merge that branch manually onto the integration branch produced by --create or --update.weaver compose ... --base <branch> --create <integration-branch>.weaver compose ... --base <branch> --update <integration-branch>.--create and --update, so use weaver integration branch list to inspect them and weaver integration branch delete <name> to clean them up later.weaver integration branch list distinguishes:
composed branches included during compose,
branches merged later after being skipped,
and skipped branches still pending manual follow-up.weaver integration save <name> --base <branch> <branch...> to create or update a reusable integration strategy.weaver integration show <name> or weaver integration list to inspect saved strategies.weaver integration doctor <name> when the strategy may have foreign ancestry, drift, or suspicious merge history.weaver integration export <name> --json to share one strategy directly.weaver integration import <file> to restore one shared strategy in another clone.weaver export to serialize dependencies, groups, saved integrations, and tracked integration branches.weaver import <file> to restore them in another clone.weaver stack operations with hand-edited .git/weaver/* files unless the user explicitly asks for manual repair.--dry-run.--integration is selected, do not also invent a manual branch list or --group selection in the same command.--create or --update afterward. Only fall back to removing it from the compose or integration entirely when the branch is so unstable that even skip-and-manual-merge is not a good short-term workflow.weaver init only when that matches the user’s intent.Read references/commands.md when you need exact command syntax or example invocations.