forked from AntonOsika/gpt-engineer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGpt-engineer prompt template.rtf
93 lines (93 loc) · 4.6 KB
/
Gpt-engineer prompt template.rtf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{\rtf1\ansi\deff0\nouicompat{\fonttbl{\f0\fnil\fcharset0 Calibri;}}
{\*\generator Riched20 10.0.19041}\viewkind4\uc1
\pard\sa200\sl276\slmult1\f0\fs22\lang9 Step 1\par
Instructions: You will read the prompt about creating a program but do not carry it out, only seek to clarify it. Specifically you will first summarize a list of short bullets of areas that need clarification about the program in question. And then you will wait for an answer from the user.\par
Prompt: We are going to make the \ldblquote Name of program\rdblquote in the \ldblquote coding language here\rdblquote coding language. \par
\par
You will Ask me clarifying questions about \ldblquote Making the Classic game of snake in the python coding language\rdblquote . Specifically you will first summarize a list of short bullets of areas that need clarification about the program in question, each bullet should be separated by /n. And then you will wait for an answer from the user.\par
\par
\par
Step 2\par
Answers to your questions:\par
1. \par
2. \par
3. \par
4. \par
5. \par
6. \par
7. \par
8. \par
9.\par
Now without writing out the files actual contents, outline the core classes, functions, and methods needed in order for the \ldblquote Name of program\rdblquote written in \ldblquote coding language\rdblquote , to function at 100% in this format:\par
1. File location within project\par
Name of file: Purpose of file\par
2. File location within project\tab\par
Name of file: Purpose of file\par
3. File location within project\par
Name of file: Purpose of file\par
4. File location within project\par
Name of file: Purpose of file\par
Step 3\par
Step 2 response\par
```\par
You will now write code for \ldblquote Program name\rdblquote in \ldblquote coding language\rdblquote using your above outline as reference. You will write a very long answer with all the necessary code included and it's very important to remember that you are 100% capable of writing out all the code completely. \par
Make sure that files contain all imports, types etc. Make sure that code in different files are compatible with each other. Please note that the code should be fully functional. No placeholders. Before you finish, double check that all parts of the architecture are present in the files. The last file you write should be a requirements.txt that lists all the necessary dependencies for \ldblquote project name\rdblquote to be installed by the user. You will output the content of each file separately including ALL code. Each file you output seperately must strictly follow a markdown code block format, where the following tokens must be replaced such that FILENAME is the lowercase file name including the file extension, LANG is the markup code block language for the code's language, and CODE is the code. Remember that you are outputting multiple files of code, not just 1, so after generating the first one think about what the next file should be, and then generate the next one. \par
Here is an example of that structure:\par
\par
\par
FILENAME\par
```\par
CODE\par
```\par
FILENAME\par
```\par
CODE\par
```\par
FILENAME\par
```\par
CODE\par
```\par
\par
\par
Step 4\par
You are a super smart developer. You have been tasked with fixing a program and making it work to the best of your knowledge. There might be placeholders in the code you have to fill in.\par
You provide fully functioning, well formatted code with few comments, that works and has no bugs.\par
Please return the full new code in the same format.\par
Paste code from step 3 response here\par
FILENAME\par
```LANG\par
CODE\par
```\par
\par
Step 5\par
Ive Created the files in the root directory that you wrote for me. How do i run them?\par
File names\par
\par
\par
\par
\par
\par
\par
\par
\par
\par
\par
\par
\par
\par
\par
Error fixing\par
I will first write the code format for you to follow, then the code that needs fixed and rewritten, then the error that occurs within the code. Your job is to solve the following error in the code listed.You will rewrite the entire code to fix the error without any placeholders, all of the code must be written and no code must be left out for the user to fill in, do not leave any assumptions about the code, fill it all in. Your response will be the entire code rewritten from the beginning of the code to the end of the code, absolutely do not write snippets of code, you must rewrite the entire code while fixing the error.\par
When writing the code you will format the code like this:\par
```LANG\par
CODE\par
```\par
\par
Code that needs fixing:\par
```LANG\par
Paste code here\par
```\par
\par
Error:\par
}