apply-semantic-versioning

Solid

Apply semantic versioning (SemVer 2.0.0) to determine the correct version bump based on change analysis. Covers major/minor/patch classification, pre-release identifiers, build metadata, and breaking change detection. Use when preparing a new release to determine the correct version number, after merging changes before tagging, evaluating whether a change constitutes a breaking change, adding pre-release identifiers, or resolving disagreement about what version bump is appropriate.

AI & Automation 26 stars 4 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
48
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Apply Semantic Versioning Determine and apply the correct semantic version bump by analyzing changes since the last release. This skill reads version files, classifies changes as breaking (major), feature (minor), or fix (patch), computes the new version number, and updates the appropriate files. Follows [SemVer 2.0.0](https://semver.org/) specification. ## When to Use - Preparing a new release and need to determine the correct version number - After merging a set of changes and before tagging a release - Evaluating whether a change constitutes a breaking change - Adding pre-release identifiers (alpha, beta, rc) to a version - Resolving disagreement about what version bump is appropriate ## Inputs - **Required**: Project root directory containing a version file (DESCRIPTION, package.json, Cargo.toml, pyproject.toml, or VERSION) - **Required**: Git history since the last release (tag or commit) - **Optional**: Commit convention in use (Conventional Commits, free-form) - **Optional**: Pre-release label to apply (alpha, beta, rc) - **Optional**: Previous version if not readable from files ## Procedure ### Step 1: Read Current Version Locate and read the version file in the project root. ```bash # R packages grep "^Version:" DESCRIPTION # Node.js grep '"version"' package.json # Rust grep '^version' Cargo.toml # Python grep 'version' pyproject.toml # Plain file cat VERSION ``` Parse the current version into major.minor.patch components. If the version contains a pr...

Details

Author
pjt222
Repository
pjt222/agent-almanac
Created
1 years ago
Last Updated
today
Language
R
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category