feat: AI-powered release notes generator#575
Conversation
Add a new `chronus release-notes` CLI command that collects pending change
descriptions and assembles a structured prompt for AI tools to generate
blog-post-style release notes.
Key components:
- Context collection: gathers changes, groups by kind/package, applies enrichers
- Prompt template system: default template with {{variable}} interpolation,
customizable via .chronus/release-notes-prompt.md
- CLI command: --context-only for raw data, full prompt output by default
- GitHub enricher plugin: adds PR numbers, authors, commit URLs
- Copilot Cloud Agent skill: .github/copilot/release-notes.md
- New package exports: @chronus/chronus/release-notes, @chronus/github/release-notes
commit: |
|
All changed packages have been documented.
Show changes
|
… feat/release-notes-generator
Summary
Adds a new
chronus release-notesCLI command that collects pending change descriptions and assembles a structured prompt for AI tools (GitHub Copilot Cloud Agent, Claude, etc.) to generate blog-post-style release notes.What's included
chronus release-notesCLI command--context-only: outputs raw structured change data (markdown or JSON)--package/--policy: scope to specific packages or version policies--output/--format: control output destination and formatPrompt template system
<details>).chronus/release-notes-prompt.mdin the repo{{context}},{{version}},{{slug}},{{packages}},{{releaseDate}},{{policy}}GitHub enricher plugin (
@chronus/github/release-notes)Copilot Cloud Agent skill (
.github/copilot/release-notes.md)New package exports
@chronus/chronus/release-notes@chronus/github/release-notesUsage
Design
The prompt template is modeled after the typespec-release-notes-author project's output format, producing release notes pages with:
<details>block