
Sync
Pull the latest remote branch fast when you say /sync or want a safe stash-or-commit flow before git pull.
Overview
Sync is an agent skill for the Build phase that safely pulls the latest changes from origin (or upstream) with pre-flight checks and a clear sync report.
Install
npx skills add https://github.com/october-academy/agent-plugins --skill syncWhat is this skill?
- Slash command shortcuts: /sync, /sync develop, /sync upstream for fork workflows
- Pre-sync gate: stash, commit-first via /cp, or discard only after explicit confirmation
- Supports git pull and git pull --rebase on origin main by default
- Structured post-pull report: commits pulled, files changed, conflict status
- Conflict playbook: list files, assist resolution, add and commit after fix
Adoption & trust: 1.2k installs on skills.sh; 2/3 security scanners passed (skills.sh audits).
What problem does it solve?
You want the newest remote commits without accidentally overwriting uncommitted work or guessing which pull command to run.
Who is it for?
Solo builders who sync main or develop several times a day and want stash-or-commit guardrails baked into the agent.
Skip if: Teams that need automated CI deploys, release tagging, or pull requests without any local git commands.
When should I use this skill?
User says /sync, 동기화, pull, git pull, or wants latest changes from remote (default origin main).
What do I get? / Deliverables
Your local branch matches the chosen remote tip with conflicts and commit counts spelled out so you can keep coding or resolve merges immediately.
- Sync summary (commits pulled, files changed, conflicts)
- Resolved or flagged merge state
Recommended Skills
Journey fit
Git sync is a daily build-time habit while you implement features and merge team changes—not a launch or growth task. PM-style repo hygiene (status check, stash, rebase pull, conflict report) fits the build/pm shelf for solo builders coordinating with origin or upstream.
How it compares
Use instead of typing ad-hoc git pull in chat without a status check or conflict checklist.
Common Questions / FAQ
Who is sync for?
Indie developers and small teams using agent-assisted coding who want a /sync shortcut with Korean and English triggers.
When should I use sync?
During Build when starting a session, before rebasing a feature branch, or when syncing a fork from upstream after others merged.
Is sync safe to install?
It only orchestrates standard git commands; review the Security Audits panel on this Prism page and confirm discard paths before letting an agent run checkout .
SKILL.md
READMESKILL.md - Sync
# Sync Skill Quick git synchronization with remote repository. ## Usage ### Commands ```bash /sync # Pull from origin main /sync develop # Pull from origin develop /sync upstream # Pull from upstream main (forks) ``` ### Korean Triggers - "동기화" - "원격에서 가져와" - "풀 받아" ## Workflow ### 1. Pre-sync Check ```bash git status ``` If working directory has uncommitted changes: **Options:** 1. **Stash**: `git stash` → sync → `git stash pop` 2. **Commit first**: Suggest using `/cp` 3. **Discard**: Only if user confirms with `git checkout .` ### 2. Fetch and Pull Default (origin main): ```bash git pull origin main ``` With rebase (cleaner history): ```bash git pull --rebase origin main ``` ### 3. Report Results After successful sync: ``` Synced with origin/main - 3 commits pulled - Files changed: 5 - No conflicts ``` ## Handling Conflicts If merge conflicts occur: 1. List conflicting files 2. Offer to help resolve 3. After resolution: `git add <files>` → `git commit` ## Common Scenarios ### Fork Workflow ```bash # Add upstream if not exists git remote add upstream <original-repo-url> # Sync with upstream git fetch upstream git merge upstream/main ``` ### Diverged Branches If local and remote have diverged: ```bash # Option 1: Merge (default) git pull origin main # Option 2: Rebase (cleaner) git pull --rebase origin main # Option 3: Reset (destructive, ask user) git fetch origin git reset --hard origin/main ``` ## Error Handling | Error | Solution | |-------|----------| | "Uncommitted changes" | Stash or commit first | | "Merge conflict" | Help resolve conflicts | | "Remote not found" | Check `git remote -v` |