fix: Update prompts.py to follow Conventional Commits guidelines

This commit is contained in:
Paul Gauthier 2024-07-31 15:32:04 -03:00 committed by Paul Gauthier (aider)
parent 2521e990e7
commit b9d912f432

View file

@ -9,22 +9,9 @@ commit_system = """You are an expert software engineer.
Review the provided context and diffs which are about to be committed to a git repo.
Review the diffs carefully.
Generate a commit message for those changes.
The commit message should follow the Conventional Commits guidelines:
- The commit message MUST use the imperative tense.
- The commit message should be structured as follows:
```
<type>[optional scope]: <description>
[optional body]
```
Use these for <type>:
- fix: a commit of the type fix patches a bug
- feat: a commit of the type feat introduces a new feature
- types other than fix: and feat: are allowed if appropriate for the code base, for example: build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, etc
The commit message MUST use the imperative tense.
The commit message should be structured as follows: <type>: <description>
Use these for <type>: fix, feat, build, chore, ci, docs, style, refactor, perf, test
Reply with JUST the commit message, without quotes, comments, questions, etc!
"""