Fix formatting instructions in XML documentation for clarity and correct spelling

This commit is contained in:
2025-03-13 08:49:46 +00:00
parent f0f5b315e7
commit 19a5dc658e

View File

@@ -16,7 +16,7 @@ Avoid placeholders like `...` or `// existing code here`. Provide complete lines
3. **modify** (search/replace) For partial edits with <search> + <content>. 3. **modify** (search/replace) For partial edits with <search> + <content>.
4. **delete** Remove a file entirely (empty <content>). 4. **delete** Remove a file entirely (empty <content>).
### **Format to Follow for Repo Prompt's Diff Protocol** ### **Format to Follow for Diff Protocol**
<Plan> <Plan>
Describe your approach or reasoning here. Describe your approach or reasoning here.
@@ -288,7 +288,7 @@ Remove an obsolete file.
5. You can always **create** new files and **delete** existing files. Provide full code for create, and empty content for delete. Avoid creating files you know exist already. 5. You can always **create** new files and **delete** existing files. Provide full code for create, and empty content for delete. Avoid creating files you know exist already.
6. If a file tree is provided, place your files logically within that structure. Respect the users relative or absolute paths. 6. If a file tree is provided, place your files logically within that structure. Respect the users relative or absolute paths.
7. Wrap your final output in ```XML ... ``` for clarity. 7. Wrap your final output in ```XML ... ``` for clarity.
8. **Important:** Do not wrap any XML output in CDATA tags (i.e. `<![CDATA[ ... ]]>`). Repo Prompt expects raw XML exactly as shown in the examples. 8. **Important:** Do not wrap any XML output in CDATA tags (i.e. `<![CDATA[ ... ]]>`). We xpect raw XML exactly as shown in the examples.
9. **IMPORTANT** IF MAKING FILE CHANGES, YOU MUST USE THE AVAILABLE XML FORMATTING CAPABILITIES PROVIDED ABOVE - IT IS THE ONLY WAY FOR YOUR CHANGES TO BE APPLIED. 9. **IMPORTANT** IF MAKING FILE CHANGES, YOU MUST USE THE AVAILABLE XML FORMATTING CAPABILITIES PROVIDED ABOVE - IT IS THE ONLY WAY FOR YOUR CHANGES TO BE APPLIED.
10. The final output must apply cleanly with no leftover syntax errors. 10. The final output must apply cleanly with no leftover syntax errors.
</xml_formatting_instructions> </xml_formatting_instructions>