Skip to content

Commit 14f2c7a

Browse files
committed
docs: replace 'modes' documentation with 'using-modes' and update links; add images for better clarity
1 parent e043c00 commit 14f2c7a

File tree

8 files changed

+79
-51
lines changed

8 files changed

+79
-51
lines changed

docs/basic-usage/modes.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

docs/basic-usage/using-modes.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Using Modes
2+
3+
Modes in Roo Code are specialized personas that tailor the assistant's behavior to your current task. Each mode offers different capabilities, expertise, and access levels to help you accomplish specific goals.
4+
5+
## Why Use Different Modes?
6+
7+
- **Task specialization:** Get precisely the type of assistance you need for your current task
8+
- **Safety controls:** Prevent unintended file modifications when focusing on planning or learning
9+
- **Focused interactions:** Receive responses optimized for your current activity
10+
- **Workflow optimization:** Seamlessly transition between planning, implementing, debugging, and learning
11+
12+
## Switching Between Modes
13+
14+
Four ways to switch modes:
15+
16+
1. **Dropdown menu:** Click the selector to the left of the chat input
17+
18+
<img src="/img/modes/modes.png" alt="Using the dropdown menu to switch modes" width="400" />
19+
20+
2. **Slash command:** Type `/architect`, `/ask`, `/debug`, or `/code` in the chat input
21+
22+
<img src="/img/modes/modes-1.png" alt="Using slash commands to switch modes" width="400" />
23+
24+
3. **Toggle command/Keyboard shortcut:** Use the keyboard shortcut below, applicable to your operating system. Each press cycles through the available modes in sequence, wrapping back to the first mode after reaching the end.
25+
26+
| Operating System | Shortcut |
27+
|------------------|----------|
28+
| macOS | ⌘ + . |
29+
| Windows | Ctrl + . |
30+
| Linux | Ctrl + . |
31+
32+
4. **Accept suggestions:** Click on mode switch suggestions that Roo offers when appropriate
33+
34+
<img src="/img/modes/modes-2.png" alt="Accepting a mode switch suggestion from Roo" width="400" />
35+
36+
## Built-in Modes
37+
38+
### Code Mode (Default)
39+
40+
| Aspect | Details |
41+
|--------|---------|
42+
| **Description** | A skilled software engineer with expertise in programming languages, design patterns, and best practices |
43+
| **Tool Access** | Full access to all tool groups: `read`, `edit`, `browser`, `command`, `mcp` |
44+
| **Ideal For** | Writing code, implementing features, debugging, and general development |
45+
| **Special Features** | No tool restrictions—full flexibility for all coding tasks |
46+
47+
### Ask Mode
48+
49+
| Aspect | Details |
50+
|--------|---------|
51+
| **Description** | A knowledgeable technical assistant focused on answering questions without changing your codebase |
52+
| **Tool Access** | Limited access: `read`, `browser`, `mcp` only (cannot edit files or run commands) |
53+
| **Ideal For** | Code explanation, concept exploration, and technical learning |
54+
| **Special Features** | Optimized for informative responses without modifying your project |
55+
56+
### Architect Mode
57+
58+
| Aspect | Details |
59+
|--------|---------|
60+
| **Description** | An experienced technical leader and planner who helps design systems and create implementation plans |
61+
| **Tool Access** | Access to `read`, `browser`, `mcp`, and restricted `edit` (markdown files only) |
62+
| **Ideal For** | System design, high-level planning, and architecture discussions |
63+
| **Special Features** | Follows a structured approach from information gathering to detailed planning |
64+
65+
### Debug Mode
66+
67+
| Aspect | Details |
68+
|--------|---------|
69+
| **Description** | An expert problem solver specializing in systematic troubleshooting and diagnostics |
70+
| **Tool Access** | Full access to all tool groups: `read`, `edit`, `browser`, `command`, `mcp` |
71+
| **Ideal For** | Tracking down bugs, diagnosing errors, and resolving complex issues |
72+
| **Special Features** | Uses a methodical approach of analyzing, narrowing possibilities, and fixing issues |
73+
74+
## Custom Modes
75+
76+
Create your own specialized assistants by defining tool access, file permissions, and behavior instructions. Custom modes help enforce team standards or create purpose-specific assistants. See [Custom Modes documentation](../advanced-usage/custom-modes) for setup instructions.

docs/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Open the Roo Code panel (<Codicon name="rocket" />) and type your task in the ch
8585

8686
### What are modes in Roo Code?
8787

88-
[Modes](/basic-usage/modes) are different personas that Roo Code can adopt, each with a specific focus and set of capabilities. The built-in modes are:
88+
[Modes](/basic-usage/using-modes) are different personas that Roo Code can adopt, each with a specific focus and set of capabilities. The built-in modes are:
8989

9090
* **Code:** For general-purpose coding tasks.
9191
* **Architect:** For planning and technical leadership.

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Roo Code (formerly Roo Cline) is an AI-powered autonomous coding agent that live
2424
## Key Features
2525

2626
### Multiple Modes
27-
Roo Code adapts to your needs with specialized [modes](basic-usage/modes):
27+
Roo Code adapts to your needs with specialized [modes](basic-usage/using-modes):
2828
- **Code Mode:** For general-purpose coding tasks
2929
- **Architect Mode:** For planning and technical leadership
3030
- **Ask Mode:** For answering questions and providing information

sidebars.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const sidebars: SidebarsConfig = {
2020
'basic-usage/typing-your-requests',
2121
'basic-usage/how-tools-work',
2222
'basic-usage/context-mentions',
23-
'basic-usage/modes',
23+
'basic-usage/using-modes',
2424
],
2525
},
2626
{

static/img/modes/modes-1.png

32.4 KB
Loading

static/img/modes/modes-2.png

63.9 KB
Loading

static/img/modes/modes.png

47.2 KB
Loading

0 commit comments

Comments
 (0)