Skip to content
Back to skills

Release Notes

BSecurity

Generate polished, user-facing release notes in Markdown for a requested release (e.g. "do this for v1.1.0"). By default it starts from the existing auto-generated GitHub release notes and post-processes them (re-orders by importance, merges multi-PR efforts, highlights the big items, drops noise) and keeps the "New Contributors" section verbatim. Alternatively, when the user explicitly says NOT to use the existing notes, it analyzes all commits/PRs merged since the previous release tag and b...

  • 145 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 13, 2026
developmentgoshellbashgitapibackend

Works with

  • cli
  • api

Security analysis

B88/100
  • criticalSends environment variables or credentials to an external URL

Pro shows the line behind each finding and how to fix it

Scanned December 4, 2026

npx -y skills add sesori-ai/sesori_apps_monorepo --skill release-notes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Release Notes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Release Notes
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/sesori-ai-release-notes/badge)](https://www.skillsdirectory.com/skills/sesori-ai-release-notes)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: release-notes
description: Generate polished, user-facing release notes in Markdown for a requested release (e.g. "do this for v1.1.0"). By default it starts from the existing auto-generated GitHub release notes and post-processes them (re-orders by importance, merges multi-PR efforts, highlights the big items, drops noise) and keeps the "New Contributors" section verbatim. Alternatively, when the user explicitly says NOT to use the existing notes, it analyzes all commits/PRs merged since the previous release tag and builds the notes from scratch. Replies with the notes in chat as one fenced Markdown code block, ready to paste — never writes them into the repository and never edits the live GitHub release.
metadata:
  audience: maintainers
  workflow: github
---

# Release Notes Skill

Generates curated, user-facing release notes in Markdown for a given release version. The output mirrors the hand-edited style the maintainer prefers: an optional **launch announcement** section, a short **Highlights** block, then per-target **App** / **Bridge** sections (subdivided into New / Improved / Fixed / Other), then the **New Contributors** section (verbatim) when the source has one. The **All PRs merged** list is not part of the output; GitHub's own release page and the Full Changelog link cover it.

Give the finished notes in the chat reply as one fenced Markdown code block (```` ```markdown ````), followed by a short editorial summary. Don't hand them over as a file, and never write them into the repository. The maintainer copies the block and pastes it into the GitHub release once happy. A scratch file in `/tmp` while drafting is fine, but the reply must contain the full notes. **Never edit, publish, or otherwise mutate the live GitHub release.**

## Inputs

- **Version (required)** — e.g. `v1.1.0`. If the user omits the `v`, normalize to `v<x.y.z>`.
- **Highlight hints (optional)** — the user may volunteer domain knowledge inline, e.g. "the windows fix was fully broken before", "android login often failed". Treat these as authoritative and weave them into Highlights / phrasing.
- **Availability hints (optional)** — statements such as "this feature was hidden", "it was disabled before release", or "only OpenCode works in this release" are authoritative shipping decisions. Apply the rules below without asking the user to reconfirm them.
- **Mode override (optional)** — a phrase like "don't use the existing release notes", "build it from the commits", "analyze the PRs/commits since last release" switches to **Mode B** (commit analysis). Absent such a phrase, **always use Mode A** (existing GitHub release notes).

## Prerequisites

- `gh` CLI authenticated (`gh auth status`).
- For **Mode B** only: `dart` on PATH (to run `tool/generate_release_notes.dart`).
- Run from inside the repo (the worktree root is fine).

---

## Mode A — Start from existing GitHub release notes (DEFAULT)

Use this unless the user explicitly asked to ignore the existing notes.

### Step A1: Fetch the existing release

```bash
gh release view <version> --repo sesori-ai/sesori_apps_monorepo --json tagName,body,url
```

If the release is not found, list recent releases and ask the user which one they meant:

```bash
gh release list --repo sesori-ai/sesori_apps_monorepo --limit 15
```

The `body` field contains the auto-generated notes with `### App`, `### Bridge`, `### All PRs merged`, and (when the release introduced first-time authors) `## New Contributors` sections.

### Step A2: Parse the existing notes

From the fetched body, extract:
- Every App entry (Added / Fixed / Changed) with its PR number(s).
- Every Bridge entry with its PR number(s).
- The **All PRs merged** list, as input only. It catches PRs missing from App/Bridge (desktop distribution, for example) but is not copied into the output.
- The **New Contributors** list, if present (kept exactly as-is).

### Step A3: Apply the post-processing rules

Apply all rules in the **Post-Processing Rules** section below to the App and Bridge entries.

### Step A4: Write the notes

Write the notes using the **Output Format** below and reply with them as a fenced Markdown code block. Copy the **New Contributors** section verbatim from the source.

---

## Mode B — Generate raw notes from commits/PRs, then post-process

Use this ONLY when the user explicitly says not to use the existing notes.

**Do NOT hand-roll the range resolution, PR enumeration, or App/Bridge classification in shell.** The repo already ships a deterministic, dependency-free generator — `tool/generate_release_notes.dart` — that CI uses for both the rolling internal pre-release and the production release. It already handles every tricky case correctly:

- **Previous-stable resolution** prefers the highest published (non-draft, non-prerelease) `vX.Y.Z` GitHub release strictly below the target (what users actually received), and only falls back to plain `vX.Y.Z` git tags — internal/prerelease tags like `v<X.Y.Z>-internal.<N>` are excluded.
- **PR enumeration** walks the full `compare` API (paged, no arbitrary cap) and refuses to emit truncated notes.
- **Exclusions**: drops `dependabot` / `dependabot[bot]` authors.
- **App/Bridge classification** pages `/pulls/<n>/files` fully and degrades conservatively (lists under both) when a PR is too large to enumerate.
- **New-contributor detection** credits each author with no commit reachable from the previous stable tag, matching GitHub's own `--generate-notes` behavior. A failed lookup omits that one author rather than failing the run, so the section can be incomplete on a degraded API; spot-check it when a release is expected to introduce someone.

Reusing it means Mode B and CI can never drift, so just run it instead of re-deriving the same data.

### Step B1: Generate the raw auto-notes with the canonical tool

```bash
# GITHUB_TOKEN/GH_TOKEN must be set (gh auth token works).
GITHUB_TOKEN="$(gh auth token)" dart tool/generate_release_notes.dart \
  --repo sesori-ai/sesori_apps_monorepo \
  --to <version> \
  --version <X.Y.Z> \
  --output /tmp/raw_release_notes_<version>.md
```

- `--to` is the tag/sha being released (e.g. `v1.1.0`); `--version` is the bare semver.
- **Omit `--from`** in normal use. The generator resolves the previous stable release itself: it prefers the highest *published* (non-draft, non-prerelease) `vX.Y.Z` release **strictly below the target**, and only falls back to plain `vX.Y.Z` git tags. Because it is strictly-below and published-release-aware, this is correct for both the latest release and older/backfill targets — do **not** compute a range by hand.
- **User-supplied range:** if the user explicitly gives a previous tag/ref, pass it as `--from` to override auto-resolution.
- The tool prints the resolved `from...to` range to stderr — always surface it to the user and confirm it looks right before proceeding.

This produces the same structure Mode A consumes: `### App`, `### Bridge`, `### All PRs merged`, an optional `## New Contributors` section (plus a `**Full Changelog**` link).

### Step B2: Parse, post-process, and write the notes

From here the flow is identical to Mode A:

1. Parse the generated `### App`, `### Bridge`, `### All PRs merged`, and `## New Contributors` sections (same as Step A2).
2. Apply the **Post-Processing Rules** to the App/Bridge entries (same as Step A3).
3. Write the notes using the **Output Format**, copying the **New Contributors** section verbatim from the generated output.

This guarantees Mode B's range, exclusions, and classification exactly match what GitHub would have shown — the only difference from Mode A is that the raw notes come from the generator instead of an already-published release.

---

## Post-Processing Rules (both modes)

Apply these to produce the launch announcement, Highlights, and App and Bridge narrative sections. The **New Contributors** section is NEVER curated — it stays complete. Never drop a new contributor because their PR was filtered out of the narrative as chore/CI noise.

1. **Merge multi-PR efforts into one entry.** Collapse clusters that are obviously one initiative (e.g. titles like "migration PR 5/15", a series of "sesori_plugin_runtime — …" PRs, or a feature plus its follow-ups). Write a single descriptive bullet and append all the PR links: `([#223](…), [#226](…), …)`. Describe the *final shipped outcome*, not the mechanics of each PR.

2. **Drop chore/CI/infra/release-plumbing from the narrative.** Exclude version bumps, release commits, `ci:` workflow changes, linguist/gitattributes, editor configs, dependency-tooling wiring, and similar from the App/Bridge sections. (Keep genuine user-relevant dependency/runtime bumps like a Flutter SDK upgrade under **Other**.)

3. **Collapse fixes to unreleased code automatically.** If a "fix" PR repairs a feature added in this same release, users never received the broken intermediate state. When the completed feature ships, fold the feature and its follow-up PRs into one **New** or **Improved** outcome and cite the combined PR set. Do not create a separate **Fixed** entry or say that Sesori fixed behavior users never saw. Ask the user only when inspection cannot establish whether the original behavior shipped in an earlier release.

4. **Treat hidden or disabled work as unavailable.** If the user says a feature was hidden, disabled, incomplete, or limited to one backend before release, omit that feature and its dependent fixes from Highlights and the normal New / Improved / Fixed narrative. Do this without another confirmation question. If the raw PR list could otherwise imply that the feature is available, add one restrained **Other** bullet stating the exact current availability limitation. Describe the broader work as preparatory only when the user says so or inspected evidence supports that characterization; keep it out of Highlights and never advertise it as usable.

5. **Reframe perf/UX wins out of "Fixed".** Items that aren't strictly bugs but improve feel (removing a UI-thread freeze via isolates, more natural scroll/collapse behavior, faster reconnect) belong in an **Improved** subsection with benefit-oriented wording, not **Fixed**.

6. **Order by real user impact.** Within each subsection, lead with the changes that matter most to users (reliability fixes, platform support, major UX) and push minor polish to the bottom. The **Highlights** block surfaces the few biggest items across both targets.

7. **Launch announcement — a section of its own.** When a release is the first public release of a new product or platform (for example the first desktop app), give it a dedicated `## <emoji> Introducing <product>` section above Highlights instead of a Highlights bullet. Use a short intro paragraph that says where to get it (link the download page when one exists), then 3–6 bold-lead bullets covering what it does, how it fits with the existing apps, and how it installs and updates. No PR links in this section. Ask the user whether something counts as a launch when the release does not make it clear; the user knows what was advertised before. Work that was built earlier but never advertised is still a launch: describe it as new everywhere, and drop App/Bridge bullets that only make sense to existing users of it (such as "moved X into a different tab").

8. **Highlights block — the editorial layer.**
   - If the user provided highlight hints, treat them as authoritative: use their framing (severity, "was fully broken", "often failed", etc.).
   - Otherwise, infer the top items from PR titles + scope. Good highlight candidates: new platform support, reliability fixes for flows that affect everyone (login, reconnect), and large UX features (adaptive layout, etc.).
   - **When a PR's user benefit is unclear**, do one of: (a) inspect the implementation/diff to understand impact (`gh pr view <n> --json title,body` / `gh pr diff <n>`), or (b) ask the user a concise question about what it does and how important it is. Prefer inspecting first; ask when still ambiguous.
   - The bold lead must plainly name the important product change, such as "Redesigned sessions list" or "Improved Bridge onboarding." Do not replace the change with a vague slogan or inferred promise such as "Triage at a glance," "Stay connected," or "Make it yours."
   - Follow the bold lead with **one short sentence** of concrete detail. Put the longer specifics in the App/Bridge sections, not in Highlights.
   - **No PR links in Highlights.** The App/Bridge bullets carry the links.
   - Keep Highlights to roughly 4–6 items, but do not promote a modest fix merely to fill the block. Four clear, release-defining changes are better than padded or speculative highlights. Each item may have a leading emoji to match house style.

9. **Check facts against the shipped code, not PR titles.** PR titles can be out of date because later PRs changed the outcome (a folder path, a limit, a default). Before stating a concrete path, number, or default, confirm it at the release tag, e.g. `git grep <term> <version> -- <dir>`.

10. **Voice.** User-facing, benefit-first, concrete. Avoid internal jargon and PR-mechanics. Don't invent capabilities not supported by the PRs.

---

## Output Format

Reply with the notes in one fenced Markdown code block with this structure:

```markdown
# <version> (build <N if known>)

## <emoji> Introducing <product>   ← only for a launch (rule 7); otherwise omit

<One short paragraph: what launched, on which platforms, and where to get it.>

- **<Bold lead>.** <What it does or how it works.>
- ... (3–6 items, no PR links)

---

## ✨ Highlights

- **<emoji> <Concrete product change>.** <One short sentence of concrete detail.>
- ... (4–6 items, no PR links)

---

## 📱 App

**New**
- <entry> ([#NNN](url))

**Improved**
- <entry> ([#NNN](url))

**Fixed**
- <entry> ([#NNN](url))

**Other**
- <entry> ([#NNN](url))

---

## 🖥️ Bridge

**New**
- ...

**Improved**
- ...

**Fixed**
- ...

**Other**
- ...

---

## New Contributors

<verbatim list from the source; omit this whole section when the source has none>
```

Omit any subsection (New/Improved/Fixed/Other) that has no entries. If a target (App or Bridge) had no user-facing changes, write a single `- No user-facing changes` bullet under it.

---

## Workflow Summary

1. Determine **version** and **mode** (default = Mode A). Capture any highlight hints the user gave.
2. **Mode A:** `gh release view <version>` → parse App/Bridge/All-PRs/New-Contributors. **Mode B:** run `dart tool/generate_release_notes.dart` (with `GITHUB_TOKEN`) to produce the same raw sections, then parse them the same way as Mode A. Do not re-derive the range, exclusions, or classification by hand.
3. Apply the **Post-Processing Rules** (merge clusters into final outcomes, drop noise, collapse fixes to unreleased code, omit disabled work, reframe perf/UX, order by impact, write any launch announcement, build short Highlights, check facts at the tag).
4. For unclear-benefit or unclear-shipping PRs, inspect the diff (`gh pr diff <n>`) before asking the user. Do not ask about clearly same-release repairs or availability decisions the user already supplied; apply the defaults above.
5. Reply with the notes as one fenced Markdown code block, then a short summary of editorial decisions made (what was merged, dropped, flagged).

## Important Notes

- The notes go in the chat reply as a fenced Markdown code block, never into a handed-over file or the repository, and this skill never edits or publishes the GitHub release.
- Default behavior is **always Mode A** (start from existing GitHub release notes). Only switch to Mode B on an explicit instruction to ignore the existing notes.
- The output has no **All PRs merged** section. The **New Contributors** section is never trimmed or curated.
- Confirm the resolved previous tag in Mode B. Surface an omission candidate only when shipping history remains ambiguous after inspection; collapse clear same-release repair clusters automatically.
- Repo is `sesori-ai/sesori_apps_monorepo`; requires authenticated `gh`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.