Bump versions
Bump dependency versions in Gradle version catalogs, Kotlin Toolchain catalogs, and Maven POMs using caupain or the Maven Versions Plugin.From its SKILL.md
npx -y skills add sureshg/skills --skill bump-versionsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.4 KB, 820 tokens by cl100k_base, as published. Nobody here has run it
Bump Versions
Update project dependency versions to their latest stable releases using the right tool for each build system.
Detect the Build System
Before updating anything, identify which build system the project uses:
gradle/libs.versions.toml→ Gradle version catalog (docs)libs.versions.tomlat the project root alongsidemodule.yaml→ Kotlin Toolchain version catalog (docs)pom.xml→ Maven project (docs)
If multiple build systems coexist, update each one independently.
Gradle Version Catalog
Use caupain to discover available updates, then apply them to the catalog. On
macOS, install via brew install deezer/repo/caupain.
- Run
caupainin the project root. - Update only version values in the
[versions]section ofgradle/libs.versions.toml. - Preserve exact formatting — quotes, spacing, alignment, line order.
- Never modify
.gradle.ktsor.gradlebuild files. - Never run Gradle builds for validation.
# Before
kotlin = "2.3.0"
# After
kotlin = "2.4.0"
Kotlin Toolchain Version Catalog
Use caupain with the root-level catalog, then update both the catalog and Kotlin Toolchain module/project files.
- Run
caupain -i libs.versions.tomlin the project root. - Update version values in
libs.versions.toml(at the project root, not undergradle/). - After updating the catalog, scan all
module.yaml, template yaml files (referenced viaapply:inmodule.yaml), andproject.yamlfor inline version values that match a bumped version, and update them to match. - Preserve exact formatting — quotes, spacing, alignment, line order.
- Never modify Kotlin Toolchain build config beyond version bumps.
# libs.versions.toml — Before
kotlin = "2.3.0"
# libs.versions.toml — After
kotlin = "2.4.0"
# module.yaml — Before
settings:
kotlin:
version: 2.3.0
# module.yaml — After
settings:
kotlin:
version: 2.4.0
Maven POM
Use the Maven Versions Plugin to discover available updates, then apply them to pom.xml.
- Run
./mvnw clean versions:display-dependency-updates versions:display-plugin-updates versions:display-property-updatesin the project root. - Update only
<properties>values inpom.xmlwith the reported latest versions. - Preserve exact formatting — indentation, tag style, line order.
- Never run any other Maven commands for validation.
<!-- Before -->
<kotlin.version>2.3.20</kotlin.version>
<!-- After -->
<kotlin.version>2.3.21</kotlin.version>
Rules
- Always use the appropriate tool (
caupainormvnw versions:) to discover latest versions — never manually check Maven Central or GitHub. These tools handle transitive compatibility and release metadata far more reliably than manual lookups. - Only change version values. Never alter keys, property names, dependency coordinates, or structural formatting.
- Prefer stable releases over pre-release/beta unless the project already uses a pre-release version for that dependency.
- Make no other changes to the codebase beyond version bumps.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.