.claude/skills/sync/SKILL.md
Merge target into current branch and push to origin. The ONLY command that pushes.
npx skillsauth add the-agency-ai/the-agency .claude/skills/syncInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Merge target into current branch and push to origin. This is the only command that pushes to a remote. Requires explicit confirmation. Never rebases. See claude/REFERENCE-GIT-MERGE-NOT-REBASE.md.
origin/master).Run git fetch origin.
Run git log --oneline origin/{current-branch}..HEAD (if remote tracking exists) or git log --oneline {target}..HEAD.
Show the commits that will be pushed.
Ask the user:
Merge {target} into {branch} and push to origin/{branch}?
Do not push without explicit confirmation.
Run git merge {target}. Handle conflicts (show, ask user to resolve or abort).
Run ./claude/tools/git-push {branch}.
Never raw git push. The tool validates the target (blocks main/master) and is the only authorized push path. Raw git push is blocked by hookify.
Sync complete:
Branch: {branch}
Pushed: N commits to origin/{branch}
Base: {target}
business
Sync worktree with master — merge, copy settings, run sandbox-sync, report changes
tools
List all git worktrees with status info (branch, clean/dirty, deps)
tools
Remove a git worktree and optionally delete its branch
development
Create a new git worktree with dedicated branch and bootstrapped dev environment