version-bumped
OfficialPrevent accidental Maven Local overwrites.
System Documentation
What problem does it solve?
This Skill verifies that a feature branch has advanced its publishing version so that local/published artifacts for the same version cannot be unintentionally overwritten.
Core Features & Use Cases
- Strict version-advance guard: Blocks when
version.gradle.kts’s publishing version is unchanged or decreased compared to the configured base ref. - Deterministic version key discovery: Extracts the publishing version key from Gradle build scripts (or uses
VERSION_BUMPED_KEYwhen provided) and compares versions via a strict greater-than check. - Optional auto-recovery workflow: When blocked (exit code 1), it invokes
/bump-versionand then re-runs the check once to confirm recovery.
Use case: On a feature branch with commits that include both code changes and a retry-ready version bump, ensure publishToMavenLocal won’t overwrite the artifact version that integration tests in consumer repos may rely on.
Quick Start
Run version-bumped on the current branch to confirm the Gradle publishing version is strictly greater than the base ref, or auto-recover by triggering the bump when it is not.
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: version-bumped Download link: https://github.com/SpineEventEngine/validation/archive/main.zip#version-bumped Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.