Files
ruflo/.roo/rules-code/tool_guidelines_index.md
T
rUv 4134144018 Add comprehensive guidelines for file operations, code editing, and search/replace functionality
- Introduced detailed guidelines for `apply_diff`, `read_file`, `write_to_file`, `insert_content`, and `search_and_replace` operations to prevent common errors and ensure best practices.
- Created a new index for tool usage guidelines to facilitate easy navigation and reference.
- Established rules for preventing apply_diff errors, emphasizing the importance of avoiding literal diff markers in code examples.
- Updated `.roomodes` with new roles and instructions for various development tasks, including architecture design, coding, testing, debugging, security review, documentation, integration, and deployment monitoring.
2025-06-11 16:09:59 +00:00

1.1 KiB

Tool Usage Guidelines Index

To prevent common errors when using tools, refer to these detailed guidelines:

File Operations

Code Editing

Common Error Prevention

Key Points to Remember:

  1. Always include all required parameters for each tool
  2. Verify file existence before attempting modifications
  3. For apply_diff, never include literal diff markers in code examples
  4. For search_and_replace, always include both search and replace parameters
  5. For write_to_file, always include the line_count parameter
  6. For insert_content, always include valid start_line and content in operations array