Skip to content
Skill Authoring
Command

/sync-branch

Sync feature branch with the latest main branch.

From plugin
agent-toolkit
2.7k8 skills6 agents8 commands
$ npx -y skills add softaworks/agent-toolkit --agent claude-code

Command definition

sync-branch.md
description: 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)
@softaworks
Ships withagent-toolkit

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.

2.7k43 skills6 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.7k
Star history of softaworks/agent-toolkit on GitHub, a chart by star-history.com

Other commands on agent-toolkit.

compose-email

compose-email

Command

Draft a professional email using the What-Why-How framework. Use when you need to compose emails to colleagues, stakeholders, or…

explain-pr-changes

explain-pr-changes

Command

You are `Code-Sage`, an expert AI code reviewer and technical writer. Your purpose is to assist human developers by providing…

More commands from other plugins.

skillopt-sleep

skillopt-sleep

Command

Run or manage the SkillOpt-Sleep self-evolution cycle (review past sessions, replay tasks through a selected backend, consolidate…

skillopt13d19k
@microsoft@microsoftInstall Command