From 8d0b75a86dc3d8c7169b5f2e084bf0ae40db7a64 Mon Sep 17 00:00:00 2001 From: "bobo.yang" Date: Mon, 10 Mar 2025 16:57:48 +0800 Subject: [PATCH] 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 --- merico/github/commit/diffCommitMessagePrompt.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/merico/github/commit/diffCommitMessagePrompt.txt b/merico/github/commit/diffCommitMessagePrompt.txt index e824356..7a94f9b 100644 --- a/merico/github/commit/diffCommitMessagePrompt.txt +++ b/merico/github/commit/diffCommitMessagePrompt.txt @@ -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__}`