Skip to content

Commit 46d0623

Browse files
committed
Icons and more content
1 parent 0fd3b59 commit 46d0623

File tree

11 files changed

+102
-59
lines changed

11 files changed

+102
-59
lines changed

docs/roo-code-cloud/cloud-agents.mdx

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,44 +40,45 @@ We at Roo have been developing Roo Code mostly with Cloud Agents for several mon
4040

4141
The current line up available to your is below. Keep in mind we let you rename them as you please – we really believe in making them part of your team.
4242

43-
### The Explainer
44-
**Role:** Technical Educator
43+
### <LucideIcon name="MessageCircleQuestionMark" style={{ position: "relative", top: "2px" }} /> The Explainer
44+
**Job:** Technical Educator
4545

4646
Explains code, concepts, and technical documentation. It helps you understand complex parts of a codebase without needing to read every line.
4747

4848
- **Best for:** Onboarding to a new codebase, understanding legacy code, debugging conceptual issues.
4949

5050

51-
### The Planner
52-
**Role:** Implementation Planning and Architecture
51+
### <LucideIcon name="Map" style={{ position: "relative", top: "2px" }} /> The Planner
52+
**Job:** Implementation Planning and Architecture
5353

5454
The Planner agent maps out implementation plans and navigates complex technical decisions. It's designed to take a high-level idea or a Product Requirement Document (PRD) and break it down into a thorough, step-by-step implementation plan which can the be given to coding agent (or a human!).
5555

5656
- **Best for:** New feature planning, system architecture design, complex refactoring strategies.
5757

58-
### The Coder
59-
**Role:** Coding across all languages
58+
### <LucideIcon name="Code" style={{ position: "relative", top: "2px" }} /> The Coder
59+
**Job:** Full-scale across all languages
6060

6161
The Coder agent writes code, creates pull requests, and implements features. It is the workhorse of the platform, capable of handling end-to-end coding tasks.
6262

6363
- **Best for:** Building features, fixing bugs, refactoring components, writing tests.
6464

65-
### The PR Reviewer
66-
**Role:** Code Reviewer
65+
### <LucideIcon name="GitPullRequest" style={{ position: "relative", top: "2px" }} /> The PR Reviewer
66+
**Job:** Code reviews
6767

6868
The PR Reviewer agent automatically provides comprehensive code reviews with actionable comments. It can monitor your repositories and review incoming Pull Requests.
6969

7070
- **Best for:** Automated code quality checks, catching bugs early, enforcing coding standards.
7171

72-
### The PR Fixer
73-
**Role:** PR Feedback Fixer
72+
### <LucideIcon name="Wrench" style={{ position: "relative", top: "2px" }} /> The PR Fixer
73+
**Job:** Focused fixes
7474

7575
The PR Fixer agent is specialized in resolving issues identified in Pull Requests. It listens for feedback and autonomously implements fixes.
7676

7777
- **Best for:** Resolving PR comments, fixing CI/CD failures, addressing review feedback.
7878

