Roo-Code/.roo
KJ7LNW d1ab71c60e
Improve translation workflow to avoid unnecessary file reads (#5126)
* dotroo: improve translation workflow to reduce unnecessary file reads

Update translation workflow guidelines to use search_files instead of reading
each translation file individually. This approach is more efficient and
reduces context token usage while maintaining translation accuracy.

The improved workflow:
- Uses search_files to find JSON structure in translation files
- Creates proper context for apply_diff without reading every file
- Only reads specific files when their structure differs
- Validates changes with the missing translations script

Fixes: #5125
Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>

* Update 001-general-rules.md

---------

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
Co-authored-by: Daniel <57051444+daniel-lxs@users.noreply.github.com>
2025-06-25 20:24:30 -04:00
..
rules Farewell jest (#4607) 2025-06-16 21:39:45 -07:00
rules-code fix: use safeWriteJson for all JSON file writes with race condition fix (#4733) 2025-06-25 16:05:02 -04:00
rules-docs-extractor Docs extractor mode (#4621) 2025-06-13 11:29:12 -04:00
rules-integration-tester feat(tests): core tools integration tests (#4433) 2025-06-12 11:50:25 -04:00
rules-issue-fixer feat: add PR check monitoring to issue-fixer workflow (#5077) 2025-06-24 15:00:19 -04:00
rules-issue-writer feat: update issue-writer mode rules for streamlined feature request template (#4850) 2025-06-18 15:36:31 -04:00
rules-mode-writer Add Mode Writer mode to repo (#4600) 2025-06-13 22:32:09 -06:00
rules-pr-fixer feat(pr-fixer): add validation step to workflow (#5078) 2025-06-24 15:00:35 -04:00
rules-pr-reviewer Improve pr-reviewer to verify resolved comments by checking code (#5112) 2025-06-25 16:07:29 -04:00
rules-translate Improve translation workflow to avoid unnecessary file reads (#5126) 2025-06-25 20:24:30 -04:00