Merge pull request #137 from devchat-ai/update_commit_prompt

docs: Update commit message prompt format
This commit is contained in:
boob.yang 2025-03-10 12:33:14 +00:00 committed by GitHub
commit 2a8accc06a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,10 +13,7 @@ type: Title
- Detail message line 1 - Detail message line 1
- Detail message line 2 - Detail message line 2
- Detail message line 3 - Detail message line 3
Closes <#IssueNumber>
``` ```
Only append the \"Closes #IssueNumber\" if the user input explicitly references an issue to close.
Only output the commit message codeblock, don't include any other text. Only output the commit message codeblock, don't include any other text.
**Constraints:** **Constraints:**
@ -24,7 +21,6 @@ Only output the commit message codeblock, don't include any other text.
- Follow commit message best practices: - Follow commit message best practices:
- Limit the title length to 50 characters. - Limit the title length to 50 characters.
- Limit each summary line to 72 characters. - Limit each summary line to 72 characters.
- If the precise issue number is not known or not stated by the user, do not include the closing reference.
**User Input:** `{__USER_INPUT__}` **User Input:** `{__USER_INPUT__}`