Release
Execute the difit release workflow when the user says "リリース" or asks to cut a release.
by yoshiko-pg · MIT
The skill
Execute the difit release workflow when the user says "リリース" or asks to cut a release. Update CHANGELOG Unreleased from commits since latest tag, ask for explicit OK confirmation in Japanese, then release by moving the confirmed Unreleased section verbatim as the exact source of truth.
Release Workflow
Follow this workflow for the current repository.
Prepare changelog draft
- Run
./scripts/get-changes-since-tag.sh. - Categorize changes into these sections as needed:
Added,Changed,Deprecated,Removed,Fixed,Security,Thanks. - Use script output rules:
- Use GitHub username from script output.
- Exclude
yoshiko-pgandrenovate[bot]fromThanks. - Include PR numbers when available.
- Order bullets with PR numbers by ascending PR number within each section, and list multiple PR numbers within a bullet in ascending order.
- Use commit subject and body for categorization.
- Consolidate routine dependency-only updates, including grouped dependency updates, package manager bumps, and ordinary individual dependency bumps, into a single
Changedbullet formatted as- Update dependencies (#123 #124 #125); keep a separate bullet only when the dependency change is clearly user-facing beyond routine maintenance.
- Write the categorized content into
CHANGELOG.mdunder## [Unreleased]. - Ask for user confirmation in Japanese.
Release after explicit OK
- The only allowed
CHANGELOG.mdedits after OK are:- insert the new version heading with today's date directly below
## [Unreleased] - place the captured
Unreleasedbody under that new heading unchanged - leave
## [Unreleased]empty - update the bottom compare links for
Unreleasedand the new version
- insert the new version heading with today's date directly below
- Run
npm version --no-git-tag-version patch. - Move current
Unreleasedcontent into a new version section with today's date. - Update bottom links:
- Update
Unreleasedcompare link to new version tag. - Add compare link for the new version.
- Update
- Commit
CHANGELOG.mdandpackage.jsonwith an English message:chore: release vX.Y.Z. - Create tag
vX.Y.Z. - Push
mainand tags:git push origin main --tags. - If push is rejected by non-fast-forward:
- Run
git pull --rebase origin main. - Retry
git push origin main --tags.
- Run
- Build release notes from the new version section text in
CHANGELOG.md. - Create GitHub release on origin:
gh release create vX.Y.Z --title "vX.Y.Z" --notes-file <notes-file>
Output to user
- Respond in Japanese.
- Report updated files, created tag, and GitHub release URL.
- Mention if any recovery step was required (for example, rebase due to non-fast-forward).
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: yoshiko-pg/release-11109544742.
Details
- Publisher
- yoshiko-pg
- Category
- Software Development › DevOps & cloud
- License
- MIT
- Updated
- 2026-08-29
References
More from yoshiko-pg
- Difit Dev Ask the user for a code review through difit after code changes in this repository, using `pnpm r…
- Difit Review A skill for reviewing a specific diff and showing the findings as comments inside difit (the diff…
- Vscode Release Execute the VS Code extension release workflow when the user asks to publish/release the difit VS…
- Difit Review Review a specific diff (branch, commit, or GitHub PR) and show the findings as comments inside di…