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
[fix] Make agent file installation opt-in on rimba init (#69)
* [fix] Replace non-existent `rimba cd` with `rimba open` in agent files
The generated agent instruction files referenced `rimba cd`, which was
never a real command. Replace all occurrences with `rimba open` in the
template source (content.go) and regenerated outputs. Also update the
`rimba init` docs to mention agent file installation.
* [fix] Make agent file installation opt-in via --agent-files flag
rimba init no longer installs AI agent instruction files by default.
Users must pass --agent-files to opt in.
Short: "Initialize rimba in the current repository",
22
-
Long: "Detects the repository root, creates a .rimba.toml config file, sets up the worktree directory, and installs agent instruction files.",
25
+
Long: "Detects the repository root, creates a .rimba.toml config file, and sets up the worktree directory. Use --agent-files to also install AI agent instruction files.",
Copy file name to clipboardExpand all lines: docs/commands.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,12 +19,19 @@ These flags are available on every command via the root `rimba` command:
19
19
20
20
### rimba init
21
21
22
-
Initialize rimba in the current repository. Detects the repo root, creates `.rimba.toml`, and sets up the worktree directory.
22
+
Initialize rimba in the current repository. Detects the repo root, creates `.rimba.toml`, and sets up the worktree directory. Use `--agent-files` to also install AI agent instruction files (`AGENTS.md`, `.github/copilot-instructions.md`, `.cursor/rules/rimba.mdc`, `.claude/skills/rimba/SKILL.md`).
23
+
24
+
If `.rimba.toml` already exists, config creation is skipped but agent files are still installed or updated when `--agent-files` is passed.
23
25
24
26
```sh
25
-
rimba init
27
+
rimba init # Initialize config and worktree directory
28
+
rimba init --agent-files # Also install AI agent instruction files
0 commit comments