From 3e957b9bd85241f401e14cfbe386ef64344d1f70 Mon Sep 17 00:00:00 2001 From: LeonOstrez Date: Wed, 6 Sep 2023 21:00:01 +0200 Subject: [PATCH] disable microservices when creating app --- pilot/prompts/architecture/technologies.prompt | 4 +++- pilot/prompts/components/no_microservices.prompt | 2 ++ pilot/prompts/development/get_run_command.prompt | 2 +- pilot/prompts/development/iteration.prompt | 2 +- pilot/prompts/development/task/breakdown.prompt | 4 +++- pilot/prompts/high_level_questions/specs.prompt | 2 ++ 6 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 pilot/prompts/components/no_microservices.prompt diff --git a/pilot/prompts/architecture/technologies.prompt b/pilot/prompts/architecture/technologies.prompt index 73d23e7..2fd17df 100644 --- a/pilot/prompts/architecture/technologies.prompt +++ b/pilot/prompts/architecture/technologies.prompt @@ -29,4 +29,6 @@ Here are user tasks that specify what users need to do to interact with "{{ name Now, based on the app's description, user stories and user tasks, think step by step and write up all 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. \ No newline at end of file +You do not need to list any technologies related to automated tests like Jest, Cypress, Mocha, Selenium, etc. + +{{no_microservices}} diff --git a/pilot/prompts/components/no_microservices.prompt b/pilot/prompts/components/no_microservices.prompt new file mode 100644 index 0000000..a45fa85 --- /dev/null +++ b/pilot/prompts/components/no_microservices.prompt @@ -0,0 +1,2 @@ +**IMPORTANT** +Do not use, create or suggest any microservices. Create strictly monolithic application even if in some prompts I might suggest microservices might be better or more desired solution. Do your best to find a solution to any requirement without using microservices. \ No newline at end of file diff --git a/pilot/prompts/development/get_run_command.prompt b/pilot/prompts/development/get_run_command.prompt index a41df02..93ffc49 100644 --- a/pilot/prompts/development/get_run_command.prompt +++ b/pilot/prompts/development/get_run_command.prompt @@ -1,4 +1,4 @@ How can I run this app? -!IMPORTANT! +**IMPORTANT** Do not reply with anything else but the command with which I can run this app with. For example, if the command is "python app.py", then your response needs to be only `python app.py` without the ` \ No newline at end of file diff --git a/pilot/prompts/development/iteration.prompt b/pilot/prompts/development/iteration.prompt index c73db6e..4b984b1 100644 --- a/pilot/prompts/development/iteration.prompt +++ b/pilot/prompts/development/iteration.prompt @@ -31,5 +31,5 @@ Tell me all the new code that needs to be written or modified to implement this #} Remember, I'm currently in an empty folder where I will start writing files that you tell me. You do not need to make any automated tests work. -!!IMPORTANT!! +**IMPORTANT** Do not tell me anything about setting up the database or anything OS related - only if some dependencies need to be installed. \ No newline at end of file diff --git a/pilot/prompts/development/task/breakdown.prompt b/pilot/prompts/development/task/breakdown.prompt index 1509b57..3be9d57 100644 --- a/pilot/prompts/development/task/breakdown.prompt +++ b/pilot/prompts/development/task/breakdown.prompt @@ -35,7 +35,9 @@ Now, tell me all the code that needs to be written to implement this app and hav This should be a simple version of the app so you don't need to aim to provide a production ready code but rather something that a developer can run locally and play with the implementation. Do not leave any parts of the code to be written afterwards. Make sure that all the code you provide is working and does as outlined in the description area above. -!IMPORTANT! +{{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. You do not need to make any automated tests work. diff --git a/pilot/prompts/high_level_questions/specs.prompt b/pilot/prompts/high_level_questions/specs.prompt index b464e48..c035754 100644 --- a/pilot/prompts/high_level_questions/specs.prompt +++ b/pilot/prompts/high_level_questions/specs.prompt @@ -21,4 +21,6 @@ Here is an overview of the tasks that you need to do: Let's start with the task #1 Getting additional answers. Think about the description for the {{ app_type }} "{{ name }}" and ask questions that you would like to get cleared before going onto breaking down the user stories. +{{no_microservices}} + {{single_question}}