Backstage Release Notes backstage-release-notes
Generate release notes for a new Backstage version from changesets.
Use it when writing or drafting release notes, or when preparing a Backstage release.
- Our test
- 8/10✓ Verified
- tested Dec 6, 2026
- GitHub stars
- 35k
- backstage/backstage
- Added by
- 0
- members
- Updated
- Dec 6
- commit 0c84baf
- Content
- 1 file
- no scripts · 8 KB
- License
- Apache 2.0
- free to use
What our test found
The skill gives a thorough, practical workflow for producing and validating Backstage release notes, though some baseline and attribution details could be more explicit.
Limits spotted
- The method for identifying the previous mainline release and release baseline is not fully specified.
- Contributor collection across all commits is required, but the skill gives no concrete command or procedure for doing it.
- The security section is prescribed as having no fixes, with no instructions for verifying whether security fixes exist.
name: backstage-release-notes description: Generate release notes for a new Backstage version from changesets. Use when writing or drafting release notes, or when preparing a Backstage release.
Backstage Release Notes
Create release notes for a Backstage release from changeset files.
Process
1. Get the version number
Ask the user for the target version if it is not already provided. Accept the version with or without a leading v, then normalize it to a bare semantic version such as 1.54.0. In the rest of this skill, <version> means this bare version.
2. Parse changesets
Read all .md files in .changeset/. Skip README.md and any file whose YAML front matter does not contain at least one package-to-bump mapping.
For each valid changeset, extract:
- Package names and bump types from YAML front matter
- Description text from the markdown body
- The repository-relative path, including the
.mdextension
3. Look up PRs and authors
For each changeset file, find the commit that added it:
git log --diff-filter=A -n 1 --format='%H' -- <changeset-path>Then find the PR and author using gh:
gh api repos/backstage/backstage/commits/<commit-sha>/pulls --jq '.[0] // empty | {number: .number, login: .user.login}'If gh returns nothing, check the full commit message for a #NNN reference, then check the merge commit that first introduced the change on the mainline. Some changes are committed directly without a PR. For those, confirm the GitHub commit author; a direct commit by a known core maintainer needs no attribution or manual-review flag. Otherwise, flag unresolved attribution for manual review and use the git author name without a GitHub link.
Run these lookups in batches to avoid excessive API calls.
4. Categorize changesets
Assign each changeset to a tier:
| Tier | What qualifies | Output treatment | | --------------- | ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------- | | 1 - Breaking | major bump for packages >= 1.0, minor bump for packages < 1.0, or description contains BREAKING | Individual ### highlight with **BREAKING**: prefix | | 2 - New package | Package directory created after previous release tag | Individual ### highlight | | 3 - Feature | minor bump with substantial description, especially core packages | Individual ### highlight. Group related changesets under one heading | | 4 - Deprecation | Description mentions "deprecated" | Individual or grouped highlight | | 5 - Fix | Patch-level fixes, performance improvements, community contributions | Bullet in "Additional fixes and improvements" | | 6 - Skip | Dependency updates (author is renovate[bot], or message matches chore(deps)), trivial patches, "Updated dependencies" only | Omit entirely |
Grouping rules:
- Changesets in the same package family go under one heading (e.g., all
@backstage/plugin-catalog-backendchanges) - Changesets from the same PR go under one heading
@backstage/uichangesets get grouped under "Backstage UI updates" with a link to the BUI Changelog
Prefer core/framework packages over plugin-specific ones within each tier.
5. Detect new packages
To check if a package is new in this release, see if the package directory was created after the previous release tag:
git log --diff-filter=A --format='%H' <previous-tag>..HEAD -- <package-dir>/package.jsonIf a commit is returned, the package is new.
6. Draft the release notes
Use docs/.release-notes-template.md as the base document. Replace its example version with <version>, and replace its example highlights and security text with the generated content. Keep the template's section order and boilerplate.
Always include the matching v<version>-changelog.md link from the template in the Links and References section. The changelog file is generated later in the release process. The link verifier permits this matching link before the file exists. Do not remove the link.
Write each highlight as 1-3 paragraphs of prose. Do not just paste the raw changeset text. Rewrite it for clarity, aimed at Backstage adopters. Include code examples when they help illustrate migration steps or usage.
For community contributions, add attribution:
Contributed by [@user](https://github.com/user) in [#NNN](https://github.com/backstage/backstage/pull/NNN)Breaking change heading variants:
### **BREAKING**: Titlefor general breaking changes### **BREAKING ALPHA**: Titlefor alpha-only API breakage### **BREAKING PRODUCERS**: Titlefor changes that only break code producing certain types (not consumers)
If a changeset could not be parsed or its contributor attribution remains unresolved, put it in a ### Needs manual review section at the end of highlights.
Do not add contributor attribution for core maintainers. Read the current list from the Core Maintainers section of the repository-root OWNERS.md; do not use a hard-coded list or the project area and emeritus sections. Also omit service and bot accounts such as backstage-service.
7. Assemble the file
Include a Contributors section between Security Fixes and Upgrade path, using the acknowledgment format from the template. Collect human PR authors and commit contributors since the previous mainline release through the release baseline, including documentation and test-only contributions without changesets. Exclude core maintainers, service accounts, and bots as described above. Deduplicate GitHub handles case-insensitively and sort them alphabetically.
Use this structure:
---
id: v<version>
title: v<version>
description: Backstage Release v<version>
---
These are the release notes for the v<version> release of [Backstage](https://backstage.io/).
A huge thanks to the whole team of maintainers and contributors as well as the amazing Backstage Community for the hard work in getting this release developed and done.
## Highlights
<highlights from step 6>
## Security Fixes
This release does not contain any security fixes.
## Contributors
<community contributor acknowledgments>
## Upgrade path
<copied from docs/.release-notes-template.md, version updated>
## Links and References
<copied from docs/.release-notes-template.md, version and changelog link updated>Save to docs/releases/v<version>.md.
8. Validate
Before reporting to the user, run these checks:
yarn prettier --write docs/releases/v<version>.md
node scripts/verify-links.jsIf verify-links.js reports broken links other than the matching generated changelog link, fix them before proceeding. If prettier is not available, run yarn install first.
Check the vale vocabulary at .github/vale/config/vocabularies/Backstage/accept.txt. If the release notes use technical terms not in the vocabulary, add them and include the vocabulary file in the commit.
9. Report
Tell the user what was generated, how many changesets were processed, how many highlights were created, and whether any entries need manual review.
Do NOT commit or push the file. The user will review and handle that.