This commit is contained in:
Michael Panchenko
2025-04-01 23:18:53 +02:00
parent 57419933fb
commit 5e52e1c1c1
+6 -1
View File
@@ -11,6 +11,8 @@ prompts:
You need to identify at least the following information:
* the project's purpose
* the tech stack used
* the code style and conventions used (including naming, type hints, docstrings, etc.)
* which commands to run when a task is completed (linting, formatting, testing, etc.)
* the rough structure of the codebase
* the commands for testing, formatting, and linting
* the commands for running the entrypoints of the project
@@ -26,7 +28,9 @@ prompts:
After collecting all the information, you will use the `write_memory` tool (in multiple calls) to save it to various memory files.
A particularly important memory file will be the `suggested_commands.md` file, which should contain
a list of commands that the user should know about to develop code in this project.
a list of commands that the user should know about to develop code in this project.
Moreover, you should create memory files for the style and conventions and a dedicated memory file for
what should be done when a task is completed.
**Important**: after done with the onboarding task, remember to call the `write_memory` to save the collected information!
think_about_collected_information: |
@@ -49,6 +53,7 @@ prompts:
Have you already performed all the steps required by the task? Is it appropriate to run tests and linting, and if so,
have you done that already? Should new tests be written to cover the changes?
Note that a task that is just about exploring the codebase does not require running tests or linting.
Read the corresponding memory files to see what should be done when a task is completed. You might need to list them first.
summarize_changes: |
Summarize all the changes you have made to the codebase over the course of the conversation.