Skip to content
Back to skills

Sync To

ASecurity

Merge current branch into a target branch and return. Use when user says 'sync to', 'merge into', 'push changes to branch', or wants to sync their work branch into another branch without leaving the current branch.

  • 12 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
documentationbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add Takazudo/claude-resources --skill sync-to --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sync To?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sync To
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/takazudo-sync-to/badge)](https://www.skillsdirectory.com/skills/takazudo-sync-to)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sync-to
description: "Merge current branch into a target branch and return. Use when user says 'sync to', 'merge into', 'push changes to branch', or wants to sync their work branch into another branch without leaving the current branch."
argument-hint: <target-branch>
allowed-tools: Bash(bash *)
---

> **DO NOT auto-invoke this skill.** This merges and pushes to a remote branch. Always ask for user confirmation before proceeding.

# sync-to

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.

## Usage

Run the bundled script:

```bash
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.

## Conflict handling

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.

Files in this skill

  • SKILL.md1.1 KB
  • scripts/sync-to.sh4.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.