.agents/skills/ort-release-notes/SKILL.md
Use this skill to produce a consistent release-note draft from commit history and contributor metadata.
Use this skill when you need to:
Collect these inputs from the user or infer from context:
preset: release profile name (for example, ort, webgpu-plugin-ep, cuda-plugin-ep)base_ref: previous release tagtarget_ref: release commit/tag/branch tipOptional inputs:
version overrideoutput_dir overrideRead preset definitions from presets.json.
The config defines shared output defaults:
outputDirPatterndraftFileNameEach preset defines:
displayName: reader-facing product or component nameversionFilepathsFile (nullable): file of git pathspecs to filter to, one per line. Use :(top) to anchor an entry at repo root.Example presets:
ort (full ONNX Runtime)webgpu-plugin-ep (scoped WebGPU Plugin EP)cuda-plugin-ep (scoped CUDA Plugin EP)The cuda-plugin-ep preset uses the pathspecs in plugin-ep-cuda/paths.txt to scope release-note changes.
displayName whenever the release-note content names the product or component. The preset
key is internal and must not appear in published content.pathsFile, run in scoped mode. Otherwise run full mode.version inputversionFileresolved_output_dir after this step.
The output directory contains contributor artifacts and the release notes draft.
Resolve it in this order:
output_dir inputoutputDirPattern rendered with preset name and resolved versiontools/python/compile_contributors.py.--paths-file only when preset has a pathsFile.resolved_output_dir/logs.txt matches base/target before trusting them.resolved_output_dir/detail.csv as the primary source for PR numbers, titles, authors, target commits, and cherry-pick mapping.
resolved_output_dir/logs.txt for contributor summary context and base/target verification.git log only as a fallback sanity check when artifacts are present but incomplete or suspect.resolved_output_dir/<draftFileName>.## Highlights## ContributorsdisplayName, not the internal preset key.pathsFile, configuration files, or other release-note-generation implementation
details in the release-note content.detail.csv outputgithub-actions[bot], app/copilot-swe-agent, claude)Full ORT metadata:
python .\tools\python\compile_contributors.py \
--base <previous_tag> \
--target <target_ref> \
--dir <resolved_output_dir>
Scoped metadata:
python .\tools\python\compile_contributors.py \
--base <previous_tag> \
--target <target_ref> \
--dir <resolved_output_dir> \
--paths-file <paths_file>
Default policy unless release owners override:
output_dir for contributor artifacts, logs, and the release-note draft.