Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates CHANGELOG.md entries for new upgrade versions by parsing init.go and upgrade.go under upgrades/software/.
Use this skill ↓64% 59%−5 ptsof test cases passed
Passed 13 of 22 test cases with the skill, and 14 of 22 without it.
3 of 3 safety checks passed
Generate changelog entries in upgrades/CHANGELOG.md for any upgrade version under upgrades/software/ that doesn't already have an entry.
Find semver directories — list all directories under upgrades/software/ whose names match v<major>.<minor>.<patch> (e.g., v2.0.0, v1.0.0).
Read upgrades/CHANGELOG.md — identify which versions already have entries by scanning for ##### vX.Y.Z headings. If a version already has a heading, skip it entirely.
For each new version (no existing heading), gather data from two files:
upgrades/software/<version>/init.goFind all utypes.RegisterMigration(...) calls. Each call has the form:
utypes.RegisterMigration(moduleName, version, handlerFn)
moduleName is a Go constant (e.g., dv1.ModuleName). Resolve it:
dv1 "pkg.akt.dev/go/node/deployment/v1")ModuleName constant definition to get the actual string valueversion is a uint64 — this is the from version. The to version is version + 1.moduleName version -> version+1upgrades/software/<version>/upgrade.goFind the StoreLoader() method. It returns a *storetypes.StoreUpgrades struct with optional fields:
Added: []string{...} — new storesRenamed: []storetypes.StoreRename{...} — renamed storesDeleted: []string{...} — removed storesIf StoreLoader() returns nil, there are no store changes.
For each store key constant (e.g., epochstypes.StoreKey, ttypes.ModuleName):
Insert the new entry in upgrades/CHANGELOG.md immediately after the line:
Add new upgrades after this line based on the template above
Next to this one in the catalogue, plus more from the same author.