From claude-resources
Merges current branch into a target branch, pushes if remote exists, then returns to original branch. Useful for syncing work branches without staying on target.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-resources:sync-to <target-branch><target-branch>This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **DO NOT auto-invoke this skill.** This merges and pushes to a remote branch. Always ask for user confirmation before proceeding.
DO NOT auto-invoke this skill. This merges and pushes to a remote branch. Always ask for user confirmation before proceeding.
Merge the current branch into a specified target branch, push if remote exists, then return to the original branch. The source branch remains intact. The target branch is automatically fetched and updated from the remote before merging to avoid stale-branch issues.
Run the bundled script:
bash $HOME/.claude/skills/sync-to/scripts/sync-to.sh $ARGUMENTS
Report the script output to the user verbatim. Do not add extra commentary unless there was an error.
If the script exits with a merge conflict error, immediately stop and ask the user to use /sync-force-to instead. Do not attempt to resolve conflicts manually.
npx claudepluginhub takazudo/claude-resources --plugin claude-resourcesMerges a source branch into the current working branch with preflight checks, conflict handling, optional session documentation, and targeted validation.
Updates Git branch by fetching and merging upstream changes, with intelligent conflict resolution using context from commits and files. Use for syncing branches, pulling latest from main, or resolving PR conflicts.
Syncs git-branchless commit stacks with main branch: fetches remote changes, rebases commits, resolves conflicts, and cleans up after PR merges. Use to keep stacks current or post-PR.