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
- Use plain object exports instead of `import { defineConfig } from 'remobi'`
which fails when config lives outside a project with remobi installed
- Interview Q5: add inline config shape so agents produce
`{ strategy: 'wheel' }` not bare `'wheel'`
- Add scroll example config
- Add guardrails: no remobi import, scroll is an object not a string
- Add validation error entries for MODULE_NOT_FOUND and scroll shape
Copy file name to clipboardExpand all lines: .agents/skills/remobi-setup/SKILL.md
+26-22Lines changed: 26 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ Ask questions **one at a time** β don't dump a list. Adapt based on what you l
93
93
2.**Do you use popup bindings for tools?** Which ones? (lazygit, yazi, neovim, scratch shell, gh-dash, session picker)
94
94
3.**Detected tools** β "I detected [lazygit/yazi/btm/etc.] on your system. Would you like popup bindings in tmux and matching drawer buttons in remobi for any of these?" Adapt based on Phase 2 detection. For tools not installed, briefly explain what they are and ask if the user wants to install any.
95
95
4.**Custom split bindings?** β Stock tmux uses `%` (vertical) and `"` (horizontal). Some configs remap to `|` and `-`. If custom, the drawer buttons need updated escape codes.
96
-
5.**Do you want touch scrolling?** β `wheel` (default, recommended) sends mouse-wheel events β works in vim, less, htop, and any mouse-aware app. `keys` sends PageUp/PageDown β simpler, works everywhere including plain tmux copy-mode. Which fits your workflow?
96
+
5.**Do you want touch scrolling?** β `wheel` (default, recommended) sends mouse-wheel events β works in vim, less, htop, and any mouse-aware app. `keys` sends PageUp/PageDown β simpler, works everywhere including plain tmux copy-mode. Which fits your workflow? Config shape: `gestures: { scroll: { strategy: 'wheel' } }` or `gestures: { scroll: { strategy: 'keys' } }`.
97
97
6.**Auto-zoom on mobile?** When you open remobi on your phone, should the current pane zoom to full screen automatically?
98
98
7.**Floating zoom button?** A persistent button overlaid on the terminal for one-tap zoom toggle
99
99
8.**Custom theme or Catppuccin Mocha?** (Catppuccin Mocha is the default and looks great β only ask if the user's tmux theme is clearly different)
@@ -104,14 +104,12 @@ Skip questions where you already know the answer from phase 2. Summarise what yo
104
104
105
105
### Phase 4: Generate `remobi.config.ts`
106
106
107
-
Write the config using `defineConfig()`. Only include keys that differ from defaults β omit everything else.
107
+
Export a plain config object β only include keys that differ from defaults, omit everything else. **Do not**`import { defineConfig } from 'remobi'` β the CLI calls `defineConfig()` internally so the config just needs a plain object export.
108
108
109
109
```typescript
110
-
import { defineConfig } from'remobi'
111
-
112
-
exportdefaultdefineConfig({
110
+
exportdefault {
113
111
// Only non-default overrides here
114
-
})
112
+
}
115
113
```
116
114
117
115
After writing, validate:
@@ -387,21 +385,17 @@ For a custom prefix (e.g. Ctrl-A): replace `\x02` with `\x01`.
387
385
### Minimal β default Ctrl-B prefix, custom name only
388
386
389
387
```typescript
390
-
import { defineConfig } from'remobi'
391
-
392
-
exportdefaultdefineConfig({
388
+
exportdefault {
393
389
name: 'dev',
394
-
})
390
+
}
395
391
```
396
392
397
393
### Custom prefix β Ctrl-A (screen/byobu style)
398
394
399
395
Replace the default `tmux-prefix` button and update swipe gestures:
Requires matching tmux bindings (see `references/tmux-basics.md` popup section).
495
495
496
496
## Guardrails
497
497
498
+
-**Do not `import` from `'remobi'`** β the CLI calls `defineConfig()` internally, so configs just export a plain object. Using `import { defineConfig } from 'remobi'` fails when the config lives outside a project with remobi installed.
498
499
-**Never invent root keys.** The validator rejects unknown keys with a path-based error.
499
500
-**Use `drawer.buttons`, never `drawer.commands`** β the latter was renamed and no longer works.
500
501
-**`send` actions require `data`** β omitting it fails validation.
0 commit comments