From 064eb289f3d336e564ed3cedb4e074fb7556f5ef Mon Sep 17 00:00:00 2001 From: Nick Galluzzo Date: Tue, 5 Aug 2025 18:34:35 +0700 Subject: [PATCH] docs(prompt_manager): clarify commit message generation instructions Add explicit instruction to only return commit message content without additional explanatory text, improving clarity and reducing user confusion about generated output format. --- src/diffmage/ai/prompt_manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/diffmage/ai/prompt_manager.py b/src/diffmage/ai/prompt_manager.py index 6007566..ed14b49 100644 --- a/src/diffmage/ai/prompt_manager.py +++ b/src/diffmage/ai/prompt_manager.py @@ -32,6 +32,7 @@ def get_commit_prompt( Instructions: - Use conventional commits format:(): + - Only return the commit message, nothing else. - Use imperative mood ("add", "fix", "update", not "added", "fixed", "updated") - Focus on WHAT changed and WHY, not HOW. Consider WHAT was impacted and WHY it was needed.