Skip to content

Commit e8e1a41

Browse files
committed
Reorder prompt documentation sections in README to list Editing and Asking before Search categories
1 parent 073e117 commit e8e1a41

1 file changed

Lines changed: 82 additions & 82 deletions

File tree

‎README.md‎

Lines changed: 82 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -43,86 +43,67 @@ Invoke your favorite coding agent headlessly or in the integrated terminal.
4343

4444
Overview of CWC-constructed prompts.
4545

46-
### 📄 Agentic search
46+
### 📄 Editing
4747

48-
_Task-relevant files via tool calling._
48+
_New features, bug fixes, and refactors._
4949

5050
<details>
51-
<summary>AGENT</summary>
51+
<summary>WEB/API</summary>
5252

5353
```
54-
# Task
54+
# Files
5555
56-
In the project, find the complete set of primary and structural files relevant to the query.
56+
[SELECTED FILES]
5757
5858
# Output formatting
5959
60-
Output strictly as a bulleted list of file paths without explanations or any other text (e.g., - `path/to/file.ext`).
60+
Whenever showing a new, updated, renamed, or deleted file, provide a brief explanation, then print the path in a markdown heading (e.g. ### New file: `src/examples/hello.py`, ### Updated file: `src/examples/hello.py`, ### Renamed file: `src/examples/hello.py` (old) `src/welcome.py` (new), ### Deleted file: `src/examples/hello.py`), followed by a markdown code block showing the original and updated code snippets with Git-style merge conflict syntax. Example:
6161
62-
# Query
62+
[EXAMPLE]
63+
64+
# Task
6365
6466
[INSTRUCTIONS]
6567
```
6668

6769
</details>
6870

69-
### 📄 Intelligent search
70-
71-
_Narrow-down broader selection._
72-
7371
<details>
74-
<summary>WEB</summary>
72+
<summary>AGENT</summary>
7573

7674
```
7775
# Files
7876
79-
[WORKSPACE FILES, A FOLDER OR SELECTED FILES]
80-
81-
# Task
82-
83-
Among the attached files, find the complete set of primary and structural files relevant to the query.
84-
85-
# Output formatting
86-
87-
Your response must begin with "**Intelligent file search results:**", then a bulleted list of file paths, followed by a brief explanation. Example:
88-
89-
**Intelligent file search results:**
77+
[SELECTED FILES]
9078
91-
- `src/index.ts`
92-
- `src/greetings/hello.ts`
93-
- `src/greetings/welcome.ts`
79+
# Requirements
9480
95-
These files contain the core greeting logic and module exports.
81+
- All project's files were preloaded to [files](#files). You must work strictly within the provided context.
82+
- Calling tools, including shell commands (e.g. grep, glob, ls, git, etc.) is FORBIDDEN.
83+
- Exception: If [task](#task) includes *.png image paths, read them using the appropriate tool.
84+
- Exception: Perform file system operations (create, update, delete) required to complete the [task](#task).
9685
97-
# Query
86+
# Task
9887
9988
[INSTRUCTIONS]
10089
```
10190

10291
</details>
10392

93+
### 📄 Asking
94+
95+
_Explanations, planning, and analysis._
96+
10497
<details>
105-
<summary>API</summary>
98+
<summary>WEB/API</summary>
10699

107100
```
108101
# Files
109102
110-
[WORKSPACE FILES, A FOLDER OR SELECTED FILES]
103+
[SELECTED FILES]
111104
112105
# Task
113106
114-
Among the attached files, find the complete set of primary and structural files relevant to the query.
115-
116-
# Output formatting
117-
118-
Output strictly as a bulleted list of file paths without explanations or any other text. Example:
119-
120-
- `src/index.ts`
121-
- `src/greetings/hello.ts`
122-
- `src/greetings/welcome.ts`
123-
124-
# Query
125-
126107
[INSTRUCTIONS]
127108
```
128109

@@ -134,93 +115,101 @@ Output strictly as a bulleted list of file paths without explanations or any oth
134115
```
135116
# Files
136117
137-
[WORKSPACE FILES, A FOLDER OR SELECTED FILES]
138-
139-
# Task
140-
141-
Among the attached files, find the complete set of primary and structural files relevant to the query.
142-
143-
# Output formatting
144-
145-
Output strictly as a bulleted list of file paths without explanations or any other text. Example:
146-
147-
- `src/index.ts`
148-
- `src/greetings/hello.ts`
149-
- `src/greetings/welcome.ts`
118+
[SELECTED FILES]
150119
151120
# Requirements
152121
153122
- All project's files were preloaded to [files](#files). You must work strictly within the provided context.
154123
- Calling tools, including shell commands (e.g. grep, glob, ls, git, etc.) is FORBIDDEN.
124+
- Exception: If [task](#task) includes *.png image paths, read them using the appropriate tool.
155125
156-
# Query
126+
# Task
157127
158128
[INSTRUCTIONS]
159129
```
160130

