|
| 1 | +--- |
| 2 | +name: mc-changelog |
| 3 | +description: Write a hand-authored release changelog for a Concord mod — the player-facing notes published verbatim to GitHub, Modrinth, and CurseForge when a `changelogs/<version>.md` file is present, replacing the AI-generated notes. TRIGGER when creating or editing any file under a `changelogs/` directory, when preparing a milestone release (e.g. 1.0.0), or when the user mentions writing release notes / a changelog / "what to put in the changelog". |
| 4 | +--- |
| 5 | + |
| 6 | +Most releases ship AI-written notes: the release workflow rewrites the merged |
| 7 | +pull requests into player-facing prose. A **hand-authored changelog overrides |
| 8 | +that** — commit `changelogs/<version>.md` (the version with no `v` prefix, e.g. |
| 9 | +`changelogs/1.0.0.md`) and the workflow publishes it **verbatim** to GitHub, |
| 10 | +Modrinth, and CurseForge and does not run the model. Reach for it when a release |
| 11 | +deserves curation the PR list can't give it: a `1.0.0` milestone, a headline |
| 12 | +feature, a breaking change players must act on. |
| 13 | + |
| 14 | +Because it ships verbatim to three store fronts, the file *is* the public release |
| 15 | +notes. There is no editor between you and the player — write it as the finished |
| 16 | +artifact. |
| 17 | + |
| 18 | +## Who reads it, and from where |
| 19 | + |
| 20 | +Players, on a store page or the in-launcher update card — not developers reading |
| 21 | +a diff. They are deciding "should I update, and what changes when I do." The |
| 22 | +changelog answers that and nothing else. It renders as Markdown on all three |
| 23 | +platforms (CurseForge is told `changelogType: markdown`). |
| 24 | + |
| 25 | +## Shape |
| 26 | + |
| 27 | +Open with **one or two sentences** naming what the release is about, then group |
| 28 | +changes under the three fixed headings. Omit any section that would be empty. |
| 29 | + |
| 30 | +```markdown |
| 31 | +Trading stalls get a full rework this release, plus the crash some of you hit on |
| 32 | +empty stalls is gone. |
| 33 | + |
| 34 | +## Added |
| 35 | +- Stall search bar — filter a villager's offers by item name. |
| 36 | +- A "favorite" star on any offer; favorites float to the top. |
| 37 | + |
| 38 | +## Changed |
| 39 | +- Restock timer shortened from 20 to 12 minutes. |
| 40 | +- Trade GUI now shows the exact emerald count, not a rounded stack icon. |
| 41 | + |
| 42 | +## Fixed |
| 43 | +- Crash when opening a stall with no stocked offers. |
| 44 | +- Prices no longer reset after a server restart. |
| 45 | +``` |
| 46 | + |
| 47 | +Headings are exactly `## Added`, `## Changed`, `## Fixed`, in that order — the |
| 48 | +same vocabulary the AI notes use, so a reader can't tell a hand-written release |
| 49 | +from a generated one by its shape. Keep it tight: a handful of bullets per |
| 50 | +section at most. If a section would run long, you are probably listing commits, |
| 51 | +not changes — collapse them to the player-visible outcome. |
| 52 | + |
| 53 | +## What goes in |
| 54 | + |
| 55 | +- **Player-visible changes only** — new content, changed behavior, fixed bugs |
| 56 | + someone actually hit. If a player would never notice it, it does not belong. |
| 57 | +- **The outcome, in their words.** "Villagers restock twice as fast," not |
| 58 | + "reduced `RESTOCK_INTERVAL` constant." Name the block/item/screen as it appears |
| 59 | + in-game. |
| 60 | +- **Action they must take**, up front, when a release needs it — a config reset, |
| 61 | + a world backup, a now-incompatible dependency. Breaking changes lead; players |
| 62 | + should not discover them from a crash. |
| 63 | +- **The lead sentence** — the one thing to know before the bullets. It is the |
| 64 | + part most likely to be read. |
| 65 | + |
| 66 | +## What stays out |
| 67 | + |
| 68 | +- **Developer/CI jargon:** commit hashes, PR numbers, branch names, author |
| 69 | + handles, "bumped Loom," "refactored the registry," version bumps of build |
| 70 | + tooling, green-CI notes. None of it means anything on a store page. |
| 71 | +- **Invented or inflated changes.** Describe only what actually shipped in this |
| 72 | + version — never round a small fix up into a headline feature, and never list |
| 73 | + something you *plan* to do. The changelog is a record, not a roadmap. |
| 74 | +- **Internal-only work** with no player-facing effect: test coverage, code |
| 75 | + cleanup, doc edits, mixin reshuffles. Real work, wrong audience — it lives in |
| 76 | + the git history, not the release notes. |
| 77 | +- **Duplication of the store description.** The changelog is what changed *this |
| 78 | + version*, not a re-pitch of the whole mod (that is `site/listing-*.md`). |
| 79 | +- **Sign-offs, preambles, and tool banners** — no "Here are the release notes," |
| 80 | + no "Generated by," no "Thanks for playing" footer. Start at the lead sentence, |
| 81 | + end at the last bullet. |
| 82 | + |
| 83 | +## Version-scheme fit |
| 84 | + |
| 85 | +The filename must match the release tag exactly, minus the `v`: tag `v1.2.0` → |
| 86 | +`changelogs/1.2.0.md`. A pre-release keeps its suffix — tag `v1.0.0-rc1` → |
| 87 | +`changelogs/1.0.0-rc1.md`. A mismatched or missing filename means the workflow |
| 88 | +never sees the file and silently falls back to AI notes, so the release ships |
| 89 | +generated prose instead — check the name before tagging. See the **Version |
| 90 | +scheme** and **Release notes** sections of `AGENTS-COMMON.md`. |
| 91 | + |
| 92 | +## Guardrails |
| 93 | + |
| 94 | +- **Always** write for players: describe the in-game outcome, never the code |
| 95 | + change or the commit that made it. |
| 96 | +- **Always** name the file `changelogs/<version>.md` with the exact tag version |
| 97 | + minus `v`, or the workflow falls back to AI notes without warning. |
| 98 | +- **Never** include commit hashes, PR numbers, author handles, branch names, or |
| 99 | + CI/build jargon — they render verbatim on the store page. |
| 100 | +- **Never** invent, inflate, or pre-announce changes; list only what shipped in |
| 101 | + this version. |
| 102 | +- **Never** add a preamble, sign-off, or "generated by" banner — the file ships |
| 103 | + exactly as written, so its first line is the first line players read. |
| 104 | +- Use only `## Added`, `## Changed`, `## Fixed`, in that order, omitting empty |
| 105 | + sections — the same shape as the generated notes. |
0 commit comments