Implement custom commands feature allowing users to create reusable slash commands
from markdown files stored in global (~/.kilocode/commands/) or project-specific
(.kilocode/commands/) directories. Commands support argument substitution,
automatic mode/model switching, and YAML frontmatter configuration.
- Add documentation for custom commands in CLI docs
- Implement custom command loading, parsing, and execution logic
- Add comprehensive test suite for custom commands functionality
- Integrate custom commands initialization into the UI startup process
Co-authored-by: Marius <marius@kilocode.ai>
- Add cycleNextModeAtom to cycle through all available modes (default + custom)
- Add Shift+Tab handler in handleGlobalHotkeys
- Update hotkey hints to show Shift+Tab for mode cycling
- Add 4 tests for mode cycling functionality
- Add Keyboard shortcuts section to CLI documentation
- Add changeset for the feature
Add /teams and /teams select commands to the CLI commands reference table at the top of the CLI documentation page. These commands were already documented in the 'Switching into an Organization from the CLI' section but were missing from the quick reference table.