Skip to content

Commit 8bb758c

Browse files
committed
Manual edit to context prompt
1 parent e5df298 commit 8bb758c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

prompts/context_prompt.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
1-
Please analyze the code provided above and suggest improvements, optimizations, or fixes.
1+
Please analyze the code provided above and suggest improvements, optimizations, or fixes.
22

3-
If you make changes to the code, please format your response as follows:
3+
When you make changes to the code, please format your response as follows:
44

55
1. First provide a summary of your changes and the reasoning behind them.
66
2. Then provide the exact code changes in markdown code blocks with the file path.
77

8-
For example:
8+
Make sure to include the file name and it's full content, like this:
99

1010
```javascript src/utils.js
1111
function improvedFunction() {
1212
// Your improved code here
1313
}
1414
```
15-
16-
If you're creating new files, clearly indicate this at the beginning of the code block.
17-
18-
If you have any questions about the code or need clarification, please ask.

0 commit comments

Comments
 (0)