writing-releases

bởi medusajs

Viết ghi chú phát hành GitHub cho các bản phát hành Medusa theo phong cách đã thiết lập. Sử dụng khi tạo bản mô tả phát hành nháp từ danh sách commit và 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

Thêm skills từ medusajs

creating-agents-in-medusa
medusajs
Sử dụng khi xây dựng một tác tử AI hướng đến quản trị nội bộ trong dự án Medusa. Các tác tử này được vận hành bởi thương nhân và người điều hành cửa hàng — không phải khách hàng. Bao gồm…
mcloud-local
medusajs
Thực thi bản dựng cục bộ mcloud để tái tạo bản dựng Cloud trên máy cục bộ. Sử dụng khi gỡ lỗi một triển khai bản dựng thất bại mà không đẩy lên nhánh được theo dõi,…
reviewing-prs
medusajs
Đánh giá các pull request GitHub cho repository Medusa. Kiểm tra việc tuân thủ mẫu PR, hướng dẫn đóng góp, quy ước mã, bảo mật, hiệu suất, và…
writing-tsdocs
medusajs
Thêm và cập nhật chú thích TypeDoc (TSDoc) vào các tệp nguồn TypeScript trong codebase Medusa. Bao gồm các loại HTTP, tuyến API, thành phần UI, mô hình dữ liệu, dịch vụ…
mcloud-variables
medusajs
Thực thi các lệnh biến mcloud để liệt kê và lấy các biến môi trường cho một môi trường Cloud. Sử dụng khi kiểm tra, đọc hoặc xuất môi trường…
mcloud-deployments
medusajs
Thực thi các lệnh mcloud deployments để liệt kê các bản triển khai, lấy thông tin chi tiết bản triển khai và tải nhật ký bản dựng. Sử dụng khi liệt kê các bản triển khai, kiểm tra bản triển khai…
writing-docs
medusajs
Viết và cập nhật các tệp MDX tài liệu Medusa cho các dự án book, resources, ui, user-guide và cloud. Sử dụng khi thực hiện các thay đổi tài liệu dựa trên…
building-storefronts
medusajs
Tích hợp frontend theo SDK cho các storefront Medusa với các mẫu React Query và quy tắc gọi API quan trọng. Luôn sử dụng Medusa JS SDK cho mọi yêu cầu API—không bao giờ dùng fetch() thông thường, vì nó thiếu các header cần thiết (khóa API có thể xuất bản cho các route store, xác thực cho các route admin). Truyền các đối tượng JavaScript thuần cho các phương thức SDK; không bao giờ dùng JSON.stringify() trên các tham số body, vì SDK tự động xử lý tuần tự hóa. Sử dụng useQuery cho các yêu cầu GET và useMutation cho các yêu cầu POST/DELETE,...