-
Notifications
You must be signed in to change notification settings - Fork 182
docs: enhance documentation for /init command and add reference link … #322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -70,7 +70,8 @@ The filename becomes the command name. For example: | |||||
| When creating commands through the UI, command names are automatically processed: | ||||||
| - Converted to lowercase | ||||||
| - Spaces replaced with dashes | ||||||
| - Special characters removed | ||||||
| - Special characters removed (except dashes) | ||||||
| - Multiple consecutive dashes replaced with single dash | ||||||
| - Leading/trailing dashes removed | ||||||
|
|
||||||
| Example: "My Cool Command!" becomes `my-cool-command` | ||||||
|
|
@@ -125,23 +126,20 @@ Please perform a thorough security review of the selected code: | |||||
|
|
||||||
| --- | ||||||
|
|
||||||
| ## Command Management UI | ||||||
| ## Command Management | ||||||
|
|
||||||
| Roo Code provides a dedicated UI for managing custom commands. | ||||||
|
|
||||||
| <img src="/img/slash-commands/slash-commands-4.png" alt="Accessing the command manager from Roo Code panel" width="600" /> | ||||||
|
|
||||||
| *Click the commands icon in the Roo Code panel to open the command manager* | ||||||
| Roo Code provides multiple ways to manage custom commands. | ||||||
|
|
||||||
| **Creating a New Command:** | ||||||
|
|
||||||
| 1. Type your command name in the input field (e.g., "Sample command name") | ||||||
| 2. Click the `+` button to create the command | ||||||
| 1. Type `/` in the chat to open the slash command menu | ||||||
| 2. Type your command name in the input field (e.g., "Sample command name") | ||||||
| 3. Click the `+` button to create the command | ||||||
|
|
||||||
| <img src="/img/slash-commands/slash-commands-1.png" alt="Custom Commands Management Interface" width="400" /> | ||||||
|
|
||||||
|
|
||||||
| 3. A new file will be created and opened automatically (e.g., `sample-command-name.md`) | ||||||
| 4. A new file will be created and opened automatically (e.g., `sample-command-name.md`) | ||||||
| 5. The file will contain template content to help you get started | ||||||
|
|
||||||
| <img src="/img/slash-commands/slash-commands-2.png" alt="Creating a new command by typing name and clicking plus button" width="600" /> | ||||||
|
|
||||||
|
|
@@ -150,16 +148,15 @@ Roo Code provides a dedicated UI for managing custom commands. | |||||
|
|
||||||
| ## Using Slash Commands | ||||||
|
|
||||||
| Type `/` in the chat to see a unified menu containing both types of commands. The menu shows both custom workflow commands and mode-switching commands in the same interface. | ||||||
| Type `/` in the chat to see a unified menu containing all available commands. The menu shows custom workflow commands, mode-switching commands, and built-in commands in the same interface. | ||||||
|
|
||||||
| <img src="/img/slash-commands/slash-commands-3.png" alt="Newly created command file opened in editor" width="600" /> | ||||||
|
|
||||||
|
|
||||||
| 1. **Unified Menu**: Both custom commands and mode-switching commands appear together | ||||||
| 1. **Unified Menu**: All command types appear together | ||||||
| 2. **Autocomplete**: Start typing to filter commands (e.g., `/sam` shows `sample-command-name`) | ||||||
| 3. **Fuzzy Search**: Find commands even with partial matches | ||||||
| 3. **Basic Filtering**: Find commands with text matching | ||||||
|
||||||
| 3. **Basic Filtering**: Find commands with text matching | |
| 3. **Basic Filtering**: Find commands by text matching |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The phrase 'single dash' should be 'a single dash' for proper grammar.