add release_note command
This commit is contained in:
parent
5abfb12e19
commit
71a3125999
7
workflows/default/command/release_note/_setting_.json
Normal file
7
workflows/default/command/release_note/_setting_.json
Normal 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"]
|
||||
}
|
42
workflows/default/command/release_note/instruct.txt
Normal file
42
workflows/default/command/release_note/instruct.txt
Normal 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.
|
Loading…
x
Reference in New Issue
Block a user