feat(commit): improve commit message generation prompt
This commit is contained in:
parent
1f70a57e11
commit
e30a623fec
1 changed files with 2 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
pkgs.writeShellScriptBin "commit" # bash
|
pkgs.writeShellScriptBin "commit" # bash
|
||||||
''
|
''
|
||||||
PROMPT="Please generate a one-line commit message using conventional commit syntax, following the context."
|
PROMPT="Please generate a commit message for this diff."
|
||||||
GUIDELINES="1. Use conventional commit syntax, following the context. "
|
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."
|
||||||
NUM_ANCESTORS=0
|
NUM_ANCESTORS=0
|
||||||
|
|
||||||
# Parse arguments
|
# Parse arguments
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue