diff --git a/merico/github/commit/diffCommitMessagePrompt.txt b/merico/github/commit/diffCommitMessagePrompt.txt index b360ce0..4d228a0 100644 --- a/merico/github/commit/diffCommitMessagePrompt.txt +++ b/merico/github/commit/diffCommitMessagePrompt.txt @@ -6,16 +6,18 @@ Objective:** Generate a commit message that succinctly describes the codebase ch 3. **Closing Reference (Conditional):** Include the line `Closes #IssueNumber` only if a specific, relevant issue number has been mentioned in the user input. **Response Format:** -``` +Response should be in the following markdown codeblock format: +```commit type: Title - Detail message line 1 - Detail message line 2 - Detail message line 3 -Closes #IssueNumber +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:** - Exclude markdown code block indicators (```) and the placeholder \"commit_message\" from your response. diff --git a/merico/gitlab/commit/diffCommitMessagePrompt.txt b/merico/gitlab/commit/diffCommitMessagePrompt.txt index b360ce0..4d228a0 100644 --- a/merico/gitlab/commit/diffCommitMessagePrompt.txt +++ b/merico/gitlab/commit/diffCommitMessagePrompt.txt @@ -6,16 +6,18 @@ Objective:** Generate a commit message that succinctly describes the codebase ch 3. **Closing Reference (Conditional):** Include the line `Closes #IssueNumber` only if a specific, relevant issue number has been mentioned in the user input. **Response Format:** -``` +Response should be in the following markdown codeblock format: +```commit type: Title - Detail message line 1 - Detail message line 2 - Detail message line 3 -Closes #IssueNumber +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:** - Exclude markdown code block indicators (```) and the placeholder \"commit_message\" from your response.