hotkey
Add or edit LobeHub keyboard shortcuts. Use for HotkeyEnum, HOTKEYS_REGISTRATION, combineKeys, useHotkeyById, tooltip hotkeys, shortcut scope, conflicts, or Cmd/Ctrl key combos.
Install
git clone https://github.com/lobehub/lobehub /tmp/lobehub && ln -s /tmp/lobehub/.agents/skills/hotkey ~/.claude/skills/hotkey
From README
Adding Keyboard Shortcuts Guide Steps to Add a New Hotkey Update Hotkey Constant In src/types/hotkey.ts: Register Default Hotkey In src/const/hotkeys.ts: Add i18n Translation In packages/locales/src/default/hotkey.ts: Create and Register Hook In src/hooks/useHotkeys/chatScope.ts: Add Tooltip (Optional) Best Practices Scope: Choose global or chat scope based on functionality Grouping: Place in appropriate group (System/Layout/Conversation) Conflict check: Ensure no conflict with system/browser shortcuts Platform: Use Key.Mod instead of hardcoded Ctrl or Cmd Clear description: Provide title and description for users Troubleshooting Not working: Check scope and RegisterHotkeys hook Not in settings: Verify HOTKEYS\REGISTRATION config Conflict: HotkeyInput component shows warnings Page-specific: Ensure correct scope activation
More from this repo
add-provider-doc
Used to add documentation for a new AI provider — usage docs, env vars, Docker config, image resources.
full-text-search
LobeHub product full-text search architecture and operations.
testing-heterogeneous-agents
Manually runs the live LobeHub official-provider compatibility matrix across Claude Code, Codex, Grok Build, Kimi Code,...
