用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vfarcic/dot-ai-controller --skill dot-ai-tag-release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | dot-ai-tag-release |
| description | Create a release tag based on accumulated changelog fragments. Run when ready to cut a release. |
| user-invocable | true |
Create a semantic version tag based on accumulated changelog fragments. This aggregates all pending fragments to determine the appropriate version bump and creates an annotated tag.
Run this skill when:
List all files in changelog.d/ directory:
ls -la changelog.d/
If no fragments exist (only .gitkeep or empty), inform the user there's nothing to release.
Find the latest tag:
git tag --sort=-v:refname | head -1
If no tags exist, start from v0.0.0.
Examine all fragment files to determine the highest-impact change type:
Priority order: breaking > feature > bugfix > doc = misc
The highest-priority fragment type determines the version bump:
.breaking.md exists → bump major (e.g., v1.2.3 → v2.0.0).feature.md exists → bump minor (e.g., v1.2.3 → v1.3.0).bugfix.md, .doc.md, or .misc.md → bump patch (e.g., v1.2.3 → v1.2.4)Show the user:
IMPORTANT: Tags pointing to commits with [skip ci] in the message will NOT trigger the release workflow.
Check the HEAD commit message:
git log -1 --format="%s" HEAD
If the message contains [skip ci], [ci skip], or [no ci]:
git commit --allow-empty -m "chore: prepare release [version]"
git push origin HEAD
This empty commit gives us a clean commit to tag that will trigger CI.
If confirmed (and after Step 5 if needed):
git tag -a [version] -m "[Brief description summarizing the fragments]"
git push origin [version]
Show the user:
[skip ci] won't trigger CI - always create a preparation commit first