diff --git a/workflows/default/command/release_note/_setting_.json b/workflows/default/command/release_note/_setting_.json new file mode 100644 index 0000000..144c8ed --- /dev/null +++ b/workflows/default/command/release_note/_setting_.json @@ -0,0 +1,7 @@ +{ + "pattern": "release_note", + "description": "write release note for release", + "message": "write release note for release", + "default": false, + "instructions": ["instruct.txt"] +} \ No newline at end of file diff --git a/workflows/default/command/release_note/instruct.txt b/workflows/default/command/release_note/instruct.txt new file mode 100644 index 0000000..9d9b771 --- /dev/null +++ b/workflows/default/command/release_note/instruct.txt @@ -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. \ No newline at end of file