docs: Update commit message prompt format

- Remove closing reference section from example output
- Remove instruction about issue closing reference
- Simplify prompt by removing redundant constraints
This commit is contained in:
bobo.yang 2025-03-10 16:57:48 +08:00
parent 4fdd536226
commit 8d0b75a86d

View File

@ -13,10 +13,7 @@ type: Title
- Detail message line 1
- Detail message line 2
- 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.
**Constraints:**
@ -24,7 +21,6 @@ Only output the commit message codeblock, don't include any other text.
- Follow commit message best practices:
- Limit the title length to 50 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__}`