Changelog

From MillenniumDawn/Millennium-Dawn · View interactive version

Changelog is an AI agent skill from the GitHub repository MillenniumDawn/Millennium-Dawn. Add the branch's changes to Changelog.txt under the current version, then tidy and deduplicate it with merge_changelog.py. Use when asked to update the changelog, add changelog entries, clean up duplicate or repeated entries, or refresh the beta or release changelog pages. Optional version argument

How to use this skill

Skill file

Summarize all changes on the current branch compared to main and add them to Changelog.txt. Then let tools/merge_changelog.py tidy, sort, and check for duplicates.

Optional argument: a version string (e.g. v1.13.0) to start a new version heading above the current top-most one. Without it, entries go under the existing top-most version.

Requested arguments: $ARGUMENTS

Steps:

  1. Decide whether the branch needs a line. Skip Changelog.txt and say why when:
  1. Get the branch diff and commit history:

```

git log origin/main..HEAD --oneline

git diff origin/main...HEAD --stat

git diff origin/main...HEAD

```

  1. Read the current version of Changelog.txt (everything above the second vX.Y heading). Run python3 tools/merge_changelog.py --preview. Note the category headings, and any entry that already covers part of this branch's change.

Only use categories that already exist in the file. Do not invent new names. If a change doesn't fit any existing category, use the closest match. Typical categories: Achievements, AI, Balance, Bugfix, Content, Database, Factions, Game Rules, Graphics, Localization, Map, Map Modes, Performance, Quality of Life, Sound, Technology, User Interface. Focus on user-facing and gameplay changes. Omit internal refactors unless they have a real performance or correctness impact.

  1. Write each entry:

What NOT to write:

  1. Insert the entries under the top-most version, in their existing categories. Don't hand-sort or fix spacing; --fix does both. Do not create a new version heading unless $ARGUMENTS contains a version string. If it does, add the heading above the current top-most one. Before you do, ask whether to write the finished version's release page first (see Docs pages).
  1. Run python3 tools/merge_changelog.py --fix. It does all of this:

Resolve every warning by keeping the entry in the category that fits best.

  1. Run python3 tools/merge_changelog.py --preview again. Clear each finding that includes your entries:

Report findings that involve only other entries. Do not rewrite them unless asked. Finish with python3 tools/linting/check_changelog.py, which must print nothing.

  1. After merging main into the branch, rerun steps 6 and 7 and commit the result. A union merge leaves new lines unsorted.

Docs pages (only when asked):

Report the lines added or extended, any skip and its reason, and any warnings or preview findings left.

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.