Skip to content
Development
Command

/sync-versions

Synchronize package versions across a monorepo for consistent releases.

From plugin
rohitg00-claude-code-toolkit
2.8k199 skills138 agents199 commands
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

Command definition

sync-versions.md

Synchronize package versions across a monorepo for consistent releases.

Steps

1. Read all package manifests in the monorepo workspace. 2. Analyze current version state:

  • List each package and its current version.
  • Check for version mismatches in inter-package dependencies.
  • Identify packages with unreleased changes since last version bump.

3. Determine the versioning strategy:

  • **Fixed**: All packages share the same version (e.g., Angular).
  • **Independent**: Each package versions independently (e.g., Babel).
  • **Grouped**: Packages in groups share versions.

4. For each package with changes, determine version bump:

  • Parse commit messages since last release for that package.
  • Apply semver rules: breaking=major, feature=minor, fix=patch.

5. Update versions:

  • Bump package version in its manifest.
  • Update inter-package dependency versions to match.
  • Update lock file.

6. Generate changelog entries for each bumped package. 7. Commit version bumps and tags.

Format

Version Sync: <strategy>

| Package | Current | New | Changes | Bump |
|---------|---------|-----|---------|------|
| @scope/core | 1.2.0 | 1.3.0 | 5 commits | minor |
| @scope/cli | 1.2.0 | 1.2.1 | 2 commits | patch |
| @scope/ui | 1.2.0 | 1.2.0 | 0 commits | none |

Dependency updates:
  - @scope/cli: @scope/core ^1.2.0 -> ^1.3.0

Commands:
  git tag @scope/core@1.3.0
  git tag @scope/cli@1.2.1

Rules

  • Never publish packages with mismatched inter-package dependency versions.
  • Workspace protocol versions (workspace:*) must resolve to actual versions before publishing.
  • Tag each package release individually for independent versioning.
  • Run the full test suite after version bumps before publishing.
  • Include version bump commits in the changelog.
Read more
@rohitg00
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

2.8k40 skills138 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.8k
Star history of rohitg00/awesome-claude-code-toolkit on GitHub, a chart by star-history.com

Other commands on rohitg00-claude-code-toolkit.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command