一键导入
release-notes
Draft release notes for a new ORC version. Use when preparing a release to generate changelog and GitHub release body from git history.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Draft release notes for a new ORC version. Use when preparing a release to generate changelog and GitHub release body from git history.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review ORC controller code for Kubernetes best practices and ORC conventions. Use after implementing or modifying a controller.
Add a dependency on another ORC resource to a controller. Use when a resource needs to reference or wait for another resource (e.g., Subnet depends on Network).
Create a new ORC controller for an OpenStack resource. Use when adding support for a new OpenStack resource type (e.g., LoadBalancer, FloatingIP).
Write an enhancement proposal for a new ORC feature. Use for significant new features, breaking changes, or cross-cutting architectural changes.
Run ORC tests (unit tests, linting, and E2E tests). Use after making changes to verify correctness.
Update an existing ORC controller. Use when adding fields, making fields mutable, adding tag support, or improving error handling.
| name | release-notes |
| description | Draft release notes for a new ORC version. Use when preparing a release to generate changelog and GitHub release body from git history. |
| disable-model-invocation | true |
Guide for drafting release notes when preparing a new ORC release.
Use this skill when:
Ask the user for:
v2.5.0)HEAD. When the release is cut from a different branch (e.g., release-2.0), use that branch as the upper bound of the commit range instead of HEAD. Release notes may be written on main even though the release is cut from a release branch.Then determine the previous release tag automatically:
git tag --sort=-v:refname | head -1
Run these commands to gather the raw data. Replace <prev> with the previous tag and <release> with the release branch (e.g., upstream/release-2.0) or HEAD if releasing from the current branch:
# Full commit log
git log <prev>..<release> --oneline
# Contributors with commit counts
git shortlog -sne <prev>..<release>
# New controller directories (compare directory listings)
diff <(git ls-tree -d --name-only <prev> internal/controllers/ | sort) \
<(git ls-tree -d --name-only <release> internal/controllers/ | sort) \
| grep '^>'
# All authors who ever contributed before this release
git log <prev> --format='%aN' | sort -u > /tmp/old-contributors.txt
# Authors in this release
git log <prev>..<release> --format='%aN' | sort -u > /tmp/new-contributors.txt
# First-time contributors
comm -13 /tmp/old-contributors.txt /tmp/new-contributors.txt
For each first-time contributor, find the PR number of their first contribution:
git log <prev>..<release> --author="<name>" --oneline --reverse | head -1
Then look up the corresponding PR number from the merge commit message (format: Merge pull request #NNN).
Note: When using a release branch, make sure to fetch it first (e.g.,
git fetch upstream release-2.0). The merge commit on the release branch may reference a backport PR number rather than the original PR. Use the original PR number frommainfor release notes since that's where the review and discussion happened.
Review every commit and sort into sections. Use these rules:
Commits that add a new controller directory under internal/controllers/. Format:
- <Kind>: Manage <OpenStack service> <resource description>
Examples:
Keypair: Manage Nova SSH keypairsVolume: Manage Cinder block storage volumesDomain: Manage Keystone identity domainsFeature additions or enhancements to existing controllers or infrastructure. When scoped to a specific controller, prefix with the controller name and colon:
- <Controller>: <Description of the feature>
Examples:
Server: Added ability to specify SSH keypairAdded support for generating and publishing OLM bundle imagesBug fixes, especially those referencing GitHub issues. Include the issue link when available:
- <Description> (Fixes [#NNN](https://github.com/k-orc/openstack-resource-controller/issues/NNN))
Examples:
Allow to use application credentials with access rules (Fixes [#596](https://github.com/k-orc/openstack-resource-controller/issues/596))Documentation: Fixed examples in getting-started guideAPI incompatibilities or behavioral changes that require user action. Only include this section if there are breaking changes. List the specific type/field changes.
Important information users need to know when upgrading. Only include this section when relevant (e.g., new minimum OpenStack version requirements).
Group related items. Common categories:
Do NOT include in release notes:
The opening summary is optional. Include one when:
Format: 1-2 sentences before the first section heading.
Example from v2.3.0:
This release brings support for updating resources after creation for all relevant controllers. You can now modify your OpenStack infrastructure in-place without recreating resources, enabling true lifecycle management for production workloads.
This is the markdown body for the GitHub release (used with gh release create).
Template:
## What's Changed
<!-- Optional: opening summary paragraph -->
### New controllers
- Kind1: Description
- Kind2: Description
### New features
- Controller: Feature description
- Feature description
### Bug fixes
- Fix description (Fixes [#NNN](https://github.com/k-orc/openstack-resource-controller/issues/NNN))
### Infrastructure improvements
- Category: Description
## New Contributors
- @username made their first contribution in [#NNN](https://github.com/k-orc/openstack-resource-controller/pull/NNN)
**Full Changelog**: [<prev>...<new>](https://github.com/k-orc/openstack-resource-controller/compare/<prev>...<new>)
Notes:
This is prepended to website/docs/changelog.md, right after the # Changelog heading.
Template:
## v<MAJOR>.<MINOR> - <Month> <Day>, <Year>
<!-- Optional: opening summary paragraph -->
### New controllers
- Kind1: Description
### New features
- Feature description
### Bug fixes
- Fix description (Fixes [#NNN](https://github.com/k-orc/openstack-resource-controller/issues/NNN))
### Infrastructure improvements
- Description
Notes:
v<MAJOR>.<MINOR> (no patch version) with the full dateBefore presenting the draft to the user, verify: