release
Bump version, update CHANGELOG, tag, push โ triggers release workflow
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Bump version, update CHANGELOG, tag, push โ triggers release workflow
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Process issues sequentially: /dev per issue in isolated sub-agent โ CI wait โ merge โ next
E2E development: investigate โ dig โ decompose โ implement โ test โ review โ PR
Break a task into ordered subtasks with dependencies
Investigate codebase for an issue in a forked context (context isolation)
Clarify ambiguities in plans with structured questions and auto-decide rules
Audit codebase for tech debt, code quality, and architecture issues โ then create GitHub Issues
| name | release |
| description | Bump version, update CHANGELOG, tag, push โ triggers release workflow |
| argument-hint | <version> (e.g. 2.1.0) or major | minor | patch |
| user-invocable | true |
| disable-model-invocation | true |
| allowed-tools | ["Bash(git add:*)","Bash(git commit:*)","Bash(git push:*)","Bash(git tag:*)","Bash(git diff:*)","Bash(git log:*)","Bash(git status)","Bash(gh run:*)","Glob","Grep","Read","Edit","AskUserQuestion"] |
Bump version across all platforms, update CHANGELOG.md, commit, tag, and push to trigger the release workflow.
Arguments: "$ARGUMENTS"
Read androidApp/build.gradle.kts and extract:
versionName (e.g. "2.0.0") โ current semverversionCode (e.g. 4) โ current build numberParse $ARGUMENTS:
2.1.0): Use as-is. Validate semver format (X.Y.Z).patch: Increment Z (e.g. 2.0.0 โ 2.0.1)minor: Increment Y, reset Z (e.g. 2.0.0 โ 2.1.0)major: Increment X, reset Y and Z (e.g. 2.0.0 โ 3.0.0)AskUserQuestion to ask:
New versionCode = current versionCode + 1.
X.Y.Z where X, Y, Z are non-negative integersandroidApp/build.gradle.ktsUse Edit to update:
versionCode = {old} โ versionCode = {new}versionName = "{old}" โ versionName = "{new}"desktopApp/build.gradle.ktsUse Edit to update:
packageVersion = "{old}" โ packageVersion = "{new}"iosApp/iosApp/Info.plistUse Edit to update:
<key>CFBundleShortVersionString</key> followed by <string>{old}</string> โ <string>{new major.minor}</string><key>CFBundleVersion</key> followed by <string>{old}</string> โ <string>{new versionCode}</string>Note: CFBundleShortVersionString uses X.Y format (no patch), CFBundleVersion uses the versionCode integer.
Read the file and find the ## [Unreleased] section.
If the [Unreleased] section has content:
## [Unreleased] header with empty content below it[Unreleased] and the previous version:## [Unreleased]
## [{new version}] - {YYYY-MM-DD}
{content that was under [Unreleased]}
If the [Unreleased] section is empty:
Find the [Unreleased]: link and update:
[Unreleased]: https://github.com/rioX432/CivitDeck/compare/v{old}...HEAD
โ [Unreleased]: https://github.com/rioX432/CivitDeck/compare/v{new}...HEAD[{new}]: https://github.com/rioX432/CivitDeck/compare/v{old}...v{new}Use AskUserQuestion to present:
Release v{new version} (versionCode: {new code})
Version updates:
- androidApp: versionName={new}, versionCode={new code}
- desktopApp: packageVersion={new}
- iOS: CFBundleShortVersionString={X.Y}, CFBundleVersion={new code}
CHANGELOG: [Unreleased] content moved to [{new}] - {date}
Proceed with commit, tag, and push?
Wait for user confirmation. If denied, stop.
git add androidApp/build.gradle.kts desktopApp/build.gradle.kts iosApp/iosApp/Info.plist CHANGELOG.md
git commit -m "Bump version to {new version}"
No Co-Authored-By, no AI stamps.
git tag v{new version}
git push && git push --tags
This triggers the .github/workflows/release.yml workflow.
gh run list --workflow=release.yml --limit 1
Print:
Release v{new version} initiated.
Tag: v{new version}
Workflow: {run URL or "check https://github.com/rioX432/CivitDeck/actions"}
The release workflow will build:
- Android signed APK
- macOS DMG
- Windows MSI
- Linux DEB
Artifacts will be attached to the GitHub Release when complete.
| Situation | Action |
|---|---|
| Invalid version format | Ask user to re-enter |
| New version <= current version | Warn and ask user to confirm or re-enter |
| CHANGELOG.md not found | Warn, skip changelog update, continue |
| Info.plist not found | Warn, skip iOS version update, continue |
| Git push fails | Report error, do not retry |
| Workflow not triggered | Print manual check URL |