بنقرة واحدة
changelog-entry
Preview or apply CHANGELOG.md entries for local commits not yet pushed to origin/main
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Preview or apply CHANGELOG.md entries for local commits not yet pushed to origin/main
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | changelog-entry |
| description | Preview or apply CHANGELOG.md entries for local commits not yet pushed to origin/main |
| disable-model-invocation | true |
Use scripts/release.py to generate and optionally apply CHANGELOG.md entries for commits that exist locally but have not yet been pushed to origin/main.
Find unpushed commits:
git log origin/main..HEAD --format="%H %s" --no-merges
If there are none, report "No unpushed commits — nothing to add." and stop.
For each commit (oldest first), determine what entry it would produce:
_COMMIT_TYPE_TO_SECTION in scripts/release.py (feat→Added, fix→Fixed, perf/refactor/docs→Changed, ci/chore/test/style/build/wip→Maintenance, security→Security; unknown types default to Changed)_is_skippable_commit would return True (merge commits, "chore: update [Unreleased] changelog")Print a preview table like:
Section | Entry
-------------|------
Fixed | - prevent crash on reconnect
Maintenance | - update CI workflow
Ask the user: "Apply these entries to CHANGELOG.md now? (y/n)"
If yes: for each non-skippable commit, run:
COMMIT_MSG="<full commit message>" \
COMMIT_SHA="<full sha>" \
COMMIT_AUTHOR_LOGIN="<git config user.name or empty>" \
GITHUB_REPOSITORY="dewet22/givenergy-modbus" \
GITHUB_SERVER_URL="https://github.com" \
uv run python scripts/release.py append
Run commits in chronological order (oldest first).
Confirm how many entries were written and show the updated ## [Unreleased] section from CHANGELOG.md.
changelog.yml) runs this automatically on push — this skill is for previewing or applying entries locally before pushing.scripts/release.py to preserve consistent formatting.chore: update [Unreleased] changelog are always skipped — they are the bot's own changelog commits.