From b2f27dfb9ecd1cfcd6433e2b4afee76596b142be Mon Sep 17 00:00:00 2001 From: mijauexe Date: Wed, 7 May 2025 12:56:09 +0200 Subject: [PATCH] Add missing prompts for spec writer --- .../spec-writer/add_to_specification.prompt | 6 ++++++ .../build_full_specification.prompt | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 core/prompts/spec-writer/add_to_specification.prompt create mode 100644 core/prompts/spec-writer/build_full_specification.prompt diff --git a/core/prompts/spec-writer/add_to_specification.prompt b/core/prompts/spec-writer/add_to_specification.prompt new file mode 100644 index 0000000000..c923557e7d --- /dev/null +++ b/core/prompts/spec-writer/add_to_specification.prompt @@ -0,0 +1,6 @@ +The human who described the app, told you this: +``` +{{ user_message }} +``` + +Rewrite the entire spec and incorporate user's message. You must oblige to what user said and make sure to follow all the rules listed above. \ No newline at end of file diff --git a/core/prompts/spec-writer/build_full_specification.prompt b/core/prompts/spec-writer/build_full_specification.prompt new file mode 100644 index 0000000000..8c307471b9 --- /dev/null +++ b/core/prompts/spec-writer/build_full_specification.prompt @@ -0,0 +1,19 @@ +You need to build full specification for an app that a human described like this: +``` +{{ initial_prompt }} +``` + +Here are the rules that you **MUST** follow while writing the specs: +**IMPORTANT** +{% if not auth %} +DO NOT mention any kind of authentication like registration, login, logout, forgot password etc. because the human does not want it. +{% endif %} +DO NOT mention any kind of testing, either manual or automated - no unit, integration, regression, end to end or any other kind of testing. +DO NOT mention any kind of deployment instructions, CICD pipeline or anything that's not related to the actual development of the app or user interactions +DO NOT mention any kind of stack - it will be written in React+ShadCN and Nodejs for backend +DO NOT mention anything about database models +DO NOT mention anything about the architecture or hosting + +**IMPORTANT THINGS YOU SHOULD DO** +Focus on the user interactions because this specification will be read by a semi technical person who's main goal is to understand how this app will look and feel to the end user. +If there are any 3rd party technologies or tools that need to be used for this app, add a section with an overview of the 3rd party tech that needs to be utilized. \ No newline at end of file