Skip to content

Commit 078598c

Browse files
committed
Add new guidelines to commit message style rules
1 parent 12ae7fb commit 078598c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

prompt.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,9 @@ func BuildPrompt(
144144
"10. Do not end the subject line with a period.\n" +
145145
"11. Mimic the style of existing commit messages in the repository.\n" +
146146
"12. Adhere to repository style even if it diverges from these rules.\n" +
147-
"13. Use bullet points to list changes in the body.",
147+
"13. Use bullet points to list changes in the body." +
148+
"14. Do NOT repeat the content of the diff in the message." +
149+
"15. Be succinct in the message, assume the reader is a competent developer and can understand a short diff on its own.",
148150
},
149151
}
150152

0 commit comments

Comments
 (0)