mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-03 03:05:00 +00:00
fix: Update prompts.py to follow Conventional Commits guidelines
This commit is contained in:
parent
2521e990e7
commit
b9d912f432
1 changed files with 3 additions and 16 deletions
|
@ -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!
|
||||
"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue