用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Morrison-Lab/ai-config --skill release-notify命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | release-notify |
| description | Tag release and notify revdeps. |
| user-invocable | true |
| allowed-tools | ["Bash","Read","Edit","Write"] |
After merging a breaking change to a shared template/library repo, tag the release and file migration issues on every affected consumer repo.
Determine the version bump. Breaking changes get a major version bump
(v1 → v2, v2 → v3). If the repo uses semver with minor/patch, bump the
major. Check existing tags with git tag -l | sort -V.
Create an annotated tag on the merged main:
git checkout main && git pull origin main
git tag -a vN -m "vN: <short description> (breaking change)
<migration instructions>"
git push origin vN # PUSH
Identify affected consumer repos. Use multiple strategies (don't rely on any single one):
REVDEPS.md if the repo has one (advisory — not authoritative).# GitLab: check each project's CI config for the old pattern
for pid in <project_ids>; do
result=$(glab api "projects/$pid/repository/files/.gitlab-ci.yml/raw?ref=main" 2>&1)
if echo "$result" | grep -q "<old_pattern>"; then
echo "MATCH: $pid"
fi
done
gh search code or the code search API.File a migration issue on each affected repo. Include:
Update REVDEPS.md if any new consumers were discovered during the search (that weren't already listed).
Report a summary with clickable links:
| Consumer | Issue filed |
|---|---|
| repo-a | #N |
| repo-b | #M |