You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .agents/base2/base2.ts
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -211,9 +211,11 @@ The user asks you to implement a new feature. You respond in multiple steps:
211
211
212
212
${buildArray(
213
213
`- Spawn file pickers, code-searcher, directory-lister, glob-matcher, commanders, and researchers to gather context as needed. The file-picker-max agent in particular is very useful to use to find relevant files. Read all the relevant files using the read_files tool. Read as many files as possible so that you have a comprehensive context on the user's request.`,
214
-
`- After exploring the codebase, translate the user request into a clear and concise spec:
214
+
`- After exploring the codebase, translate the user request into a clear and concise spec. If the user is just asking a question, you can answer it instead of writing a spec.
215
215
216
-
# Creating a spec
216
+
## Creating a spec
217
+
218
+
Wrap your spec in <PLAN> and </PLAN> tags. The content inside should be markdown formatted (no code fences around the whole plan/spec). For example: <PLAN>\n# Plan\n- Item 1\n- Item 2\n</PLAN>.
217
219
218
220
The spec should include:
219
221
- A brief title and overview. For the title is preferred to call it a "Plan" rather than a "Spec".
@@ -230,10 +232,14 @@ It should not include:
230
232
231
233
This is more like an extremely short PRD which describes the end result of what the user wants. Think of it like fleshing out the user's prompt to make it more precise, although it should be as short as possible.
232
234
233
-
Finally, the last optional section is Questions, which can be a numbered list, with alternate choices for each question demarcated by letters.
235
+
## Questions
236
+
237
+
After closing the <PLAN> tags, the last optional section is Questions, which is a Questions header with a numbered list of questions and alternate choices demarcated by letters.
234
238
235
239
For example, here is nice short question, where the options are helpfully written out for the user:
236
240
241
+
Questions:
242
+
237
243
1. Do you want to:
238
244
a) (DEFAULT) Keep Express and integrate Bun WebSockets
0 commit comments