一键导入
changelog
Generate a draft CHANGELOG entry for the next release from merged GitHub pull requests. Asks the user for the target version before starting.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a draft CHANGELOG entry for the next release from merged GitHub pull requests. Asks the user for the target version before starting.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | changelog |
| description | Generate a draft CHANGELOG entry for the next release from merged GitHub pull requests. Asks the user for the target version before starting. |
This skill produces a working draft, not a finished changelog. The output is a starting point to make the task easier — the maintainer must review, edit and refine every entry before committing.
Generate a draft entry for CHANGELOG.md based on the pull requests merged since the last published release.
If you can modify files, insert the new entry into CHANGELOG.md as described below. Otherwise, output the completed block ready to be inserted manually.
Before doing anything else, ask the user:
What will the version number and type be for this release? Examples:
v4.0.0-rc2,v4.0.1,v4.1.0-beta1
Wait for the answer. Use that value verbatim for the heading — do not infer or calculate it from the existing CHANGELOG.
The release date is today's date in YYYY-MM-DD format.
Fetch the latest release to get the cut-off timestamp:
gh release view --repo exelearning/mod_exeweb --json tagName,publishedAt
Record:
tagName — the git tag of the last release (e.g. v4.0.0-rc1).publishedAt — the ISO timestamp used to filter merged PRs.gh pr list \
--repo exelearning/mod_exeweb \
--state merged \
--search "merged:>YYYY-MM-DDTHH:MM:SSZ" \
--json number,title,body,labels,mergedAt \
--limit 200
Replace the timestamp with the
publishedAtvalue from step 1.
If the result reaches the limit, continue fetching additional pages until all merged PRs have been processed.
For each PR, read:
title — the PR headline.body — the full description. This is the primary source; many PRs bundle several unrelated changes under a single title.labels — supporting context only. When labels conflict with the PR body, prefer the PR body.mergedAt — for verification if needed.If a PR body references issues with Closes #NNN or Fixes #NNN, fetch them too:
gh issue view NNN --repo exelearning/mod_exeweb --json title,body
Follow the exact style of the existing changelog entries in CHANGELOG.md.
One sentence per bullet. Start with a capital letter; no trailing full stop.
Describe the outcome for users, not the implementation.
Sort iDevice: exercises with identical cards are now correctly validatedFixed a bug in the validation logic of SortIdevice.jsUse component prefixes only when they improve clarity and match the style already used in the changelog (e.g. TinyMCE:, File Manager:).
Avoid technical jargon unless it is already common in the existing changelog (e.g. blob:, asset://, SCORM).
Dependency upgrades: package-name: OLD → NEW (lowercase, →, no extra words).
Group related entries together.
## vX.Y.Z-type – YYYY-MM-DD
- …
- …
CHANGELOG.mdInsert the new block immediately after the # CHANGELOG heading, before the previous version entry.
# CHANGELOG
## vX.Y.Z-type – YYYY-MM-DD
…
…
## v4.0.0-rc1 – 2026-04-07
…
Do not modify any existing content below the insertion point.
After generating the entry, tell the user:
⚠️ This is a draft. Please review every entry before committing:
- Check that descriptions are accurate and clear for end users.
- Merge or remove redundant entries.
- Add anything the PRs may not have described explicitly.
## v4.0.1 – 2026-06-09
- Show the eXeLearning "Edit" button on the activity view when "Display" is set to "In pop-up", "Open" or "New window".
- Remove the legacy "In frame" display option and migrate existing activities to "Embed" during upgrade.
- Fix embedded editor version detection in release packages so the correct eXeLearning version is reported.
- Improve accessibility by updating embedded content frame titles dynamically based on the activity and page title.
- Exclude development files from release packages.
- Update the README to clarify Moodle compatibility, editor modes and support information.
- Automatically install and configure the embedded editor in Playground environments.