sky-map-changelog-assistant
Fully automated release note generator for Sky Map. Just provide the last tag.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Sky Map Release Assistant
Procedures
1. Data Retrieval
- When a user provides a tag (e.g., "v2.1.0"), execute:
python3 tools/generate_changelog.py [TAG] - This returns a JSON object with
release_date,commits,closed_issues, andmerged_prs. -
Do not ask the user for a date. Use the
release_dateprovided by the tool.
2. Pre-flight: Read Existing Output Files
Before drafting, read both output files if they exist:
-
app/src/main/res/values/whatsnew_content.xml -
fastlane/metadata/android/en-US/changelogs/default.txt
This skill may be run multiple times before a release. Treat the existing content as cumulative output from previous runs — preserve all existing items and only add changes not yet covered.
3. Synthesis Logic
- Prefer
merged_prsdescriptions over raw commit messages — PR authors write summaries for review. - Match commit messages to issue numbers where helpful.
- Prioritize issue titles over commit messages for clarity.
- Re-evaluate the best items across all changes since the tag (not just new ones) when updating
default.txt. - If the user provides additional instructions (e.g., "focus on UI"), prioritize those items.
4. Output Generation
Target A: whatsnew_content.xml in app/src/main/res/values/
- Use
<h2>for each feature heading followed by a short descriptive paragraph. - Only use
<ul><li>to group multiple minor items under a single heading. - Keep it concise. If possible, ensure the "Support Sky Map" section (appended separately) stays above the fold, but this is not a hard requirement.
Target B: Fastlane metadata default.txt under fastlane/metadata/android/en-US/changelogs
-
STRICT TOTAL LIMIT: 350 CHARACTERS — verify with
wc -mafter writing. - Use
<b><font color="#F67E81">Section</font></b>headings to group items. - Select the most impactful 2-3 changes from the full set since the tag.
- Provide the character count at the end.
Target C: Markdown for a release on GitHub.
-- The output should be prepended to the CHANGELOG.md file and use GitHub markup. -- The release notes here can be more thorough and detailed that targets A and B. -- The target audience is users who are developers themselves or who are comfortable installing the app from other other sources than the Google Play Store.
Instructions
- Always perform the Python tool call first before drafting.
- Always read existing output files before writing (see Pre-flight above).
- Never report internal refactors or chore-level commits to the user.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-03-11
- 索引更新时间
- 2026-03-11
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!