npx claudepluginhub jacobpevans/claude-code-plugins --plugin git-workflowsThis skill uses the workspace's default tool permissions.
Update the local `main` branch from remote and merge it into the current working branch,
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Update the local main branch from remote and merge it into the current working branch,
or all open PR branches when using the all parameter.
| Usage | Scope |
|---|---|
/sync-main | Current branch only |
/sync-main all | All open PR branches |
CURRENT REPOSITORY ONLY - This command never crosses into other repositories.
git branch --show-current, git status --porcelain
cd ~/git/<repo>/main && git fetch --all --prune && git pullgit fetch origin maingit log --oneline HEAD..origin/main (informational only)git merge origin/main --no-edit
git push origin $(git branch --show-current)Report sync status for all open PR branches.
gh repo view --json nameWithOwnergh pr list --state open --json number,headRefName,titlesuperpowers:dispatching-parallel-agents). Each checks if behind main. Do NOT merge or push.behind (not conflict) in step 5,
merge origin/main using git merge origin/main --no-edit. Branches already classified as conflict
in step 5 are skipped entirely — no merge is attempted on them, so no git merge --abort is needed.
No confirmation required.Read files, understand both versions, combine intelligently, stage resolved files, commit.
--theirs or --ours