neelsatyavolu

Sync Dev — Testing skill for Claude Code

Testing community

Merge all local feature branches into the dev branch for local testing.

How to install Sync Dev

Installs to ~/.claude/commands/neelsatyavolu-agmux-sync-dev.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/neelsatyavolu/agmux/HEAD/.claude/commands/sync-dev.md -o ~/.claude/commands/neelsatyavolu-agmux-sync-dev.md

Restart Claude Code, or start a new session, for it to be picked up.

What Sync Dev does

Merge all local feature branches into the `dev` branch for local testing.

Steps:

  1. Run git branch --list 'feat/*' 'fix/*' 'refactor/*' 'chore/*' 'docs/*' to find all feature branches.
  2. If no dev branch exists, create it from master: git checkout -b dev master
  3. If dev exists, check it out and reset it to master: git checkout dev && git reset --hard master
  4. For each feature branch found, merge it into dev: git merge --no-edit
    • If a merge conflict occurs, auto-res

Alternatives in Testing

Full documentation available on GitHub

View Source Repository