Upgrade changelog

From akash-network/node · View interactive version

Upgrade changelog is an AI agent skill from the GitHub repository akash-network/node. Generates CHANGELOG.md entries for upgrade versions found in upgrades/software/ by parsing init.go and upgrade.go

How to use this skill

Skill file

Instructions

Generate changelog entries in upgrades/CHANGELOG.md for any upgrade version under upgrades/software/ that doesn't already have an entry.

Steps

  1. Find semver directories — list all directories under upgrades/software/ whose names match v<major>.<minor>.<patch> (e.g., v2.0.0, v1.0.0).
  1. 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.
  1. For each new version (no existing heading), gather data from two files:

### 3a. Parse upgrades/software/<version>/init.go

Find all utypes.RegisterMigration(...) calls. Each call has the form:

```go

utypes.RegisterMigration(moduleName, version, handlerFn)

```

1. Find the import alias (e.g., dv1 "pkg.akt.dev/go/node/deployment/v1")

2. Search the imported package for ModuleName constant definition to get the actual string value

### 3b. Parse upgrades/software/<version>/upgrade.go

Find the StoreLoader() method. It returns a *storetypes.StoreUpgrades struct with optional fields:

If StoreLoader() returns nil, there are no store changes.

For each store key constant (e.g., epochstypes.StoreKey, ttypes.ModuleName):

1. Find the import alias in the file

2. Search the imported package for the constant definition to get the actual string value

  1. Insert the new entry in upgrades/CHANGELOG.md immediately after the line:

```

Add new upgrades after this line based on the template above

```

followed by -----.

Use this format (newest entries go first, right after the delimiter):

```markdown

##### vX.Y.Z

###### Description

```

Omission rules (match existing CHANGELOG style):

  1. Report results — list each version processed and what was added. For skipped versions (already in CHANGELOG), mention they were skipped.

Important notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.