diff --git a/docs/cli/commands.md b/docs/cli/commands.md index 50d18de4..d5072ab3 100644 --- a/docs/cli/commands.md +++ b/docs/cli/commands.md @@ -111,6 +111,9 @@ Slash commands provide meta-level control over the CLI itself. - **Persistent setting:** Vim mode preference is saved to `~/.gemini/settings.json` and restored between sessions - **Status indicator:** When enabled, shows `[NORMAL]` or `[INSERT]` in the footer +- **`/init`** + - **Description:** To help users easily create a `GEMINI.md` file, this command analyzes the current directory and generates a tailored context file, making it simpler for them to provide project-specific instructions to the Gemini agent. + ### Custom Commands For a quick start, see the [example](#example-a-pure-function-refactoring-command) below.