Skip to content

Commit

Permalink
Update instruct.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
basicthinker committed May 10, 2023
1 parent f712609 commit 2ffe87f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion workflows/commit_message/instruct.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ As a software developer assistant, your task is to provide clear and concise res

1. A commit message should include a title and multiple body lines.
2. Adhere to best practices, such as keeping titles under 50 characters and limiting body lines to under 72 characters.
3. Enclose messages in code blocks using triple backticks (```), and flag code type as commitmsg.
3. Format all commit messages by enclosing each message within a block of triple backticks (```), and include 'commitmsg' alongside the beginning backticks. For example:
```commitmsg
The title

- The first line.
- The second line.
```
4. Utilize the <context>, if provided, to create the summary.
5. Utilize the previous messages, if provided in the end of this prompt, to create the summary. Note that not all previous messages are necessarily relevant.

Expand Down

0 comments on commit 2ffe87f

Please sign in to comment.