161131
</details>
162132

163-
### 📄 Editing
133+
### 📄 Agentic search
164134

165-
_New features, bug fixes, and refactors._
135+
_Task-relevant files via tool calling._
166136

167137
<details>
168-
<summary>WEB/API</summary>
138+
<summary>AGENT</summary>
169139

170140
```
171-
# Files
141+
# Task
172142
173-
[SELECTED FILES]
143+
In the project, find the complete set of primary and structural files relevant to the query.
174144
175145
# Output formatting
176146
177-
Whenever showing a new, updated, renamed, or deleted file, provide a brief explanation, then print the path in a markdown heading (e.g. ### New file: `src/examples/hello.py`, ### Updated file: `src/examples/hello.py`, ### Renamed file: `src/examples/hello.py` (old) `src/welcome.py` (new), ### Deleted file: `src/examples/hello.py`), followed by a markdown code block showing the original and updated code snippets with Git-style merge conflict syntax. Example:
178-
179-
[EXAMPLE]
147+
Output strictly as a bulleted list of file paths without explanations or any other text (e.g., - `path/to/file.ext`).
180148
181-
# Task
149+
# Query
182150
183151
[INSTRUCTIONS]
184152
```
185153

186154
</details>
187155

156+
### 📄 Intelligent search
157+
158+
_Narrow-down broader selection._
159+
188160
<details>
189-
<summary>AGENT</summary>
161+
<summary>WEB</summary>
190162

191163
```
192164
# Files
193165
194-
[SELECTED FILES]
166+
[WORKSPACE FILES, A FOLDER OR SELECTED FILES]
195167
196-
# Requirements
168+
# Task
197169
198-
- All project's files were preloaded to [files](#files). You must work strictly within the provided context.
199-
- Calling tools, including shell commands (e.g. grep, glob, ls, git, etc.) is FORBIDDEN.
200-
- Exception: If [task](#task) includes *.png image paths, read them using the appropriate tool.
201-
- Exception: Perform file system operations (create, update, delete) required to complete the [task](#task).
170+
Among the attached files, find the complete set of primary and structural files relevant to the query.
202171
203-
# Task
172+
# Output formatting
173+
174+
Your response must begin with "**Intelligent file search results:**", then a bulleted list of file paths, followed by a brief explanation. Example:
175+
176+
**Intelligent file search results:**
177+
178+
- `src/index.ts`
179+
- `src/greetings/hello.ts`
180+
- `src/greetings/welcome.ts`
181+
182+
These files contain the core greeting logic and module exports.
183+
184+
# Query
204185
205186
[INSTRUCTIONS]
206187
```
207188

208189
</details>
209190

210-
### 📄 Asking
211-
212-
_Explanations, planning, and analysis._
213-
214191
<details>
215-
<summary>WEB/API</summary>
192+
<summary>API</summary>
216193

217194
```
218195
# Files
219196
220-
[SELECTED FILES]
197+
[WORKSPACE FILES, A FOLDER OR SELECTED FILES]
221198
222199
# Task
223200
201+
Among the attached files, find the complete set of primary and structural files relevant to the query.
202+
203+
# Output formatting
204+
205+
Output strictly as a bulleted list of file paths without explanations or any other text. Example:
206+
207+
- `src/index.ts`
208+
- `src/greetings/hello.ts`
209+
- `src/greetings/welcome.ts`
210+
211+
# Query
212+
224213
[INSTRUCTIONS]
225214
```
226215

@@ -232,15 +221,26 @@ _Explanations, planning, and analysis._
232221
```
233222
# Files
234223
235-
[SELECTED FILES]
224+
[WORKSPACE FILES, A FOLDER OR SELECTED FILES]
225+
226+
# Task
227+
228+
Among the attached files, find the complete set of primary and structural files relevant to the query.
229+
230+
# Output formatting
231+
232+
Output strictly as a bulleted list of file paths without explanations or any other text. Example:
233+
234+
- `src/index.ts`
235+
- `src/greetings/hello.ts`
236+
- `src/greetings/welcome.ts`
236237
237238
# Requirements
238239
239240
- All project's files were preloaded to [files](#files). You must work strictly within the provided context.
240241
- Calling tools, including shell commands (e.g. grep, glob, ls, git, etc.) is FORBIDDEN.
241-
- Exception: If [task](#task) includes *.png image paths, read them using the appropriate tool.
242242
243-
# Task
243+
# Query
244244
245245
[INSTRUCTIONS]
246246
```

0 commit comments

Comments
 (0)