You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* slug: A valid slug (lowercase letters, numbers, and hyphens). Must be unique, and shorter is better.
21
21
* name: The display name for the mode
22
22
* roleDefinition: A detailed description of the mode's role and capabilities
23
-
* groups: Array of allowed tool groups (can be empty)
23
+
* groups: Array of allowed tool groups (can be empty). Each group can be specified either as a string (e.g., "edit" to allow editing any file) or with file restrictions (e.g., ["edit", { fileRegex: "\\.md$", description: "Markdown files only" }] to only allow editing markdown files)
24
24
25
25
The customInstructions field is optional.
26
26
@@ -33,7 +33,9 @@ The file should follow this structure:
33
33
"roleDefinition": "You are Roo, a UI/UX expert specializing in design systems and frontend development. Your expertise includes:\n- Creating and maintaining design systems\n- Implementing responsive and accessible web interfaces\n- Working with CSS, HTML, and modern frontend frameworks\n- Ensuring consistent user experiences across platforms", // Required: non-empty
34
34
"groups": [ // Required: array of tool groups (can be empty)
35
35
"read", // Read files group (read_file, search_files, list_files, list_code_definition_names)
36
-
"edit", // Edit files group (write_to_file, apply_diff)
36
+
"edit", // Edit files group (write_to_file, apply_diff) - allows editing any file
37
+
// Or with file restrictions:
38
+
// ["edit", { fileRegex: "\\.md$", description: "Markdown files only" }], // Edit group that only allows editing markdown files
37
39
"browser", // Browser group (browser_action)
38
40
"command", // Command group (execute_command)
39
41
"mcp" // MCP group (use_mcp_tool, access_mcp_resource)
0 commit comments