/murnana-unity-package:changelog-write [changes to record, or "release" / a version to cut]from murnana-unity-package
Write or update the CHANGELOG.md of a Unity Package Manager (UPM) package (a folder whose package.json has a reverse-domain name such as com.company.pkg), or cut its release and bump the version in package.json. Use for UPM package changelogs, release notes and releases. Not for npm packages, Claude Code plugins, a Unity project's bundleVersion, or Packages/manifest.json.
Ships in murnana-unity-package. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Write a UPM package's CHANGELOG.md entries that tell package users what they can now do and what was fixed. Follow the project's own rules first, then Unity's package rules, then Keep a Changelog. Add entries to [Unreleased] by default. Cut a release section, and update version in package.json, only when the user asks for one.
Run these first. Each one is safe in an empty repository or one without tags:
git status --short --branch
git describe --tags --abbrev=0 2>/dev/null || true
git remote get-url origin 2>/dev/null || true
Treat $ARGUMENTS (if any) as a hint about which changes to record. Run Step 8 as well only when the argument or request is just a release request or a version ("release", "バージョンを切って", "1.2.0"). If it's ambiguous (e.g. "fixed release notes"), ask.
For a release request, run Steps 1, 2 and 4, then Step 5. If Step 5 finds changes not yet under [Unreleased], draft and approve them (Steps 6–7) first. Then run Step 8.
Copy this checklist into the response and update it as work proceeds:
- [ ] 1 Locate the package and its changelog
- [ ] 2 Discover project rules
- [ ] 3 New file: pick format version, language, versioning; .meta
- [ ] 4 Existing file: read its conventions
- [ ] 5 Collect changes
- [ ] 6 Draft entries
- [ ] 7 Present and get approval → write
- [ ] 8 (Only if asked) Cut a release and update package.json
AskUserQuestion tool, never as a plain-text question at the end of a reply. This includes every "wait for approval" and every "ask how to proceed": show the plan or the failure in the reply, then call AskUserQuestion with options such as 「この内容で進める」 and 「修正する」. The dialog can hide the reply, so say in the question itself, in one line, what is being approved.$ARGUMENTS, the conversation, the files or command output already answer. Where a step gives a default, use it and state it in the plan instead of asking.AskUserQuestion is unavailable (a non-interactive run), don't guess: stop before changing anything and list the questions in the reply.package.json with a reverse-domain name, outside the build and cache folders listed there.package.json or a repository-root changelog.CHANGELOG.md in the same folder as that package.json.Packages/<name>/, or file: references in Packages/manifest.json), pick the one whose paths changed. If several still fit, ask with AskUserQuestion, listing each package's name and path.package.json: name, version, unity, unityRelease, changelogUrl. If changelogUrl points elsewhere, follow references/unity-package.md ("The changelog in the Package Manager") before editing.Check the sources in references/project-rules.md. A project rule overrides anything in this skill and its references: language, categories, version scheme, link format, tag pattern, who owns version. Glob for a candidate file before reading it.
https://semver.org/spec/v2.0.0.html.## [Unreleased]..meta: if package.json.meta exists next to package.json, also create CHANGELOG.md.meta from the template in references/unity-package.md (".meta files"). Get the GUID from uuidgen, then remove the hyphens and lowercase it by hand. Write the .meta before CHANGELOG.md, so an open Editor doesn't generate its own first.[Unreleased].## [x.y.z] heading and its link reference at the bottom, which often names a tag or commit. Check that it matches version in package.json; if they disagree, say so. If there is no heading, use the tag from git describe above. If neither exists, use the whole history (drop the <last-release>.. range) or ask. In a repository with no commits, rely on $ARGUMENTS and the conversation only.$ARGUMENTS and the conversation. If the user described the changes, those come first.git log --oneline --no-merges <last-release>..HEAD -- <package-path>git diff --numstat <last-release>..HEAD -- <package-path>, then git diff -U1 only for the files needed to understand a change. Skip .meta-only churn unless a guid: line changed.git show -s <sha>), gh pr list --state all --search <sha>, gh pr view <n>, and any issue it closes. Record the full URL.package.json for changed unity, unityRelease and dependencies.[Unreleased].Follow references/entry-writing.md. The core rules:
**Breaking:**, add the action users must take..meta churn), don't invent an entry. Leave it out of the draft, list it separately in the Step 7 plan, and ask about all of them in the Step 7 approval call (record them or not), not one by one..meta, for a new one). Group entries by category, in the file's existing order. If the file has no order yet, use the order its Keep a Changelog version recommends (2.0.0: Security, Removed, Changed, Deprecated, Fixed, Added). Omit empty categories. Within a category, put the entries with the most user impact first, **Breaking:** entries before the rest.Do this only when the user asks for a version or release ("release", "バージョンを切って", "1.2.0 にして"). Never do it as a side effect of adding entries. Follow references/release.md:
unity / unityRelease forces at least MINOR.[Unreleased] into ## [x.y.z] - YYYY-MM-DD, and keep (or, per project habit, remove) the empty [Unreleased].version in the package's package.json to the same number, unless release tooling owns it.Present the diff of both files and get approval before writing. Don't create tags or commits; list the tag to create and any publish steps.
git log subjects as entries. One entry often spans several commits, and many commits don't matter to users.v1.1.2 was the newest tag when 2.0.0 was published)..meta GUID or an asmdef setting can break users without any C# change.**Breaking:**: the Package Manager hides the new version from older Editors. Record it under Changed, bump at least MINOR, and mention it in the release summary.CHANGELOG.md belongs at the package root, never in Documentation~/ or Samples~/. Never edit a package under Library/PackageCache/..meta GUID. A new CHANGELOG.md in a package that tracks .meta files needs its own .meta, or immutable installs warn on import.[Unreleased] section at publish and promotion time. Follow the project's habit for whether an empty one stays after a release.YYYY-MM-DD, using today's date at release time, not the date of the last commit.changelogUrl, .meta template, Unity version rules, Unity breaking-change checklist, lifecycle suffixes, Validation Suite:
references/unity-package.mdpackage.json:
references/release.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub murnana/murnana-claude-code-plugin --plugin murnana-unity-package