79+
:::info More agents coming
7980
While this cast of characters can get most jobs done, user feedback informs the development of new agents. We have a few [currently in development](#upcoming-agents)
80-
81+
:::
8182
---
8283

8384
## How Cloud Agents Work
@@ -130,4 +131,4 @@ Most people will only have one agent of each type, but you may want to more tha
130131
- **Documentation Writer:** a tech writer that understands your code and writes actionable user-facing documentation.
131132
- **Translator:** translates strings with accuracy and following your brand voice.
132133

133-
Contact support if you're interested in trying them out in Beta or if you have other suggestions.
134+
[Write us](support@roocode.com) if you're interested in trying them out in Beta or if you have other suggestions.

docs/roo-code-cloud/github-integration.mdx

Lines changed: 11 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -35,51 +35,22 @@ Now your Cloud Agents are able to work with Github.
3535

3636
## Calling agents
3737

38-
By default, any PR Reviewer agents you have will continuously monitor for new PRs according to the criteria you define in [their settings](/roo-code-cloud/cloud-agents#settings).
38+
By default, any PR Reviewer agents you have will continuously monitor for new PRs according to the criteria you define in [their settings](/roo-code-cloud/cloud-agents#settings). So when a new PR is created, you'll see a comment like this:
3939

40+
<img src="/img/integrations/gh-response-review.png" alt="The Rooviewer agent responding" width="400" />
4041

42+
You can also call the PR Fixer agent to address any feedback you may have in the PR by calling **@Roomote** like this:
4143

42-
## Features
44+
<img src="/img/integrations/gh-mention.png" alt="Mentioning @roomote to call the fixer" width="400" />
4345

44-
### 🔍 Automated PR Reviews (PR Reviewer)
46+
You can also assign tasks to the Reviewer and Fixer from their own pages or the New Task button up top.
4547

46-
The **PR Reviewer** agent monitors your repository for new pull requests. When a PR is opened, it automatically:
47-
1. **Analyzes the code changes**: Understands the context and intent of the PR.
48-
2. **Checks for issues**: Looks for bugs, security vulnerabilities, and code style violations.
49-
3. **Posts comments**: Adds detailed, actionable review comments directly on the PR lines.
48+
The New Task page for them lets you paste a relevant URL:
5049

51-
**Configuration Options:**
52-
- **Trigger**: New PR opened or updated.
53-
- **Scope**: Can be set to review all PRs or only those from specific authors.
54-
- **Draft PRs**: Choose whether to review draft PRs or wait for "Ready for Review" status.
50+
<img src="/img/integrations/gh-new-task.png" alt="New task for the reviewer" width="400" />
5551

56-
### 🛠️ On-Demand Fixes (PR Fixer)
52+
You can then follow the task from the web UI and see the results in the PR itself.
5753

58-
The **PR Fixer** agent listens for your commands within PR comments. If a reviewer (human or AI) points out an issue, you can ask the agent to fix it.
59-
60-
**How to use:**
61-
1. **Comment on a PR**: In a PR comment, mention `@roomote` followed by your request.
62-
- Example: `@roomote please fix this null pointer exception`
63-
- Example: `@roomote refactor this function to be more readable`
64-
2. **Agent Action**: The agent acknowledges the request (👀 reaction), analyzes the code, and pushes a commit with the fix.
65-
66-
### Workflow Examples
67-
68-
#### 1. The "Set It and Forget It" Review
69-
- Developer opens a PR.
70-
- **PR Reviewer** automatically scans the changes.
71-
- It finds a potential performance issue and comments on line 42.
72-
- Developer sees the comment and decides to fix it manually or asks `@roomote` to handle it.
73-
74-
#### 2. Interactive Fixing
75-
- Human reviewer comments: "This logic seems flawed, it handles edge case X incorrectly."
76-
- Developer replies to the comment: `@roomote you're right, please handle edge case X as suggested.`
77-
- **PR Fixer** reads the thread, understands the context, and pushes a fix commit to the branch.
78-
79-
## Security & Permissions
80-
81-
- **Least Privilege**: Agents only access the repositories you explicitly select.
82-
- **Authentication**: Uses secure GitHub App authentication.
83-
- **Audit Logs**: All agent actions (comments, commits) are logged and visible in your [Roo Code Cloud Dashboard](/roo-code-cloud/dashboard).
84-
85-
[Connect GitHub Now](https://app.roocode.com/integrations)
54+
:::info It's always @Roomote
55+
Please note that you can't call specific agents by name. When you use **@Roomote**, you're mentioning the Roo Code GitHub App, which handles the integration. The app will then smartly call the appropriate agent for the context.
56+
:::

docs/roo-code-cloud/slack-integration.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,23 @@ You'll be prompted to connect to Slack when fist signing up for your account. Bu
3131
## Calling Agents
3232

3333
1. To interact with Roo Code agents, simply mention `@Roomote` in any channel where the bot is present to start a thread, giving it instructions. It will react with 👀 to acknowledge it.
34+
3435
2. Then, the app will ask you what Agent to use with what repository. You can choose "all repositories", but the more focused you can make the agent, the higher the chances of good results.
3536
<img src="/img/integrations/slack-confirm.png" alt="The Slack app checking what agent and repo to use" width="280" />
37+
3638
Keep in mind not all agents appear in this list, as some don't make sense (eg the PR Reviewer)
39+
3740
3. If the agent has any questions, it will get back to you with options, like this:
3841
<img src="/img/integrations/slack-question.png" alt="The Slack app asking for an answer" width="280" />
42+
3943
4. Once done, the agent will never directly modify your code. If it was a coding task, it will push a branch or create a PR, depending on how it's configured, but it will never touch `main`/`master` or production.
4044

4145
You can always send messages directly though by mentioning **@Roomote** again in the thread. It will keep context.
4246

47+
:::info It's always @Roomote
48+
Please note that you can't call specific agents by name. When you use **@Roomote**, you're mentioning the Roo Code Slack App, which handles the integration. That's why the app will ask you to pick an agent.
49+
:::
50+
4351

4452
## Examples
4553

package-lock.json

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"@roo-code/types": "^1.79.0",
2727
"@vscode/codicons": "^0.0.36",
2828
"clsx": "^2.0.0",
29+
"lucide-react": "^0.559.0",
2930
"posthog-docusaurus": "^2.0.4",
3031
"prism-react-renderer": "^2.3.0",
3132
"react": "^19.0.0",

src/components/LucideIcon.tsx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
import React from 'react';
2+
import * as LucideIcons from 'lucide-react';
3+
4+
interface LucideIconProps {
5+
name: keyof typeof LucideIcons;
6+
size?: number;
7+
color?: string;
8+
strokeWidth?: number;
9+
className?: string;
10+
style?: React.CSSProperties;
11+
}
12+
13+
export default function LucideIcon({
14+
name,
15+
size = 20,
16+
color,
17+
strokeWidth,
18+
className,
19+
style
20+
}: LucideIconProps): JSX.Element | null {
21+
const Icon = LucideIcons[name] as React.ComponentType<any>;
22+
23+
if (!Icon) {
24+
console.warn(`Icon "${name}" not found in lucide-react`);
25+
return null;
26+
}
27+
28+
return (
29+
<Icon
30+
size={size}
31+
color={color}
32+
strokeWidth={strokeWidth}
33+
className={className}
34+
style={style}
35+
/>
36+
);
37+
}

src/css/custom.css

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
--accent: 139, 92, 246;
2222
--accent-foreground: 0 0% 9%;
2323
--ring: 0 0% 3.9%;
24-
--destructive: 0 84.2% 60.2%;
24+
--destructive: 354, 76%, 48%;
2525
--destructive-foreground: 0 0% 98%;
2626
--border: 0 0% 89.8%;
2727
--input: 0 0% 89.8%;
@@ -60,7 +60,7 @@
6060
--ifm-color-gray-200: #e5e7eb;
6161

6262
/* Docusaurus variables for light theme */
63-
--ifm-color-primary: #60a5fa; /* Blue like roocode.com */
63+
--ifm-color-primary: #60a5fa;
6464
--ifm-color-primary-dark: #3b82f6;
6565
--ifm-color-primary-darker: #2563eb;
6666
--ifm-color-primary-darkest: #1d4ed8;
@@ -92,7 +92,7 @@
9292
--accent: 139, 92, 246;
9393
--accent-foreground: 0 0% 98%;
9494
--ring: 0 0% 83.1%;
95-
--destructive: 0 62.8% 30.6%;
95+
--destructive: 354, 76%, 48%;
9696
--destructive-foreground: 0 0% 98%;
9797
--border: 0 0% 15%;
9898
--input: 0 0% 14.9%;
@@ -1673,17 +1673,17 @@ main[class*="docMainContainer"] {
16731673
/* Admonitions (alerts) with roocode.com style */
16741674
.theme-admonition {
16751675
margin: var(--figure-margin) 0 !important;
1676-
padding: 1rem 1rem 0 !important;
1676+
padding: calc(var(--block-spacing) * 0.5) calc(var(--block-spacing) * 0.5) calc(var(--block-spacing) * 0.25) !important;
16771677
border-radius: calc(var(--radius) + 4px) !important;
16781678
border: 1px solid hsl(var(--border) / 0.5) !important;
16791679
background: hsl(var(--card)) !important;
16801680
backdrop-filter: blur(16px) !important;
16811681
}
16821682

16831683
.theme-admonition > div {
1684-
margin-bottom: 1em !important;
1685-
font-size: 1em;
1686-
font-weight: 600 !important;
1684+
margin-bottom: 0.5em !important;
1685+
font-size: var(--text-regular-size);
1686+
font-weight: 700 !important;
16871687
text-transform: none;
16881688
}
16891689

@@ -1693,6 +1693,19 @@ main[class*="docMainContainer"] {
16931693
width: 1em !important;
16941694
}
16951695

1696+
.theme-admonition-warning > div,
1697+
.theme-admonition-warning > div svg {
1698+
color: hsl(var(--destructive));
1699+
fill: hsl(var(--destructive));
1700+
}
1701+
1702+
.theme-admonition-info > div,
1703+
.theme-admonition-info > div svg {
1704+
color: rgb(var(--accent));
1705+
fill: rgb(var(--accent));
1706+
}
1707+
1708+
16961709
/* Tables with roocode.com styling */
16971710
.theme-doc-markdown table {
16981711
width: 100%;

src/theme/MDXComponents.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import MDXComponents from '@theme-original/MDXComponents';
22
import Codicon from '@site/src/components/Codicon';
3+
import LucideIcon from '@site/src/components/LucideIcon';
34

45
export default {
56
...MDXComponents,
67
Codicon,
8+
LucideIcon,
79
};
47.2 KB
Loading
68.8 KB
Loading

0 commit comments

Comments
 (0)