writing-releases

作者: medusajs

为Medusa版本编写符合既定风格的GitHub发布说明。在需要根据提交和PR列表生成草稿发布描述时使用…

npx skills add https://github.com/medusajs/medusa --skill writing-releases

Writing Medusa Release Notes

Generates GitHub release notes from commit/PR data in the established Medusa style.

Constraints

  • Full Changelog link is mandatory — always the last line: **Full Changelog**: [vPREV...vNEW](compare-url)
  • No top-level Breaking Changes section — breaking changes are embedded inside their Highlight subsection with 🚧 Breaking change, never in a separate ## Breaking Changes heading
  • Bullet format is strict — every entry in Features/Bugs/Chores/etc. must include author link and PR link (see reference/format.md)
  • Highlights are not a summary of all PRs — only significant changes qualify; routine additions go in Features/Bugs bullets only (see reference/release-types.md)
  • No emojis — the only permitted emoji is 🚧 on breaking change highlights; use none anywhere else
  • Code block required for actionable steps — if a highlight requires the developer to install a package, run a command, or update config, include a fenced code block with the exact command(s)

Load Reference Files When Needed

Load at least one reference file before writing.

TaskLoad
Formatting sections and bulletsreference/format.md
Deciding whether to write Highlights, and identifying breaking changesreference/release-types.md
Writing the Highlights sectionreference/highlights.md

Quick Reference

Release type decision

Commit setRelease type
Only routine fixes/chores, no user-facing impactMinimal — no Highlights section
One important change is the main reason for the releaseSingle Highlight
Multiple significant features or fixesMulti-Highlight
Any PR with a minor changeset in .changeset/Add 🚧 to that Highlight

Section order (include only sections with entries)

## Highlights
## Features
## Bugs
## Documentation
## Chores
## Other Changes
## New Contributors
**Full Changelog**: [vPREV...vNEW](url)

Common Mistakes

  • Adding a title or # Heading at the top — release notes have no title, start directly with the first section
  • Adding a ## Breaking Changes top-level section — embed inside the Highlight instead
  • Putting a routine bug fix or small feature addition in Highlights
  • Missing the Full Changelog link at the end
  • Bullet missing author link or PR link
  • Using PR title verbatim as a Highlight heading — write a descriptive outcome-focused title
  • Treating every feat: commit as a Highlight candidate
  • Using emojis anywhere except 🚧 on breaking change highlights
  • Writing a Highlight that requires a developer action (install, run, config change) without a fenced code block

Reference Files

reference/format.md          — section order, bullet format, commit prefix → section mapping
reference/release-types.md   — when to add Highlights, breaking change detection, highlight criteria
reference/highlights.md      — how to write Highlight subsections

来自 medusajs 的更多技能

creating-agents-in-medusa
medusajs
在Medusa项目中构建面向内部管理员的AI代理时使用。这些代理由商家和店铺运营者操作,而非客户。涵盖…
mcloud-local
medusajs
执行mcloud本地构建,在本地机器上复现Cloud构建。用于在不推送到跟踪分支的情况下调试构建失败的部署,…
reviewing-prs
medusajs
审查Medusa仓库的GitHub拉取请求。检查PR模板合规性、贡献指南、代码规范、安全性、性能以及……
writing-tsdocs
medusajs
为Medusa代码库中的TypeScript源文件添加和更新TypeDoc(TSDoc)注释。涵盖HTTP类型、API路由、UI组件、数据模型、服务……
mcloud-variables
medusajs
执行mcloud变量命令,列出并获取云环境的环境变量。用于检查、读取或导出环境…
mcloud-deployments
medusajs
执行mcloud deployments命令以列出部署、获取部署详情和拉取构建日志。在列出部署、检查部署时使用…
writing-docs
medusajs
编写并更新Medusa文档的MDX文件,涵盖book、resources、ui、user-guide和cloud项目。当基于……进行文档更改时使用。
building-storefronts
medusajs
以SDK为先的前端集成方案,适用于Medusa商店前端,采用React Query模式并遵循关键API调用规则。所有API请求必须使用Medusa JS SDK——禁止使用常规fetch(),因其缺少必要请求头(商店路由需可发布API密钥,管理路由需认证信息)。向SDK方法传递纯JavaScript对象,切勿对请求体参数使用JSON.stringify(),SDK会自动处理序列化。GET请求使用useQuery,POST/DELETE请求使用useMutation,...