release-train-prep
БесплатноБез исполняемых скриптовНе проверенPost a Korean release risk digest to a Microsoft Teams thread, grouped by risk category. Runs scripts/release-risk-report.mjs over a ref range and renders the…
от lablup★ 137 звёзд на GitHubОб этом скилле
Release Train Prep → Teams
Prepare a release train: turn a ref range into a QA checklist, post it to the
train's Teams thread grouped by risk category, and (with --train) open the
Final Train GitHub issue. The analysis is done entirely by
scripts/release-risk-report.mjs; this skill runs it once, renders Korean
HTML, and posts.
Prep, not release. This skill touches the train issue and Teams only — it never creates a release branch, pushes a tag, or publishes a GitHub release. Cutting an rc or a stable is
create-release; the post-release version bump isbump-alpha-version. If the ask is "릴리즈 찍어줘" rather than "릴리즈 준비해줘", stop and use those.
Skill reference: Invoke the
teams-workflowskill for Teams CLI usage.
Token economics — read this first
- Data gathering is ONE Bash call: the script emits the whole report as JSON.
Never loop
gh pr viewover the findings — everything needed is already there. - No repository exploration. Do not open source files, run
git log, or grep the tree to "understand" a finding. The digest reports what the tool found; the reader opens the PR if they want detail. - No TodoWrite / TaskCreate. This is linear: run → render → post.
Arguments
$ARGUMENTS may contain these in any order:
--from <ref>— the base of the comparison. When absent, offer the choices below rather than erroring or guessing (see Resolving--from).--to <ref>— defaults toHEAD.--dry-run— preview only, no side effects anywhere: write the HTML to/tmp/release-train-prep-preview.html, skip the Teams post, and with--trainalso skip every tracker action (no issue, no project item) — describe what would be created instead. A dry run must never mutate anything.--auto— skip the confirm-before-post prompt (for cron / unattended runs).--train [version]— also open the release train: create theFinal Train to v<version>GitHub issue and post the kickoff into the thread. The version may be omitted — it is read from the thread's own title. See Train kickoff below.- A Teams thread URL (
teams.microsoft.com/l/message/...) — required unless--dry-run. There is deliberately no default: posting a release summary to the wrong thread is not something to get wrong by omission. If the user did not give one, ask. The Teams CLI can only reply to an existing thread — it cannot open a new channel message — so the thread itself is created by a human first, which matches how the team actually runs a train.
Resolving --from
Nothing is inferred silently: no release tag is an ancestor of main in this
repository (they live on the release branches, so git describe fails on main),
and defaulting to the newest tag would report a whole release to someone who ran
this on a feature branch. But an error is a dead end — offer the choices.
Refresh first. A stale origin/main moves the merge base and quietly changes
every file-based finding, so fetch before offering it:
git fetch origin main --quiet
LATEST_TAG=$(git tag --sort=-creatordate | head -1)
# Previous tag of the SAME release line (v26.9.0-rc.3 -> the v26.9.0 line):
# an interleaved hotfix tag from another line must not become the "직전 rc".
RELEASE_LINE=${LATEST_TAG%%-*}
PREV_RC=$(git tag --sort=-creatordate | grep -F "$RELEASE_LINE" | sed -n 2p)
# Previous *stable* release, excluding LATEST_TAG itself — when the newest tag
# is already stable, this must yield the one before it, not an empty range.
PREV_STABLE=$(git tag --sort=-creatordate | grep -Ev '\-(rc|alpha|beta)\.|\+' | grep -vxF "$LATEST_TAG" | head -1)
BRANCH=$(git branch --show-current)
Then ask with AskUserQuestion, putting the option that matches the current HEAD
first and marking it (Recommended). On a feature branch that is the branch diff;
on a release branch or a detached tag it is the release comparison.
| Option | --from / --to |
Answers |
|---|---|---|
| 현재 브랜치가 추가한 것 | origin/main (just fetched) |
what this PR puts into a release |
| 다음 릴리즈에 쌓인 것 | $LATEST_TAG → HEAD |
what is queued but not yet cut |
| 이번 릴리즈 전체 | $PREV_STABLE → $LATEST_TAG |
what the release as a whole contains |
| 직전 rc 이후 | $PREV_RC → $LATEST_TAG |
what changed in the last rc turn |
Offer the last row only when $LATEST_TAG is a prerelease. The two release rows
are far apart in size and answer different questions — at the time of writing,
$PREV_STABLE..$LATEST_TAG was 175 commits and $PREV_RC..$LATEST_TAG was 18 —
so do not collapse them into one "previous tag" option.
AskUserQuestion always offers Other, which is how the user supplies a ref
this list does not cover (an older tag, another branch, a SHA) — take that string
verbatim as --from. Do not pre-validate it; the script fails loudly on a bad ref.
Say which ref you resolved to in the reply, so a wrong pick is visible before the message reaches Teams.
Process
1. Run the
Установить release-train-prep в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл release-train-prep?
Post a Korean release risk digest to a Microsoft Teams thread, grouped by risk category. Runs scripts/release-risk-report.mjs over a ref range and renders the result as a short HTML message: new features and change hotspots first, then version-gating gaps (@since), untranslated keys, UI without e2e cover, and manual gaps. Use when someone gives a Teams thread URL and asks to summarize a release, an rc, or a branch there — "이번 릴리즈 리스크 팀즈에 올려줘", "이 스레드에 정리해서 알려줘", "post the release risk report to Teams", "/release-train-prep". With --train it also opens the release train: reads the version from the thread's own "Final train to vX.Y.Z" title, creates the "Final Train to v<version>" GitHub issue (after user confirm) and posts the kickoff + digest into the thread — "트레인 이슈 만들어줘", "릴리즈 트레인 준비해줘", "이 스레드로 트레인 준비해줘", "release train 시작". PREPARATION ONLY — it never creates a release branch, tag, or GitHub release; "릴리즈 찍어줘 / 릴리즈 만들어줘 / cut the release / rc 릴리즈" is create-release, not this skill.
Как установить скилл release-train-prep?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл release-train-prep запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic