Skip to content
Back to skills

Managing Versions

ASecurity

Use when bumping a package version, cutting a release, or finding which packages changed version. Triggers on semver bumps (patch, minor, major, prerelease), propagating a version to workspace dependents, a CHANGELOG from conventional commits, or comparing package versions between two git refs, even when the user doesn't say 'semver' or 'version'.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
ai-agentsgogit

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned November 30, 2026

npx -y skills add xonovex/platform --skill managing-versions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Managing Versions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Managing Versions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xonovex-managing-versions/badge)](https://www.skillsdirectory.com/skills/xonovex-managing-versions)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: managing-versions
description: "Use when bumping a package version, cutting a release, or finding which packages changed version. Triggers on semver bumps (patch, minor, major, prerelease), propagating a version to workspace dependents, a CHANGELOG from conventional commits, or comparing package versions between two git refs, even when the user doesn't say 'semver' or 'version'."
---

# Versioning Guidelines

Bump versions, propagate them across a workspace, and record changelogs: following Semantic Versioning and Conventional Commits.

## Core Principles

- **Semantic Versioning**: bump MAJOR/MINOR/PATCH by the change's compatibility and reset the lower fields; a pre-release sorts below its release, see [references/semver.md](references/semver.md)
- **Range-preserving propagation**: when the new version falls outside a dependent's range, rewrite that range in place keeping `^`/`~`/`workspace:` and patch-bump the unbumped non-private dependent, transitively; an in-range dependent stays untouched unless an always-bump policy is explicit, see [references/version-bump.md](references/version-bump.md)
- **Idempotent bumps**: skip a package that is already bumped, keying the signal on the right baseline (committed diff before commit, registry/tag after), see [references/version-bump.md](references/version-bump.md)
- **Changelog from intent, newest-first**: prepend a leveled entry; never paste raw git logs, see [references/changelog.md](references/changelog.md)

## Operations

- **version-bump**: compute the next version, propagate to workspace dependents, write a changelog entry, see [references/version-bump.md](references/version-bump.md)
- **version-detect**: list packages whose version changed between two git refs, see [references/version-detect.md](references/version-detect.md)

## Gotchas

- Overwriting a dependent's `^1.2.0` with a bare `1.3.0` strips the caret and the `workspace:` protocol: splice the version into the range, keep the operator
- Git-diff idempotency silently re-bumps once the previous bump is committed: change the "already done" signal after commit
- Propagating only to direct dependents leaves transitive dependents with stale ranges: recurse or re-run in topological order
- `\w`/`\d+` regexes mis-validate versions (they allow `_` and leading zeroes and reject valid multi-field pre-releases): match the real grammar or use a semver library

## Progressive Disclosure

- Read [references/version-bump.md](references/version-bump.md) - Load when bumping a version and propagating the change to dependents
- Read [references/version-detect.md](references/version-detect.md) - Load when detecting which packages changed version between two refs
- Read [references/semver.md](references/semver.md) - Load when computing the next version, validating a version string, or handling pre-releases
- Read [references/changelog.md](references/changelog.md) - Load when generating or updating a changelog entry from commits

Files in this skill

  • SKILL.md2.9 KB
  • eval-output.json3.4 KB
  • eval-trigger.json3.8 KB
  • moon.yml86 B
  • references/changelog.md2.1 KB
  • references/semver.md2.1 KB
  • references/version-bump.md3.6 KB
  • references/version-detect.md1.6 KB
  • sources.json4.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.