跳到正文
Skillpedia
网站与界面(前端)7.2k · #13354

build-game-changelog

它能做什么

这个技能指导智能体在游戏内构建更新日志,并与真实的发布和版本号相关联。适合希望玩家看到准确更新历史的游戏团队。

适用场景

  • ✓游戏需要游戏内更新日志或版本界面的时候。
  • ✓需要从部署和代码历史中重建过去的发布记录的时候。
  • ✓游戏中显示的版本需要与最新发布相符的时候。

技能链接

https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/build-game-changelog/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/build-game-changelog/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请在游戏中添加一个显示每次发布的更新日志,并确保版本号与最新部署一致。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会从部署和代码历史中读取发布记录,构建一份统一的更新日志,并将其连接到游戏的菜单和关闭控制。它会检查线上游戏是否显示了预期的版本。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Build Game Changelog

Build the changelog as a release system, not a decorative modal. Keep one authoritative ledger connected to production history, game-menu navigation, and release verification.

Use this mental model

  • The ledger is the public record of what players received.
  • A version identifies a successful production release, not a development commit.
  • The newest ledger entry defines the version shown throughout the game.
  • Opening the changelog is a reversible menu-state transition.
  • Every close affordance resolves through the same back action.
  • A release is complete only after the live game proves the expected version and behavior.

Start from truth

Inspect before editing:

  1. Read repository instructions and preserve unrelated work.
  2. Find the game’s menu or pause state machine, back action, input bindings, focus behavior, and responsive layout.
  3. Find every displayed version, package version, build version, deployment sequence, release manifest, and existing changelog.
  4. Query successful production deployments and their source revisions when available.
  5. Compare deployment revisions to identify what players actually received.

Prefer repository, deployment, and live-runtime evidence over chat summaries or commit-message guesses. Do not invent missing release dates, source revisions, features, or version mappings.

Define one release

Treat one successful player-visible production deployment as one changelog version.

  • Do not bump for local commits, drafts, tests, failed builds, or saved-but-unpublished artifacts.
  • Combine multiple commits shipped together into one version with several release notes.
  • Give a separately deployed hotfix its own version.
  • Describe player-visible outcomes, not implementation chores or raw commit messages.
  • Keep internal source and deployment identifiers in ledger metadata, not player-facing copy.

Retain an established version scheme. For a new pre-1.0 game without one, default to 0.9.0 and increment the patch once per production release: 0.9.1, 0.9.2, and so on. Do not jump to a new minor or major version without an explicit product milestone.

Build or backfill the ledger

Work oldest-to-newest when reconstructing history, then store entries newest-first for rendering.

  1. Enumerate successful production releases.
  2. Associate each release with its date, deployed source revision, and deployment identifier.
  3. Diff each source revision against the previous production revision.
  4. Summarize the user-visible changes in that release.
  5. Use the first production baseline as 0.9.0 when adopting the default scheme.
  6. Consolidate meaningful launch work into the baseline if it predates deployment tracking.
  7. Verify the ledger count, ordering, uniqueness, and version continuity.

If evidence is incomplete, mark provenance unknown in internal metadata or stop for clarification. Never fabricate a neat history.

Use one data source

Keep changelog content in typed or schema-validated structured data. Give each entry:

  • version
  • release date
  • short release title
  • one or more player-facing details
  • deployment version or release identifier when available
  • exact source revision when available

Derive the displayed current version from the newest ledger entry. Do not maintain a second hand-written version constant.

Store an explicit mapping between game versions and deployment versions. Only use a formula such as patch = deploymentOrdinal - 1 when the project guarantees it and tests it.

Avoid self-referential source metadata. A commit cannot contain its own final hash. Either:

  • keep the newest inline entry’s source revision pending and backfill it during the next release;
  • inject the exact revision at build time; or
  • store immutable release provenance outside the source commit.

See references/reference-architecture.md when implementing the schema, state machine, or tests.

Integrate with game navigation

Make the changelog an explicit menu route or screen state. Use an overlay only when the game’s existing menu architecture uses overlays.

  • Record the previous menu screen before opening.
  • Make the version control a toggle: closed opens the changelog; open returns to the previous screen.
  • Route the header toggle, visible X, bottom Back action, controller cancel, and Escape through one close or back function.
  • Use the game’s authoritative input-binding layer instead of adding a competing glob
常见问题

它会编造发布日期或功能吗?

不会。技能规定,不得编造缺失的日期、源代码修订或功能。

什么算作一次发布?

一次成功的正式发布,而不是开发阶段的提交。

玩家如何关闭更新日志?

每个关闭选项,例如 Esc 键或返回按钮,都经过同一个返回操作。

详情

作者的原始描述

Design, implement, backfill, audit, and release in-game changelogs with contiguous versioning, deployment provenance, menu-state navigation, accessible toggle, close, and Escape behavior, and responsive release-ledger UI. Use when Codex needs to add or revise a changelog or version screen in a game, reconstruct release history from deployments and Git, define version-bump rules, keep displayed versions synchronized with live builds, or test changelog mechanics across desktop and mobile.

repo: MengTo/Skills

热度

GitHub 星标
7.2k
排名
#13354
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能