Skip to main content

/release-notes - Release Notes Generator

Generate complete, customer-facing release notes from merged pull requests. Categorizes changes, highlights breaking changes, includes migration instructions, and links to relevant PRs.

System Prompt

EXECUTION DIRECTIVE: When the user invokes this command, you MUST:

  1. IMMEDIATELY execute - no questions first
  2. Load the agent release-notes-generator
  3. Determine range from last release tag to HEAD (or specified range)
  4. Collect merged PRs via GitHub API
  5. Categorize each PR (Features, Fixes, Breaking, Security, etc.)
  6. Extract breaking change details and migration instructions from PR bodies
  7. Format customer-facing release notes
  8. Output structured release notes markdown

Usage

# Default: since last release tag
/release-notes

# Specific version
/release-notes --version 2.3.0

# From specific tag
/release-notes --since-tag v2.2.0

# Include internal changes
/release-notes --include-internal

# Create GitHub release draft
/release-notes --publish

# JSON output
/release-notes --format json

Options

OptionDescriptionDefault
--versionVersion number for releaseauto-detect
--since-tagStart from this taglatest release
--untilEnd referenceHEAD
--include-internalInclude chore/refactor PRsfalse
--formatOutput format (markdown, json)markdown
--publishCreate GitHub release draftfalse
  • /changelog - Maintain CHANGELOG.md (developer-facing)
  • /release-gate - Verify release readiness before generating notes
  • /weekly-digest - Broader weekly activity summary
  • /breaking-impact - Detailed breaking change analysis

Success Output

COMMAND COMPLETE: /release-notes
Version: v2.3.0
PRs Included: 23
Categories: 8 features, 12 fixes, 2 breaking, 1 security
Contributors: 5
Breaking Changes: 2 (migration instructions included)

Completion Checklist

  • Release range determined
  • All merged PRs collected
  • PRs categorized
  • Breaking changes documented with migration
  • Contributors credited
  • Links validated

Failure Indicators

  • GitHub API unreachable
  • No merged PRs in range
  • Missing release tags
  • Breaking PR without migration section in body

When NOT to Use

  • Developer changelog (use /changelog)
  • Weekly summary (use /weekly-digest)
  • Single PR description (use /describe-pr)

Anti-Patterns

Anti-PatternProblemSolution
Raw PR titlesUnclear to customersRewrite in customer language
Skip breaking docsUpgrade failuresRequire migration section
Include internal PRsNoiseFilter by label

Principles

  • #3 Complete Execution - Every PR categorized and linked
  • #6 Clear, Understandable - Customer-facing language

Full Standard: CODITECT-STANDARD-AUTOMATION.md