用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/tomes --skill release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | release |
| description | > Use when this capability is needed. |
You are preparing a new release of the Calculator Plus Android app. Follow every step below in order. Do not skip steps or reorder them.
Project root: C:\Users\pc\Documents\github\Calculator-Plus
Read CHANGELOG.md. The first ## vX.Y.Z heading is the last released
version. Note this version string (e.g. 2.7.0).
You need the commit that represents the start of work after that last release so you can collect only the new changes.
Try in order until one works:
Check for a git tag matching the version:
git tag --list "v{last_version}"
If it exists, use it as the baseline: git log v{last_version}..HEAD --oneline
If no tag, search the git log for the CI version-bump commit for that version:
git log --oneline --grep="bump version to {last_version}"
Use the hash of that commit as the baseline:
git log {hash}..HEAD --oneline
If still nothing, use the full git log --oneline and visually find the
last release boundary (look for a "bump version to {last_version}" commit).
Run:
git log {baseline}..HEAD --oneline
Filter out these — they carry no useful changelog information:
ci: bump version to X.Y.Z commitsMerge branch ... / Merge pull request ...)For every remaining commit (feat, fix, build, refactor, chore, docs, UI), get the full detail:
git show {hash} --stat
For commits that touch source files (not just docs/config), also read the full commit body:
git log -1 {hash} --format="%B"
Build a map of:
Look at the current versionName in app/build.gradle
(defaultConfig.versionName). This may already be ahead of the last
release if the user bumped it manually.
Apply this logic to suggest the next version:
feat: commit (new user-visible feature) → bump the minor version
(e.g. 2.6.x → 2.7.0)fix:, build:, chore:, ci: commits → bump the patch version
(e.g. 2.6.0 → 2.6.1)Show the user:
vX.Y.ZX.Y.ZX.Y.Z (with one-line reason)Ask: "What should the new version number be?"
Wait for the user's answer before proceeding.
Edit app/build.gradle. Find the line inside defaultConfig {}:
versionName "X.Y.Z"
Change it to the version the user confirmed.
Never touch version.properties — VERSION_CODE is managed exclusively
by CI via the bumpVersionCode Gradle task.
Insert a new section at the top of CHANGELOG.md, immediately after the
# Changelog heading and before the previous ## vX.Y.Z section.
### New Features### Bug Fixes### UI### Build & Toolchain### Dependencies### CI & ToolingAGP 9.2.0 → 9.2.1, not just "upgraded AGP")ci: bump version to X.Y.Z commits entirely--- divider after the new section to separate it from the previous one## v2.8.0
### New Features
- Added scientific notation toggle in Settings (`SettingsActivity`,
`AppPreference.SCIENTIFIC_NOTATION`)
### Bug Fixes
- **Theme crash on Android 16**: Migrated `BaseTheme` from
`Theme.MaterialComponents` to `Theme.Material3.DayNight.NoActionBar` —
`MaterialToolbar` requires `colorSurfaceContainer` which M2 does not define
### Build & Toolchain
- Upgraded AGP 8.11.1 → 9.2.0; Gradle wrapper 8.13 → 9.4.1
- Enabled R8 minification and resource shrinking; APK size 14.85 MB → 4.72 MB
### Dependencies
- `firebase-bom` 34.0.0 → 34.13.0
- `play-services-ads` 24.5.0 → 24.8.0
---
This file is published to the Google Play Store and read by end users.
🎉 Calculator Plus vX.Y.Z is here!emoji Short label — one plain sentence🎉 Calculator Plus v2.8.0 is here!
✨ Scientific notation — results now display in scientific format when needed
📱 Android 16 support — fully compatible with the latest Android
⚡ Faster & lighter — app loads quicker and takes less storage
🔧 Under the hood improvements for better stability and performance
Overwrite the entire file with the new content.
Show the user a concise summary of every file changed:
app/build.gradle — versionName updated to X.Y.ZCHANGELOG.md — new ## vX.Y.Z section added at the topdocs/whatsnew/whatsnew-en-GB — updated for the new releaseThen ask: "Do you want me to commit these changes?"
If yes, stage only these three files and commit:
chore: prepare release vX.Y.Z
Do not push — the user triggers the GitHub Actions release workflow manually from the Actions tab.
version.properties — CI owns VERSION_CODE./gradlew bumpVersionCode — CI does this during the release workflowCHANGELOG.mdwhatsnew-en-GBwhatsnew-en-GBSource: arch10/Calculator-Plus — distributed by TomeVault.