用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/sky-map-team/stardroid --skill skymap-release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Update the Sky Map splash screen for a new planetary release. Composites a portrait image onto the base splash with a branded strip. Use when asked to "update splash", "add splash for X release", or "create release branding". ARGUMENTS: "<ReleaseName> <path/to/source.png> [crop x1,y1,x2,y2]"
Use when asked to respond to, reply to, or draft replies for Google Play Store reviews for Sky Map. Triggers on "respond to reviews", "reply to reviews", "draft review replies", or any request to handle user feedback from the Play Store.
Add a new deep-sky object or special object to Sky Map's catalog from a Wikipedia URL or user-supplied data. Handles all four required files. Trigger on "add object", "add nebula/galaxy/cluster", "add <object name> to Sky Map", etc. ARGUMENTS: "[wikipedia_url_or_object_name]"
基于 SOC 职业分类
正在显示 SKILL.md
| name | skymap.release |
| description | Make a new release of Sky Map and publish it to the Play Store. |
This skill does all the steps involved in making a major or minor release of Sky Map. This skill might make use of other skills and it has some overlap with the skymap.deploy-play-store skill. Some steps might require input from the user.
app/build.gradle, and suggest a release name by inferring the pattern from recent git tags (e.g. planets, constellations, stars) — but confirm both with the user before proceeding, since the theme may change.bundle exec fastlane android bump_version name:"<version>:<ReleaseName>"
# e.g. bundle exec fastlane android bump_version name:"1.14.0:Jupiter"
skymap.release-splashscreen skill for this.Ask the user if they need to:
skymap.sponsors skill)skymap.contributors skill)skymap.whatsnew skill) for the app, the fastlane update and the github changelogbeta_user_help_text string in app/src/main/res/values/whatsnew_content.xml is filled with instructions for beta testers during the beta period, and must be cleared to an empty string before a full release. Check if it has content; if so, set it to empty. It does not exist in other locales so no action is needed there.fastlane/metadata/android/<locale>/changelogs/default.txt file for every non en-US locale (delete the file entirely — Step 4 will regenerate them via translation).whatsnew_content.xml files in non en-US locales (i.e. app/src/main/res/values-<locale>/whatsnew_content.xml). Delete the files entirely — Step 4 will regenerate them.If the user declined to regenerate what's new text, skip steps 3.2 and 3.3 entirely and skip Step 4.
Before running any translation commands, show the user the current content of
app/src/main/res/values/whatsnew_content.xml and fastlane/metadata/android/en-US/changelogs/default.txt
and ask: "Does this look good to translate?" Do not proceed until you receive explicit approval.
Prerequisites: tm must be installed globally (which tm). If missing, install it from the translationmanager project:
pip install -e /path/to/translationmanager
The project has a .tmconfig.toml already configured. Run all tm commands from stardroid-v1/.
Check current coverage to see what's missing:
tm languages
Translate all primary languages (covers both Android XML strings and fastlane changelogs):
tm translate --all-primary
To translate a single locale: tm translate de-DE
To preview without calling the LLM: tm translate --all-primary --dry-run
After primary translation, also translate fastlane changelogs for all supported locales (not just primary ones — Play Store serves changelogs to every locale it supports):
tm translate --all --source fastlane
Locales already translated by --all-primary will be skipped automatically.
If you only need to retranslate the what's new content and changelogs (e.g. after Step 3 deletions):
tm translate --all-primary --file whatsnew_content.xml
tm translate --all --source fastlane
Spot-check a few locales for structural issues (no LLM needed):
tm validate de-DE
tm validate fr-FR
skymap.deploy-play-store skill to build and upload a new bundle and store metadata to the internal track.
Note: the internal fastlane lane automatically increments versionCode in app/build.gradle. Do not commit before this step — the Step 6 commit captures everything including this bump.After getting explicit confirmation from the user:
In all commands below, substitute <version> and <ReleaseName> with the values confirmed in Step 1 (e.g. 1.14.0 and Jupiter).
Update ../CHANGELOG.md for this release. If the skymap.whatsnew skill was run (Step 2.3), it will have prepended content without a version heading — add the heading now. If it was not run, add a new entry manually based on commits since the last release (git log <last-tag>..HEAD --oneline):
## [<version>] <ReleaseName> - YYYY-MM-DD
<img src="stardroid-v1/assets/splashscreens/<version>_<name_lowercase>_icon.png" width="80" alt="<ReleaseName>" />
### Added / Fixed / Changed
- ...
Use today's date. The heading must include the release name (confirmed in Step 1), and must be
followed by a small circular icon image saved in Step 1.3.
Icon filenames must include the version (<version>_<name_lowercase>_icon.png, e.g. "1.16.1:Caelus" → 1_16_1_caelus_icon.png).
This ensures different sub-releases of the same name have distinct, versioned icons.
Omit the image only if no source graphic was saved for this release. The CHANGELOG format follows
Keep a Changelog.
Commit all changes from Steps 1–5 (version name, version code bump, splash, sponsors, contributors, whatsnew content, translations, CHANGELOG) in a single commit to master:
git add -A
git commit -m "Prepare <version>:<ReleaseName> release"
git push origin master
Tag the commit:
git tag v<version>
git push origin v<version>
Build the signed release APK:
./build.sh
The signed APK will be at app/build/outputs/apk/gms/release/app-gms-release.apk.
Extract the release notes for this version from ../CHANGELOG.md (the section between the new heading and the previous one) and upload the GitHub release:
# Substitute the actual version number in the awk pattern
awk '/^## \[<version>\]/{flag=1; next} /^## \[/{flag=0} flag' ../CHANGELOG.md \
| sed '/^[[:space:]]*---[[:space:]]*$/d' \
> /tmp/release_notes.md
gh release create v<version> \
app/build/outputs/apk/gms/release/app-gms-release.apk \
--title "Sky Map <version>: <ReleaseName>" \
--notes-file /tmp/release_notes.md
Important: the CHANGELOG's <img> tag (if present) uses a path relative to the repo root
(), which does not resolve inside a standalone GitHub
release description. Before creating the release, rewrite that path to an absolute
URL pinned to the commit just pushed in step 2, so the icon
keeps rendering even if the file is later renamed or moved:
Before promoting, pause and explicitly ask the user to confirm that the internal build has been reviewed and tested. Do not proceed until you receive explicit approval.
Once approved:
bundle exec fastlane android promote_to_alphabundle exec fastlane android promote_to_betastardroid-v1/assets/splashscreens/...raw.githubusercontent.comcommit=$(git rev-parse HEAD)
sed -i '' "s#stardroid-v1/assets/splashscreens/#https://raw.githubusercontent.com/sky-map-team/stardroid/${commit}/stardroid-v1/assets/splashscreens/#" /tmp/release_notes.md
Run this substitution before the gh release create command above.