Skip to content

feat: extract translation and merge resolver modes into reusable skills#11215

Draft
roomote[bot] wants to merge 3 commits intomainfrom
feature/CLO-722-extract-skills-and-slash-commands
Draft

feat: extract translation and merge resolver modes into reusable skills#11215
roomote[bot] wants to merge 3 commits intomainfrom
feature/CLO-722-extract-skills-and-slash-commands

Conversation

@roomote
Copy link
Contributor

@roomote roomote bot commented Feb 5, 2026

Summary

This PR extracts the Translator and Merge Resolver modes into reusable Agent Skills with corresponding slash commands, as requested in CLO-722.

Changes

New Skills

Skill Description
roo-translation Comprehensive guidelines for translating and localizing Roo Code extension strings
roo-conflict-resolution Guidelines for resolving merge conflicts intelligently using git history analysis

New Slash Commands

Command Mode Purpose
/roo-translate translate Shortcut to invoke the translation skill
/roo-resolve-conflicts merge-resolver Shortcut to invoke the conflict resolution skill

Files Added

  • .roo/skills/roo-translation/SKILL.md - Translation skill with i18n guidelines
  • .roo/skills/roo-conflict-resolution/SKILL.md - Conflict resolution skill with git-based workflow
  • .roo/commands/roo-translate.md - Slash command for translation
  • .roo/commands/roo-resolve-conflicts.md - Slash command for conflict resolution

Notes

  • The existing translate and merge-resolver modes are preserved unchanged
  • The skills extract the reusable knowledge from the mode-specific rules
  • The slash commands provide quick access to the modes with helpful context

View task on Roo Code Cloud


Important

Extracts translation and merge resolver modes into reusable skills with new slash commands and documentation.

  • New Skills:
    • roo-translation: Guidelines for translating and localizing Roo Code extension strings.
    • roo-conflict-resolution: Guidelines for resolving merge conflicts using git history analysis.
  • New Slash Commands:
    • /roo-translate: Activates the translation skill.
    • /roo-resolve-conflicts: Activates the conflict resolution skill.
  • Files Added:
    • .roo/skills/roo-translation/SKILL.md: Translation skill documentation.
    • .roo/skills/roo-conflict-resolution/SKILL.md: Conflict resolution skill documentation.
    • .roo/commands/roo-translate.md: Slash command for translation.
    • .roo/commands/roo-resolve-conflicts.md: Slash command for conflict resolution.
  • Notes:
    • Existing translate and merge-resolver modes are unchanged.
    • Skills extract reusable knowledge from mode-specific rules.
    • Slash commands provide quick access to modes with context.

This description was created by Ellipsis for e03ff45. You can customize this summary. It will automatically update as commits are pushed.

- Add roo-translation skill with comprehensive i18n guidelines
- Add roo-conflict-resolution skill for intelligent merge conflict resolution
- Add /roo-translate slash command as shortcut for translation skill
- Add /roo-resolve-conflicts slash command as shortcut for conflict resolution skill

The existing translate and merge-resolver modes are preserved. These new skills
and commands provide reusable access to the same functionality.

Closes CLO-722
@roomote
Copy link
Contributor Author

roomote bot commented Feb 5, 2026

Rooviewer Clock   See task on Roo Cloud

Review complete. The 2 previously identified issues remain unresolved.

  • Fix incorrect relative paths in .roo/skills/roo-translation/SKILL.md (lines 157-159) - the language-specific guideline links should use ../../rules-translate/ instead of .roo/rules-translate/
  • Fix incorrect relative path in .roo/skills/roo-translation/SKILL.md (line 41) - the guidance file link should use ../../guidance/roo-translator.md instead of .roo/guidance/roo-translator.md
Previous reviews

Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues.

Comment on lines +149 to +151
- [`instructions-de.md`](.roo/rules-translate/instructions-de.md) - German translation guidelines
- [`instructions-zh-cn.md`](.roo/rules-translate/instructions-zh-cn.md) - Simplified Chinese translation guidelines
- [`instructions-zh-tw.md`](.roo/rules-translate/instructions-zh-tw.md) - Traditional Chinese translation guidelines
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The relative paths here are incorrect. Since this file is at .roo/skills/roo-translation/SKILL.md, paths like .roo/rules-translate/instructions-de.md will resolve to .roo/skills/roo-translation/.roo/rules-translate/instructions-de.md, which doesn't exist. The correct relative path from this skill file to the rules-translate directory is ../../rules-translate/.

Suggested change
- [`instructions-de.md`](.roo/rules-translate/instructions-de.md) - German translation guidelines
- [`instructions-zh-cn.md`](.roo/rules-translate/instructions-zh-cn.md) - Simplified Chinese translation guidelines
- [`instructions-zh-tw.md`](.roo/rules-translate/instructions-zh-tw.md) - Traditional Chinese translation guidelines
- [`instructions-de.md`](../../rules-translate/instructions-de.md) - German translation guidelines
- [`instructions-zh-cn.md`](../../rules-translate/instructions-zh-cn.md) - Simplified Chinese translation guidelines
- [`instructions-zh-tw.md`](../../rules-translate/instructions-zh-tw.md) - Traditional Chinese translation guidelines

Fix it with Roo Code or mention @roomote and request a fix.

- Add .roo/guidances/roo-translator.md for brand voice, tone, and word choice guidance
- Update roo-translation skill to reference the guidance file

The guidance file serves as a placeholder for translation style guidelines
that will be interpolated at runtime.

For detailed brand voice, tone, and word choice guidance, refer to the guidance file:

- [`.roo/guidances/roo-translator.md`](.roo/guidances/roo-translator.md)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same relative path issue as lines 157-159: this path will resolve incorrectly since the SKILL.md is inside .roo/skills/roo-translation/. The correct path should traverse up two directories.

Suggested change
- [`.roo/guidances/roo-translator.md`](.roo/guidances/roo-translator.md)
- [`.roo/guidances/roo-translator.md`](../../guidances/roo-translator.md)

Fix it with Roo Code or mention @roomote and request a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant