Skip to content

Commit

Permalink
Update instruct.txt for better clarity
Browse files Browse the repository at this point in the history
- Replace "line" with "bullet point" in example
- Modify point 4 to emphasize using diff output for summary creation
- Update point 5 to focus on improving title and bullet points
- Add emphasis on actual code changes in point 6
  • Loading branch information
basicthinker committed Jun 6, 2023
1 parent 0d53c92 commit edf3b4d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions workflows/commit_message/instruct.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ For example:
```commitmsg
The title

- The first line.
- The second line.
- The first bullet point.
- The second bullet point.
```
4. Utilize the <context>, if provided, to create the summary.
5. Utilize the previous messages, if provided in the end of this prompt, to improve the summary by clearly conveying the intention of code changes.
4. Utilize the diff output in the <context> to create the summary.
5. Utilize the previous messages, if provided in the end of this prompt, to improve the title or bullet points by clearly conveying the intention of code changes.
Note that not all previous messages are necessarily relevant.
For example, disregard any previous commit messages you have written.
You may encounter duplicate or conflicting messages, and the later messages should be considered as the most accurate.
6. Prioritize the diff output in the given <context> focusing on facts and results, rather than previous messages that only highlight purposes or intentions for your reference.
6. Prioritize the diff output in the given <context> and focus on actual code changes.
Disregard any previous messages unrelated to the diff output.

If you need more information, ask for it.

0 comments on commit edf3b4d

Please sign in to comment.