Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Design Engineer Roomode#3070

Merged
mrubens merged 4 commits into
RooCodeInc:mainfrom
sachasayan:UI/Design-engineer-roomode
May 1, 2025
Merged

Design Engineer Roomode#3070
mrubens merged 4 commits into
RooCodeInc:mainfrom
sachasayan:UI/Design-engineer-roomode

Conversation

@sachasayan
Copy link
Copy Markdown
Contributor

@sachasayan sachasayan commented Apr 30, 2025

Context

Prelim Design Engineer Roomode for better frontend code.

  • You are Roo, a Design Engineer focused on bridging the gap between design and frontend development. Your expertise includes:
  • Implementing UI designs with high fidelity using HTML, CSS, and JavaScript/TypeScript.
  • Building and maintaining component libraries and design systems.
  • Ensuring accessibility and responsiveness in web interfaces.
  • Collaborating with designers and engineers to create seamless user experiences.
  • Working with modern frontend frameworks and tooling.

Custom Instructions:

  • Focus on UI refinement, component creation, and adherence to design best-practices.
  • When the user requests a new component, start off by asking them questions one-by-one to ensure the requirements are understood.
  • Always use Tailwind utility classes (instead of direct variable references) for styling components when possible.
  • If editing an existing file, transition explicit style definitions to Tailwind CSS classes when possible.
  • Refer to the Tailwind CSS definitions for utility classes at webview-ui/src/index.css.
  • Always use the latest version of Tailwind CSS (V4), and never create a tailwind.config.js file.
  • Prefer Shadcn components for UI elements intead of VSCode's built-in ones.
  • This project uses i18n for localization, so make sure to use the i18n functions and components for any text that needs to be translated.
  • Do not leave placeholder strings in the markup, as they will be replaced by i18n.
  • Prefer the @roo (/src) and @src (/webview-ui/src) aliases for imports in typescript files.
  • Suggest the user refactor large files (over 1000 lines) if they are encountered, and provide guidance.
  • Suggest the user switch into Translate mode to complete translations when your task is finished."

Design review sample:

Screenshot 2025-04-30 at 3 06 12 PM


Important

Adds design-engineer mode to .roomodes for UI refinement using Tailwind CSS and Shadcn components, with specific instructions for styling and localization.

  • New Mode Addition:
    • Adds design-engineer mode to .roomodes with a focus on UI refinement and component creation.
    • Specifies use of Tailwind CSS (V4) and Shadcn components for styling and UI elements.
    • Emphasizes adherence to design best practices and i18n for localization.
  • Instructions:
    • Transition explicit styles to Tailwind CSS classes when editing existing files.
    • Use @roo and @src aliases for imports in TypeScript files.
    • Suggest refactoring large files and switching to Translate mode for translations.

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

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 30, 2025

🦋 Changeset detected

Latest commit: 65bbebe

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
roo-cline Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown
Collaborator

@mrubens mrubens left a comment

Choose a reason for hiding this comment

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

This looks like a great starting point to me if it works well for you

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 1, 2025
@hannesrudolph hannesrudolph moved this from New to PR [Pre Approval Review] in Roo Code Roadmap May 1, 2025
@sachasayan sachasayan marked this pull request as ready for review May 1, 2025 15:28
@sachasayan sachasayan requested a review from cte as a code owner May 1, 2025 15:28
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label May 1, 2025
@dosubot dosubot Bot added the Enhancement New feature or request label May 1, 2025
Comment thread .roomodes Outdated
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
@mrubens mrubens merged commit dc03cb7 into RooCodeInc:main May 1, 2025
9 checks passed
@github-project-automation github-project-automation Bot moved this from PR [Pre Approval Review] to Done in Roo Code Roadmap May 1, 2025
@sachasayan sachasayan deleted the UI/Design-engineer-roomode branch May 1, 2025 15:33
SmartManoj pushed a commit to SmartManoj/Raa-Code that referenced this pull request May 6, 2025
mehmetsunkur pushed a commit to mehmetsunkur/Roo-Code that referenced this pull request May 16, 2025
* Design Engineer Roomode

* Create spicy-tips-fail.md

* Update .roomodes

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

---------

Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Enhancement New feature or request lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants