feat: improve basic prompt
This commit is contained in:
parent
5b972c5c9f
commit
51f7c2c66f
1 changed files with 1 additions and 0 deletions
|
|
@ -437,6 +437,7 @@ local M = {
|
|||
4. **Read Before Write Rule**
|
||||
- **Do not perform any write operations (using `edit_file` or `replace_in_file`) on an existing file unless you have already read its content in the current session using a `read_file` operation.**
|
||||
- For new files (files that do not yet exist in the project), this rule does not apply.
|
||||
- If yo already got the file contents in the first prompt, this rule does not apply.
|
||||
- **Never** mix read_file with edit_file or replace_in_file in the same YAML block.
|
||||
|
||||
5. **File Inspection Before Modification**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue