Writing releases

From medusajs/medusa · View interactive version

Writing releases is an AI agent skill from the GitHub repository medusajs/medusa. Writes GitHub release notes for Medusa releases in the established style. Use when generating a draft release description from a list of commits and PR metadata. Covers minimal patch releases, single-highlight releases, multi-feature releases, and releases with breaking changes.

How to use this skill

Skill file

Writing Medusa Release Notes

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

Constraints

Load Reference Files When Needed

Load at least one reference file before writing.

| Task | Load |

|------|------|

| Formatting sections and bullets | reference/format.md |

| Deciding whether to write Highlights; identifying breaking changes, behavior changes, migrations, and dependency changes | reference/release-types.md |

| Writing the Highlights section | reference/highlights.md |

Quick Reference

Release type decision

| Commit set | Release type |

|-----------|-------------|

| Only routine fixes/chores, no user-facing impact | Minimal — no Highlights section |

| One important change is the main reason for the release | Single Highlight |

| Multiple significant features or fixes | Multi-Highlight |

| Any PR with a minor changeset in .changeset/ | Add 🚧 to that Highlight |

| Fix/feature that changes existing commerce behavior | Highlight with **Behavior change** |

| Breaking dependency change | 🚧 Highlight with other breaking changes |

| New package or non-breaking dependency change | Last Highlight: Dependency Updates |

| New migrations or migration scripts | ## Run Migrations at the top |

Section order (include only sections with entries, except the MCP prompt)

MCP update prompt (always)
## Run Migrations
## Highlights
## Features
## Bugs
## Documentation
## Chores
## Other Changes
## New Contributors
**Full Changelog**: [vPREV...vNEW](url)

Common Mistakes

Reference Files

reference/format.md          — section order, bullet format, commit prefix → section mapping
reference/release-types.md   — when to add Highlights; breaking, behavior, migration, and dependency detection
reference/highlights.md      — Highlight ordering and how to write subsections
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.