From 3ef2c6d19815769747b4970b7e4356d18e1af889 Mon Sep 17 00:00:00 2001 From: Kazunari001 <130190029+Kazunari001@users.noreply.github.com> Date: Thu, 31 Jul 2025 10:52:40 +0900 Subject: [PATCH] feat(docs): Add `/init` command in commands.md (#5187) Co-authored-by: saucykazugmail Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com> Co-authored-by: Jacob Richman --- docs/cli/commands.md | 3 +++ 1 file changed, 3 insertions(+) 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.