Skip to content
semantic-versioning logo

Semantic Versioning

semantic-versioning

Determine whether a version bump is required after code changes and apply semantic versioning (SemVer). Use when making code changes, fixing bugs, adding features, or introducing breaking changes to a project that uses SemVer.

heikopanjas/agent-skills0installs0stars

SKILL.md

Full skill instructions

Semantic Versioning

After making code changes, determine whether a version bump is required and which component to increment.

Version Format: MAJOR.MINOR.PATCH

PATCH (X.Y.Z -> X.Y.Z+1)

Increment for changes that do not affect the public API:

  • Bug fixes and minor corrections
  • Performance improvements
  • Documentation updates
  • Internal refactoring

MINOR (X.Y.Z -> X.Y+1.0)

Increment for backward-compatible additions:

  • New features
  • New CLI commands or options
  • New public API surface

Reset PATCH to 0 when incrementing MINOR.

MAJOR (X.Y.Z -> X+1.0.0)

Increment for breaking changes:

  • Removal of features or commands
  • Incompatible API changes
  • Changes that require user action or code updates

Reset MINOR and PATCH to 0 when incrementing MAJOR.


Process

  1. Review the changes made
  2. Classify the change using the guide in shared/​commit-conventions.md
  3. Find the current version in the project manifest (e.g. Cargo.toml, package.json)
  4. Map the classification to a version bump (see below)
  5. Increment the appropriate version component
  6. Include the version bump in the same commit as the code change
  7. Mention the version bump in the commit message footer if significant

Do not create a separate commit for the version bump. It belongs with the change that caused it.


Classification to Version Bump

ClassificationBump
Non-breaking fix, refactor, docs, perfPATCH
Non-breaking featureMINOR
Breaking changeMAJOR

More skills from heikopanjas

commit-changes logo
heikopanjas/agent-skills

commit-changes

Commit specific staged changes to a git repository using conventional commits format. Use when the user asks to commit, stage, or check in particular files or changes.

0 0
View
c++-conventions logo
heikopanjas/agent-skills

c++-conventions

C++ coding conventions and best practices for modern C++ development. Use when writing, reviewing, or refactoring C++ code to ensure consistency with project standards, const-correctness, RAII principles, and C++23 features.

0 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View