From 9fffa1d2956d65a2d309acc5f0144d3d1c44ef93 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Thu, 3 Jul 2025 21:17:14 +0800 Subject: [PATCH] feat(commit): improve commit message prompt guidelines --- packages/commit/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/commit/default.nix b/packages/commit/default.nix index 1a94a31..e50ab41 100644 --- a/packages/commit/default.nix +++ b/packages/commit/default.nix @@ -2,7 +2,7 @@ pkgs.writeShellScriptBin "commit" # bash '' PROMPT="Please generate a commit message for this diff." - GUIDELINES="1. Use conventional commit syntax, following the context. 2. Cap the commit message at 80 characters, preferably less. You must not go beyond this limit. 3. Do not include backticks. Only generate the raw text." + GUIDELINES="1. Use conventional commit syntax, following the context. 2. Cap the commit message at 80 characters, preferably less. You must not go beyond this limit. 3. Do not include backticks. Only generate the raw text. 4. Be as succint as possible. Each commit should be atomic. You may throw a warning if it is not." NUM_ANCESTORS=0 # Parse arguments