Skip to content

Commit d170079

Browse files
committed
Refactor "Edit context" prompt example into a collapsible details section
1 parent 8381a7c commit d170079

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎README.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,19 @@ _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:
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.
42+
43+
<details>
44+
<summary>"Edit context" prompt type.</summary>
4245

4346
```
44-
---------------------------
45-
"Edit context" prompt type.
46-
---------------------------
4747
<files>[the selected files]</files>
4848
<system>[edit format instructions]</system>
4949
[user-typed instructions]
5050
```
5151

52+
</details>
53+
5254
Other prompt types, like "Code at cursor" follow a similar pattern.
5355

5456
> [!TIP]

0 commit comments

Comments
 (0)