Skip to content

Commit b30347d

Browse files
committed
Clarify the "Edit context" prompt type example in the README
1 parent 45ca3cd commit b30347d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,18 @@ _Implement features and fix bugs without a single tool call, in mere seconds!_
3838

3939
## Introduction
4040

41-
In the world of AI coding, agents like Claude Code or Codex rely on "Function Calling" (where the AI asks "the harness" to read a file, waits for the tool to respond, then reads another). CWC flips this by letting you provide context files upfront in a single, well-structured XML message ("Edit context" prompt type):
41+
In the world of AI coding, agents like Claude Code or Codex rely on "Function Calling" (where the AI asks "the harness" to read a file, waits for the tool to respond, then reads another). CWC flips this by letting you provide context files upfront in a single, well-structured XML message:
4242

4343
```
44+
---------------------------
45+
"Edit context" prompt type.
46+
---------------------------
4447
<files>[the selected files]</files>
4548
<system>[edit format instructions]</system>
4649
[user-typed instructions]
4750
```
4851

49-
Other prompt types like "Code at cursor" follow a similar pattern.
52+
Other prompt types, like "Code at cursor" follow a similar pattern.
5053

5154
Workflow based on a single turn exchanges facilitates persistent utilization of prompt caching.
5255

0 commit comments

Comments
 (0)