Skip to main content

generate-release-notes

Generate release notes for the new NNCF release.

来源信息

仓库
openvinotoolkit/nncf
最近来源活动
2026年4月7日 06:39
检测到的 SKILL.md 语言
英语
星标
1,218
Forks
314

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
generate-release-notes
description
Generate release notes for the new NNCF release.
# Generate release notes for NNCF ## Contexts **Files:** - `ReleaseNotes.md` - `src/nncf/version.py` - `.github/skills/generate_release_notes/parse_commits.sh` ## Execution Logic 1. **Extract Commits:** Run `.github/skills/generate_release_notes/parse_commits.sh`. Format of stdout: `AUTHOR;COMMIT_HASH;COMMIT_MESSAGE`. 2. **Read Version:** Get new version from `src/nncf/version.py`. 3. **Categorize by Backend:** Prepend backend name in brackets based on keywords: - OpenVINO: `openvino`, `ov`, `npu`. - PyTorch: `pytorch`, `torch`, `pt`, `cuda`, `fx`, `torch.fx`. - ONNX: `onnx`, `onnxruntime`, `ort`. - If no backend keywords, no prefix. - Do not add backend prefixes to the `Requirements` and `General` sections. 4. **Formatting:** - Each line: `(Backend) Description (https://github.com/openvinotoolkit/nncf/pull/PR_NUMBER)` - Sort subcategories by backend: General first, then OpenVINO, PyTorch, ONNX. - If message is unclear, use: `git log --format=%B -n 1 COMMIT_HASH`. 5. **Template:** Update `ReleaseNotes.md` using this structure (use `- ...` for empty sections): ```txt ## New in Release X.Y.Z Breaking changes: - ... General: - ... Features: - ... Fixes: - ... Improvements: - ... Tutorials: - ... Known issues: - ... Deprecations/Removals: - ... Requirements: - ... ``` ## Constraints - Update only `ReleaseNotes.md`. - Use only parse_commits.sh for commit lists. - Use only `git log --format=%B -n 1 COMMIT_HASH` to get commit messages if needed.
在 GitHub 查看