diff --git a/euclid/prompts/development/env_setup/cli_response.prompt b/euclid/prompts/development/env_setup/cli_response.prompt new file mode 100644 index 0000000..2f596d0 --- /dev/null +++ b/euclid/prompts/development/env_setup/cli_response.prompt @@ -0,0 +1,4 @@ +Response from the CLI: +``` +{{ cli_response }} +``` \ No newline at end of file diff --git a/euclid/prompts/development/env_setup/install_next_technology.prompt b/euclid/prompts/development/env_setup/install_next_technology.prompt new file mode 100644 index 0000000..6c6c9c5 --- /dev/null +++ b/euclid/prompts/development/env_setup/install_next_technology.prompt @@ -0,0 +1,4 @@ +Let's install `{{ technology }}` - respond with the command that I need to run to check if {{ technology }} is installed and ready to be used on my machine. You must not respond by anything other than these things: +When you want to tell me a command I need to run, respond only with the command you want me to run and nothing else. +When the technology is fully installed, respond with `INSTALLED`. +If the previous command was meant to check if the technology is install and if it wasn't, respond with `NOT_INSTALLED`. \ No newline at end of file diff --git a/euclid/prompts/development/env_setup/specs.prompt b/euclid/prompts/development/env_setup/specs.prompt new file mode 100644 index 0000000..8e7b944 --- /dev/null +++ b/euclid/prompts/development/env_setup/specs.prompt @@ -0,0 +1,15 @@ +You are working in a software development agency and a project manager and software architect approach you telling you that you're assigned to work on a new project. You are working on a web app called Euclid and your first job is to set up the environment on a computer. + +Here are the technologies that you need to use for this project: +``` +{% for tech in technologies %} +- {{ tech }} +{% endfor %} +``` + +Let's set up the environment on my machine. Here are the details about my machine: +``` +{{ os_info }} +``` + +First, filter out the technologies from the list above and tell me, which technologies need to be installed on my machine. That is everything OS specific and not dependencies, libraries, etc. Do not respond with anything else except the list in a JSON array format. \ No newline at end of file diff --git a/euclid/prompts/development/env_setup/unsuccessful_installation.prompt b/euclid/prompts/development/env_setup/unsuccessful_installation.prompt new file mode 100644 index 0000000..8e11eb8 --- /dev/null +++ b/euclid/prompts/development/env_setup/unsuccessful_installation.prompt @@ -0,0 +1 @@ +Ok, let's install {{ technology }} on my machine. You will tell me a command that I need to run and I will tell you the output I got. Then, if the command was executed successfully, you will tell me the next command that I need to run to install {{ technology }}, and if the command didn't execute successfully, tell me a command to try to fix the current issue. \ No newline at end of file diff --git a/euclid/prompts/development/implement_changes.prompt b/euclid/prompts/development/implement_changes.prompt new file mode 100644 index 0000000..e2e597b --- /dev/null +++ b/euclid/prompts/development/implement_changes.prompt @@ -0,0 +1,18 @@ +I will show you contents from a file {{ file_name }} and the instructions of what changes need to be made to that file. The instructions will be in the following format: +-- INSTRUCTIONS -- +{all_the_instructions} +-- END OF INSTRUCTIONS -- + +I want you to modify the file contents and respond with the entire file along with the modifications. If anything needs to be written by the user, add the comment in the same line as the code that starts with `// INPUT_REQUIRED {input_description}` where `input_description` is a description of what needs to be added here by the user. + +Here is how the file `{{ file_name }}` looks now: +```javascript +{{ file_content }} +``` + +Here are the instructions for changes that need to be made: +-- INSTRUCTIONS -- +{{ instructions }} +-- END OF INSTRUCTIONS -- + +Do not write anything else but only the file contents. Keep in mind that the changes might be related to multiple files. You don't need to think about any other changes except for the changes in `index.js` \ No newline at end of file diff --git a/euclid/prompts/high_level_questions/specs.prompt b/euclid/prompts/high_level_questions/specs.prompt index e2bb880..9e5f535 100644 --- a/euclid/prompts/high_level_questions/specs.prompt +++ b/euclid/prompts/high_level_questions/specs.prompt @@ -1,6 +1,6 @@ -I want you to create the {{app_type}} (let's call it Euclid) that can be described like this: +I want you to create the application (let's call it Euclid) that can be described like this: ``` -{{ description }} +{{ prompt }} ``` I'm going to show you an overview of tasks that you need to do to lead the process of creating this app and for each task, I will tell you an example of how would you solve this task for the example app. diff --git a/euclid/prompts/system_messages/code_monkey.prompt b/euclid/prompts/system_messages/code_monkey.prompt new file mode 100644 index 0000000..c0ef55b --- /dev/null +++ b/euclid/prompts/system_messages/code_monkey.prompt @@ -0,0 +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. \ No newline at end of file diff --git a/euclid/prompts/system_messages/dev_ops.prompt b/euclid/prompts/system_messages/dev_ops.prompt new file mode 100644 index 0000000..e69de29