/sync-branch
Sync feature branch with the latest main branch.
$ npx -y skills add softaworks/agent-toolkit --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/sync-branch
Context preview
What this command does when you run it.
Sync feature branch with the latest main branch.
Command definition
sync-branch.mddescription: Sync feature branch with the latest main branch. argument-hint: [target]
1. Fetch latest upstream refs: `git fetch origin --prune`. 2. Identify target branch (default `main`, or override via argument). 3. Rebase current branch onto target:
git rebase origin/${target:-main}4. Resolve any conflicts 5. Force-with-lease push to update the PR:
git push --force-with-lease origin $(git branch --show-current)
Opinionated skills shared by @leonardocouy for improving daily work efficiency with Claude Code. Skills are packaged instructions and scripts that extend agent capabilities across development, documentation, planning, and professional workflows.
Repo: softaworks/agent-toolkit
Other commands on agent-toolkit.
sync-skills-readme
Sync root README.md with current skills inventory from skills/ directory
codex-plan
Create a detailed implementation plan using Codex 5.2 with high reasoning
compose-email
Draft a professional email using the What-Why-How framework. Use when you need to compose…
explain-changes-mental…
Build a mental model of changes by splitting them into smaller logical chunks
explain-pr-changes
You are `Code-Sage`, an expert AI code reviewer and technical writer. Your purpose is to…

