Use when the user asks for the release notes of a version, before the version pull request. Turns the patch notes of the pull requests merged since the last tag (or, in a version that gathers others, since the tag before the first one it gathers), the git-cliff draft and the commits into the public notes of the GitHub Release, with the follow, install, update, includes and legend alerts on top and the en-us and pt-br blocks collapsed, and gets each part approved.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Release Notes?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/pedromondek-release-notes)
---
name: release-notes
description: Use when the user asks for the release notes of a version, before the version pull request. Turns the patch notes of the pull requests merged since the last tag (or, in a version that gathers others, since the tag before the first one it gathers), the git-cliff draft and the commits into the public notes of the GitHub Release, with the follow, install, update, includes and legend alerts on top and the en-us and pt-br blocks collapsed, and gets each part approved.
argument-hint: "[<version>] [replace] [no omitted]"
allowed-tools: Bash, Read, Write, Edit, Grep, Glob, AskUserQuestion
---
# /release-notes
Write the notes of the next release in the description of the version pull request (`release/v<version>`), between the lines `<!-- notes -->` and `<!-- /notes -->`, which the prepare workflow (`prepare-release.yml`, through `npm run release:pr -- prepare`) opens with the layout of the notes there (`notesSkeleton` in `scripts/release-notes-layout.mjs`): a `<!-- draft -->` line, the four alerts (five in a version that gathers others), the 🇺🇸 block holding the git-cliff draft and an empty 🇧🇷 block. The `Release notes` check (`release-pull-request.yml`) keeps the pull request red while that line is between the markers, the notes are empty or the 🇧🇷 block is missing, so the notes written here leave the line out and keep both blocks. On merge, the release workflow reads only what is between the two markers, uses it as the body of the GitHub Release and records it in `docs/releases/<major.minor.patch>/<stage>.md` (`0.1.0-alpha.2` in `docs/releases/0.1.0/alpha.2.md`, the stable `0.1.0` in `docs/releases/0.1.0/stable.md`) in the commit that records the checksums. The same commit rebuilds `docs/features/features.md` and `.pt-br.md` from the ✨ items of every release (`npm run docs:features`), so each ✨ item, with its title, sentence and paragraphs, becomes the public description of the feature, its GIF turned into a `▶ Demo` link so the page loads no media; a later item with the same title replaces it, and a 🔥 item with that title removes it. The notes are drafted in a scratchpad file, approved part by part and only then written to the description with `gh pr edit <n> --body-file -`, keeping everything outside the markers as it was. If the markers already hold notes other than the git-cliff draft (no `<!-- draft -->` line), ask with `AskUserQuestion` whether to replace them. After the edit, `npm run release:pr -- check-notes` with the new description in `PR_BODY` gives the same answer as the check.
Questions go through `AskUserQuestion`, recommendation first with `(Recommended)` in the label, and each draft part is approved there with its text in the `preview`. When the user answers through Telegram, only the question reaches them: the explanation, the options and the numbers go inside the question, never only in the terminal.
## Argument
`$ARGUMENTS` can pre-answer: the version (`0.1.0-alpha.1`; without it, `npm run release:version -- check` gives the current one, and `gh pr list --head release/v<version>` gives the pull request), `replace` (replaces the notes in the description without asking) and `no omitted` (closes the notes without offering the omitted items). What the argument answered is not asked again.
## Reader
- **Only the public.** The notes are for whoever installs the plugin and uses Claude Code through Telegram: features, fixes the user notices, speed, setup and update, and security in general terms. Product language, without function, file, script, crate or flag names, except the commands the user types (`bcct update`, `/bcct:health`).
- **Repository work stays out.** Hooks, CI, tests, mutation, scripts and the Claude Code setup of the repository do not enter the notes; they go to the omitted list, where the user can still pick one that the public notices.
- **A release with nothing for the public** says so in one summary bullet and lists the rest as omitted.
- **When in doubt, ask.** An item whose place is not clear (the user notices it or not, a security detail that may not fit the public) or whose wording is not clear goes to the user with `AskUserQuestion` before the notes are closed:
- **Place:** options "Include" and "Omit", recommendation first, with the proposed bullet in the question.
- **Wording:** two or three versions of the bullet as options, each in its `preview`, recommendation first.
- Independent questions go together in one call (up to 4); an item without doubt is not asked.
## The body of the Release
What goes between the markers is the body of the GitHub Release as it is: four GitHub alerts on top (five in a version that gathers others), in both languages, then each language in its own collapsed block, en-us first, so each reader opens only theirs.
````
> [!TIP]
> 📣 **Follow the releases on Telegram · Acompanhe os lançamentos no Telegram**\
> 🇺🇸 [@bcct_tips](https://t.me/bcct_tips) (stable) · [@bcct_tips_prereleases](https://t.me/bcct_tips_prereleases) (every version)\
> 🇧🇷 [@bcct_tips_br](https://t.me/bcct_tips_br) (estáveis) · [@bcct_tips_prelancamentos](https://t.me/bcct_tips_prelancamentos) (todas as versões)
> [!IMPORTANT]
> 🚀 **Install · Instalar**
> ```
> npx @pedromondek/better-claude-code-telegram@<dist-tag>
> ```
> 📌 **This exact version · Esta versão exata**
> ```
> npx @pedromondek/better-claude-code-telegram@<version>
> ```
> Then · Depois: `claude --telegram`
> [!IMPORTANT]
> 🔄 **Update · Atualizar**
> ```
> bcct update
> ```
> Or, without bcct on the PATH · Ou, sem o bcct no PATH:
> ```
> npx @pedromondek/better-claude-code-telegram@<dist-tag> update
> ```
> Or in Claude Code · Ou no Claude Code:
> ```
> /bcct:update
> ```
> [!NOTE]
> ✨ new · novo  🐛 fix · correção  ⚡ performance · desempenho  🔐 security · segurança
<details><summary>🇺🇸 English</summary>
### 📋 Summary
<two to four bullets>
<the sections that apply>
</details>
<details><summary>🇧🇷 Português</summary>
### 📋 Resumo
<os mesmos tópicos em pt-br>
<as mesmas seções em pt-br>
</details>
````
- **The alerts stay outside the blocks:** GitHub renders an alert inside `<details>` as a plain quote with the `[!TIP]` text showing. The prepare workflow writes the four alerts with `followAlert`, `installAlert`, `updateAlert` and `legendAlert` (`scripts/release-notes-layout.mjs`): the TIP with the handles of `ANNOUNCE_CHANNELS` in `scripts/release.constants.mjs`, one IMPORTANT with the install command on the dist-tag of a pre-release (`alpha`, `beta`, `next`) or with no tag for a stable version, plus the command of the exact version, and a second IMPORTANT with the update commands. A version that gathers others (step 1 of "Process") also gets, before the legend, the 📦 includes NOTE from `includesAlert`, linking the Release of each gathered version. The notes keep the TIP, both IMPORTANT alerts and the includes NOTE as they are and trim the legend (section "Emojis"). After the announcement, its `link` job writes a `📣 Telegram:` line at the end of the Release; the notes never write it. The announcement reads only the language blocks, so no alert becomes a post.
- **The flags stay** in the block titles and in the TIP: Windows has no glyph for country flags and shows them as the letters US and BR, which still read as the language.
- **The pt-br block is a faithful version of the en-us one**, section by section and item by item, in correct Portuguese with every accent; it is written from the en-us text, never with fewer or more items.
## Formatting rules
- No title at the top: the Release has the version as its name. After the alerts, each language block starts with its summary heading. A summary bullet or item that cites the install command takes it from the IMPORTANT, as it is there: a pre-release needs its dist-tag, since `npx @pedromondek/better-claude-code-telegram` without the tag installs what `latest` points at.
- No horizontal rules (`---`) and no count of files or lines.
- GitHub markdown: `###` for the sections, `**bold**`, `- bullets`; `<details>` only for the two language blocks, and the alerts only for the TIP, the two IMPORTANT, the 📦 includes NOTE of a version that gathers others and the legend.
- A dependency update the user notices names the version before and after (`grammy 1.21 → 1.46`), checked in the lock of the last tag and of `HEAD`.
- A ✨ item reads like a Telegram Tips post: `- ✨ **Title.** First sentence with **key words** in bold.` The bold title is the name of the feature, and the first sentence says what it does, with its key words in bold. An optional second paragraph says what the user gains: an indented text line (two or more spaces) under the item, after a blank line. More paragraphs follow the same way, each after a blank line. Each language writes its own paragraphs. On Telegram, the caption of the item is the title and the sentence, then each paragraph after a blank line, without the leading ✨, within the 1024 characters Telegram takes.
- A ✨ item that a demo shows carries three attachments: a GIF for the Release, which autoplays and loops on GitHub, and one H.264 MP4 per language for the Telegram channels, each opening on a title card in its language for about 0.7 s, since Telegram uses the first frame of the video as its preview. `gh pr edit <n> --attach <file>` (gh 2.99 or later) uploads them into the description of the version pull request and rewrites a local path the body references, such as ``, to the attachment URL. After the paragraphs of the en-us item come a blank line, the image line ` ` indented two spaces, so GitHub renders the GIF as its own paragraph inside the item instead of inline in its text, and the comment line ` <!-- telegram: <en-us mp4 url> -->`, indented the same way. The pt-br item carries the same image line, with its alt in Portuguese, so the reader of that block sees the demo too, and its own comment line, ` <!-- telegram: <pt-br mp4 url> -->`. GitHub hides the comments, so the Release shows only the GIF. The block of one item in each language:
```
- ✨ **Buttons for questions.** Claude's questions arrive on Telegram with **one button per option**.
Answer from your phone with one tap, without typing the option back.

<!-- telegram: https://github.com/user-attachments/assets/<en-us mp4 id> -->
```
```
- ✨ **Botões nas perguntas.** As perguntas do Claude chegam no Telegram com **um botão por opção**.
Responda pelo celular com um toque, sem digitar a opção de volta.

<!-- telegram: https://github.com/user-attachments/assets/<pt-br mp4 id> -->
```
The pt-br ✨ items pair with the en-us ones by order and share their GIF, so both languages keep the same ✨ items in the same order. Once the version is verified, `announce-release.yml` posts the notes on the Telegram channels (`npm run release:announce`), with one post per ✨ item that has a demo, as a reply to the opening: the MP4 of the item in the language of the channel, else the en-us MP4, else the GIF. A URL that ends in an extension other than `.gif` or `.mp4` fails the announcement.
### Emojis
- **Section title:** starts with the fixed emoji of the area, the same in both languages: 💬 Telegram channel, 🧰 Setup, health and update, 🧩 Plugin and binary, 🎙️ Voice transcription, 📊 Status line, 🔐 Security. A new area picks an emoji not in use yet and keeps it in every release.
- **Item:** each change starts with the emoji of its kind, right after `- `: ✨ new, 🐛 fix, ⚡ performance, 🔐 security, 💥 breaking change, 🔥 removal, ♻️ redone. The kind says the nature of the change and the area stays in the title: an item never repeats the emoji of its own section.
- **Legend:** the `> [!NOTE]` alert on top, one for both languages, with each item emoji the notes use followed by its word in English and in Portuguese (`✨ new · novo`), the entries apart by `  `, which GitHub shows as two em spaces and which a copy of the text keeps, unlike the em space character itself. The prepare workflow writes it with ✨, 🐛, ⚡ and 🔐; the notes drop the ones no item uses and add 💥 breaking change · mudança incompatível, 🔥 removal · remoção and ♻️ redone · refeito when an item uses them.
- **No item emoji** in the summary bullets: they are short sentences about the release as a whole.
## Structure
Use only the sections that apply:
```
### 📋 Summary
### 💬 Telegram channel
### 🧰 Setup, health and update
### 🧩 Plugin and binary
### 🎙️ Voice transcription
### 📊 Status line
### 🔐 Security
```
- `### 📋 Summary` in two to four bullets: what someone who updates notices first, with **bold** at the start when it helps scanning. A breaking change, a new requirement (Node, git, a command to run after updating) or a step the user has to take comes first.
- `### 🔐 Security` only in general terms. The detail of a fix (which path answered what) stays out of the notes until every installed version can update.
- Self-contained bullets, one change each. Each item appears once in the notes.
## Process
1. The range depends on whether the version gathers others (`gatheredVersions` in `scripts/release-order.mjs`, the versions the 📦 includes NOTE lists): the first beta gathers the alphas of its base, the first rc gathers the betas (the alphas when the base had no beta), and a stable gathers every pre-release of its base. A pre-release that gathers others covers from the tag before the first gathered version to `HEAD`: `git describe --tags --abbrev=0 v<first gathered version>^` (no tag before it, the command fails with `No tags can describe`: the whole history, with the first commit, `git rev-list --max-parents=0 HEAD`, in place of the tag in the commands below, and step 3 runs `npm run --silent release:cliff` with no range, as for a stable version), so `0.1.0-beta.1` covers `0.1.0-alpha.1`, `0.1.0-alpha.2` and what the beta changed. Any other pre-release (`alpha.2`, `beta.2`) covers only the last tag to `HEAD`: `git describe --tags --abbrev=0` (no tag yet: the whole history). In steps 2 and 3, a gathering pre-release passes that tag as a stable version passes its own. The range of a stable version is the previous stable tag to `HEAD`, `git describe --tags --abbrev=0 --exclude '*-*'`, since its notes cover everything since the previous stable, the pre-releases of the version included; with no stable tag yet (the command fails with `No names found`), the range is the whole history, from the first commit, `git rev-list --max-parents=0 HEAD`, which takes the place of the tag in the commands below (step 3 then runs `npm run --silent release:cliff` with no range). Then `git log --oneline <tag>..HEAD` and `git diff --stat <tag>..HEAD`.
2. Start from the patch notes of the pull requests: `npm run --silent release:patch-notes` for a pre-release, and `npm run --silent release:patch-notes -- <tag>` with the previous stable tag for a stable version. It lists the pull requests merged on `main` since the last tag, by the first-parent merge commits, and prints for each one its number, title and the `🇺🇸 English` and `🇧🇷 Português` blocks of its description, marks the ones from `dependabot/`, `release/v` and `revert/` as exempt, and ends naming the pull requests whose notes are missing, not shown by GitHub, empty, still the template placeholder or not readable as GitHub shows them. Each printed block renders as GitHub shows it in the description. The printed blocks leave out the HTML comments, so the `<!-- telegram: <url> -->` line of each ✨ item comes from the raw description of its pull request: `gh pr view <n> --json body --jq .body`. The blocks were written for the public under the same rules as these notes; they are the starting point, not the notes.
3. Read the draft: `npm run --silent release:cliff -- --unreleased` for a pre-release, and `npm run --silent release:cliff -- <previous stable tag>..HEAD` for a stable version, whose notes cover the pre-releases too. It lists the features, fixes, performance and security commits by kind, without the emoji and without maintenance.
4. Reconcile the patch notes with the draft and the commits: a draft item that no patch notes cover is checked in its commits, in case a pull request left out something the public notices; the same change in the notes of more than one pull request becomes one item; an item a later pull request undid or redid leaves the notes or takes the final shape.
5. A pull request without patch notes, named at the end of the output, is read from its commits and the diff behind each draft item, plus the maintenance commits the draft leaves out, in case one changes something the user notices (a new requirement, a step after updating).
6. Classify each change by impact: high (the user notices and has to know), medium (a feature changes in a way the user notices), low (internal, repository work or trivial: omitted).
7. Decide whether each item enters; what is in doubt becomes a question (section "Reader").
8. Write the en-us notes, then the pt-br block from them, and get each part approved (summary, each section, the pt-br block) with `AskUserQuestion`, `Approve (Recommended)` first and the adjustment through "Other"; a changed part comes back in a new question for that part only.
## Confidentiality
The notes are public: the Release page and anyone who watches the repository read them. Leave out what helps an attacker, even when it is in the code:
**Never include:**
- The bot token, the chat id, the pairing code or any value from `.env`, `access.json` or the app config, nor where exactly they are stored beyond what the README already documents.
- How the permission relay could be bypassed (which check a message passes, timing windows, how a sender is matched).
- Paths and names of the machine where the release was built, and any personal data from commits.
**Can include (in general terms):**
- That pairing, the allowlist or the permission relay got stricter, without the mechanism.
- New commands and flags the user types.
- High-level architecture decisions.
**When in doubt:** use the general sentence. "Messages from chats outside the allowlist are dropped earlier" is fine; the exact check and its order is not.
## Omitted items
After writing the notes, list **in the terminal (not in the notes)** the omitted items, split by why they stayed out:
```
**Left out as low impact (confirm if you want any):**
- ...
**Left out as repository work (confirm if you want any):**
- ...
```
The user picks which to add in one `AskUserQuestion` call: one `multiSelect` question per list (one option per item, none checked = done; more than 4 items split into more questions in the same call), with the list itself in the question, since the terminal may not reach the user. A checked item enters written for the public, in both languages. An empty list is not asked. With `no omitted` in the argument, only list them.
## Example of a well-formed bullet
In `### 🧰 Setup, health and update`:
```
- ✨ `bcct update` installs the newest version of the marketplace, the plugins and the binary, and checks the binary against the hash the plugin carries before switching to it.
```