Skip to content

Refactor libraries-release-notes into shared release-notes skill#10282

Draft
jeffhandley wants to merge 3 commits intomainfrom
jeffhandley/release-notes-skill
Draft

Refactor libraries-release-notes into shared release-notes skill#10282
jeffhandley wants to merge 3 commits intomainfrom
jeffhandley/release-notes-skill

Conversation

@jeffhandley
Copy link
Member

We used this skill to generate release-notes/11.0/preview/preview1/libraries.md and release-notes/11.0/preview/preview2/libraries.md (dotnet11-preview2-libraries). This PR refactors the skill to separate the team-specific aspects from the generally-applicable aspects, with a structure for each team to add their own context for their portion of the release notes. For example, Libraries, ASP.NET, and WinForms have API Diff information that can be incorporated both for sake of identifying potential content, and for verifying correctness.

Skill workflow:

  1. Identify team and collect inputs — Determines which component's release notes are being produced, loads team-specific context
    (repos, labels, optional steps), and collects the preview name and Code Complete date range.
  2. Collect and enrich PRs — Searches for merged PRs using label-scoped queries against the team's repositories, fetches full PR bodies
    and linked issues, gathers reaction counts as popularity signals, and identifies Copilot-generated summaries. Teams that opt into API
    diff review get an additional cross-referencing pass that catches PRs missed by date range or label filters.
  3. Verify scope — Deduplicates candidates against prior preview release notes (retaining them in context for theme continuations), then
    spot-checks the VMR release branch to confirm the newest changes actually shipped.
  4. Author content — Categorizes entries into impact tiers (headline features, quality, performance, significant API additions), groups
    related PRs under shared headings, references prior release notes for theme continuations, and applies formatting and editorial rules
    covering tone, benchmark accuracy, entry naming, and feature ranking by customer impact.
  5. Suggest reviewers — Aggregates PR authors, assignees, mergers, and coauthors into area-grouped reviewer suggestions so the release
    notes author knows who to tag for each section.
  6. Confirm and finalize — Presents the complete draft with categorization, reviewer suggestions, and any unresolved items for user
    approval before writing the output file.

jeffhandley and others added 3 commits February 20, 2026 12:24
- Add reviewer suggestion step (Step 5) that gathers PR authors, assignees,
  mergers, and coauthors to suggest release notes reviewers grouped by area
- Add feature grouping guidance to categorize related PRs under single sections
- Add positive tone guidelines to editorial rules
- Add issue/PR reference format rules: {org}/{repo}#{number} with markdown links
- Add copilot-instructions.md entry so future sessions discover the skill
- Update data collection and enrichment steps to populate reviewers table
- Exclude bots and Copilot from all reviewer suggestions including coauthors

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Rename the skill from libraries-release-notes to release-notes with a
progressive disclosure model for team-specific context. Common building
blocks are shared across all dotnet teams, with team context files
providing per-team configuration (repos, labels, optional steps).

Common building blocks:
- process-inputs, collect-prs, enrich-prs, sql-storage
- dedup-previous-releases, verify-release-branch
- categorize-entries, format-template, editorial-rules
- github-tools, suggest-reviewers

Optional shared steps:
- api-diff-review (opt-in per team context)

Team contexts:
- libraries (dotnet/runtime, area-System.* labels, API diff review)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Add compatibility field to frontmatter
- Expand description with additional trigger keywords (changelog, what's new)
- Flatten references/teams/ to references/team-*.md (spec: one level deep)
- Add example usage section showing sample prompt and expected output

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@richlander
Copy link
Member

Before we merge this, can you demonstrate this working, with some actual PRs on this repo for preview 2?

@jeffhandley
Copy link
Member Author

@richlander Already done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants