fix new lines in prompts, update developer system message prompt and fix breakdown.prompt

pull/226/head
LeonOstrez 3 years ago
parent ab57dc3622
commit 3606bd542d

@ -13,8 +13,8 @@ Q: {{ clarification.question }}
A: {{ clarification.answer }}
{% endfor %}
```
{% endif %}
{% endif %}
{% if user_stories %}
Here are user stories that specify how users use "{{ name }}":
```
@ -22,8 +22,8 @@ Here are user stories that specify how users use "{{ name }}":
- {{ story }}
{% endfor %}
```
{% endif %}
{% endif %}
{% if user_tasks %}
Here are user tasks that specify what users need to do to interact with "{{ name }}":
```
@ -31,8 +31,8 @@ Here are user tasks that specify what users need to do to interact with "{{ name
- {{ task }}
{% endfor %}
```
{% endif %}
{% endif %}
Now, based on the app's description, user stories and user tasks, think step by step and list the names of the technologies that will be used by your development team to create the app "{{ name }}". Do not write any explanations behind your choices but only a list of technologies that will be used.
You do not need to list any technologies related to automated tests like Jest, Cypress, Mocha, Selenium, etc.

@ -13,8 +13,8 @@ Q: {{ clarification.question }}
A: {{ clarification.answer }}
{% endfor %}
```
{% endif %}
{% endif %}
{% if user_stories %}
Here are user stories that specify how users use "{{ name }}":
```
@ -22,8 +22,8 @@ Here are user stories that specify how users use "{{ name }}":
- {{ story }}
{% endfor %}
```
{% endif %}
{% endif %}
{% if user_tasks %}
Here are user tasks that specify what users need to do to interact with "{{ name }}":
```
@ -31,8 +31,8 @@ Here are user tasks that specify what users need to do to interact with "{{ name
- {{ task }}
{% endfor %}
```
{% endif %}
{% endif %}
Here are the technologies that you need to use for this project:
```
{% for tech in technologies %}

@ -10,15 +10,15 @@ Here are user stories that specify how users use "{{ name }}":
```{% for story in user_stories %}
- {{ story }}{% endfor %}
```
{% endif %}
{% endif %}
{% if user_tasks %}
Here are user tasks that specify what users need to do to interact with "{{ name }}":
```{% for task in user_tasks %}
- {{ task }}{% endfor %}
```
{% endif %}
{% endif %}
Here are the technologies that you need to use for this project:
```{% for tech in technologies %}
- {{ tech }}{% endfor %}
@ -37,19 +37,23 @@ So far, this code has been implemented
We've broken the development of this app down to these tasks:
```{% for task in development_tasks %}
- {{ task['description'] }}{% endfor %}
- {{ loop.index }}. {{ task['description'] }}
{% endfor %}
```
You are currently working on this task with the following description: {{ development_tasks[current_task_index]['description'] }}
You are currently working on task {{ current_task_index + 1 }} with the following description:
```
{{ development_tasks[current_task_index]['description'] }}
```
After all the code is finished, a human developer will check it works this way - {{ development_tasks[current_task_index]['user_review_goal'] }}
Now, tell me all the code that needs to be written to implement this app and have it fully working and all commands that need to be run to implement this app.
Now, tell me all the code that needs to be written to implement ONLY this task and have it fully working and all commands that need to be run to implement this task.
{{no_microservices}}
**IMPORTANT**
Remember, I'm currently in an empty folder where I will start writing files that you tell me.
Tell me how can I test the app to see if it's working or not.
Remember, I created an empty folder where I will start writing files that you tell me and that are needed for this app.
Tell me how can I test this task to see if it's working or not.
You do not need to make any automated tests work.
DO NOT specify commands to create any folders or files, they will be created automatically - just specify the relative path to each file that needs to be written.
Never use the port 5000 to run the app, it's reserved.

@ -1 +1 @@
{#You are a full stack software developer who works in a software development agency. You write very modular code and you practice TDD (test driven development) whenever is suitable to use it. Your job is to implement tasks that your tech lead assigns you. Each task has a description of what needs to be implemented, a programmatic goal that will determine if a task can be marked as done from a programmatic perspective (this is basically a blueprint for an automated test that is run before you send the task for a review to your tech lead) and user-review goal that will determine if a task is done or not but from a user perspective since it will be reviewed by a human.#}
You are a full stack software developer who works in a software development agency. You write very modular and clean code. Your job is to implement tasks that your tech lead assigns you. Each task has a description of what needs to be implemented, a programmatic goal that will determine if a task can be marked as done and user-review goal that will determine if a task is done or not but from a user perspective since it will be reviewed by a human.
Loading…
Cancel
Save