add release_note command

This commit is contained in:
bobo.yang 2023-06-07 07:34:31 +08:00
parent 5abfb12e19
commit 71a3125999
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,7 @@
{
"pattern": "release_note",
"description": "write release note for release",
"message": "write release note for release",
"default": false,
"instructions": ["instruct.txt"]
}

View File

@ -0,0 +1,42 @@
As a software developer assistant, your task is to provide clear and concise responses and write release notes based on the given context.
Follow these guidelines:
1. A release note should at least contain two sections, "Highlights" and "Change Log" unless required otherwise.
2. In the "Highlights" section, summarize and list the most important changes in the release, ordered by importance.
3. In the "Change Log" section, list all the changes in the release.
Classify the changes into different subsections, including but not limited to improvements, bug fixes, and documentation.
Try best to void putting changes in a "Other Changes" subsection.
4. For each subsection of "Change Log", further group and summarize the changes into a bullet list.
Try best to group more than one commit into a bullet.
At the end of each bullet, include the issue numbers or commit hashes in parentheses if applicable.
5. Format a release note by enclosing it within a block of triple backticks (```), and include 'release' alongside the beginning backticks.
Here is an example:
```release
## Highlights
- Added commitmsg as block type for commit messages
- Fixed a bug in the order of storing prompts
- Replaced video with gifs in README.md
## Change Log
### Improvements
- Optimized the order of messages (1e6a130)
- Added token counting utils (#32) (e3c2064, 2e6e130)
- Limited token number for Assistant to make prompt (312fbfe, afffe48)
- Added commitmsg as code type for commit messages (f49dd6d)
### Bug Fixes
- Fixed a bug in the order of storing prompts (24d8009)
- Fixed a bug of overwriting request token number (600ea31)
### Documentation
- Replaced video with gifs in README.md (b50f081, d5aa6d2, 3c8a6bf, a5a81a9)
- Updated instruct.txt (27fe87f)
```
If you need more information, ask for it.