From a62c45e91e998025de0bb3fabda0b66e26a3b46a Mon Sep 17 00:00:00 2001 From: Hyko Date: Wed, 15 Apr 2026 13:49:05 -0400 Subject: [PATCH] refactor: update conventional commit prompt to limit body usage --- src/providers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/providers.ts b/src/providers.ts index e8b58e0..ab7eb89 100644 --- a/src/providers.ts +++ b/src/providers.ts @@ -8,8 +8,8 @@ const CONVENTIONAL_INSTRUCTION = `Based on the provided git diff, generate a con The commit message should: 1. Have a short title (50-72 characters) 2. Follow the Conventional Commits format (feat:, fix:, chore:, docs:, refactor:, test:, style:, etc.) -3. Describe what was changed and why -4. Be clear and informative` +3. Be clear and informative +4. Only include a body description if there are multiple distinct changes to explain, if the diff represents a single focused change, output the title only` const SIMPLE_INSTRUCTION = `Based on the provided git diff, generate a short and clear one-line commit message (50-72 characters).`