用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ranfdev/DistroShelf --skill release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | release |
| description | Prepare the next release of DistroShelf: version bump, release notes, commit, and tag. |
Your task is to prepare the next release for the DistroShelf project:
Analyze changes: Retrieve all commits since the last tag using git log --oneline --reverse $(git describe --tags --abbrev=0)..HEAD. Ensure you get the full list (not truncated).
Categorize changes: From commit messages, identify user-visible changes and classify them using the existing release note convention from data/com.ranfdev.DistroShelf.metainfo.xml.in:
New: — new featuresImproved: — enhancements to existing featuresFix: — bug fixesChanged: — behavior changes or removalsi18n: — translation updates (only note new languages)Ignore internal refactors, dependency bumps, documentation-only changes, and other non-user-facing changes.
Write release notes: Append the new release entry at the top of the <releases> section in data/com.ranfdev.DistroShelf.metainfo.xml.in. Use the existing format:
<release version="X.Y.Z" date="YYYY-MM-DD">
<description translate="no">
<ul>
<li>New: Feature description.</li>
<li>Fix: Bug description.</li>
</ul>
</description>
</release>
Determine version: Follow semver (major.minor.patch) based on the types of changes:
Update version: Bump the version: field in meson.build (line 2) to match.
Commit & Tag: Stage changes, commit with message vX.Y.Z, and create an annotated tag vX.Y.Z:
git add -A && git commit -m "vX.Y.Z"
git tag vX.Y.Z