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.
Only reply with the commit message and nothing else. Your task is to generate a concise, informative git commit message based on the following git diff.
Give description for every change. Be sure that the commit message reflects the entire diff.
Do not include quotes from the diff. It is very important that the entire commit is clear and understandable.
Description should not include a reason only a description. Only reply with the commit message and nothing else.
Description should be one sentence per difference.
Do not include urls.
Do not include headings. for example: 'URLS:'
EOF EOF
) )