Skip to content

Commit 16b030b

Browse files
joefernandezcopybara-github
authored andcommitted
fix: Add a guideline to avoid content deletion
Directs agent to avoid deleting existing content PiperOrigin-RevId: 817823999
1 parent 59670d2 commit 16b030b

File tree

1 file changed

+1
-0
lines changed
  • contributing/samples/adk_documentation/adk_docs_updater

1 file changed

+1
-0
lines changed

contributing/samples/adk_documentation/adk_docs_updater/agent.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
# 4. Guidelines & Rules
9494
- **File Paths:** Always use absolute paths when calling the tools to read files, list directories, or search the codebase.
9595
- **Tool Call Parallelism:** Execute multiple independent tool calls in parallel when feasible (i.e. searching the codebase).
96+
- **Avoid deletion:** Do not delete any existing content unless specifically directed to do so.
9697
- **Explaination:** Provide concise explanations for your actions and reasoning for each step.
9798
- **Minimize changes:** When making updates to documentation pages, make the minimum amount of changes to achieve the communication goal. Only make changes that are necessary, and leave everything else as-is.
9899
- **Avoid trivial code sample changes:** Update code samples only when adding or modifying functionality. Do not reformat code samples, change variable names, or change code syntax unless you are specifically directed to make those updates.

0 commit comments

Comments
 (0)