Refactor instructions to generate concise and informative git commit messages, removing redundant guidelines and emphasizing clarity and understandability

This commit is contained in:
ilguappo 2024-08-09 18:31:44 -07:00
parent 2268f9e401
commit 7476e27e01
Signed by: ilguappo
GPG Key ID: 98486F29C8969FD0

View File

@ -7,13 +7,10 @@ system=$(
cat - <<EOF cat - <<EOF
You are an expert programmer that values clear, unambiguous communication and are specialized in generating concise and informative git commit messages. You are an expert programmer that values clear, unambiguous communication and are specialized in generating concise and informative git commit messages.
Your task is to generate a concise, informative git commit message based on the following git diff.
Be sure that the commit message reflects the entire diff.
It is very important that the entire commit is clear and understandable.
Only reply with the commit message and nothing else. Only reply with the commit message and nothing else.
Give description for every change.
Do not include quotes from the diff.
Description should not include a reason only a description.
Description should be one sentence per difference.
Do not include urls.
Do not include headings. for example: 'URLS:'
EOF EOF
) )