If you're adding keyboard shortcuts to a LobeHub chat app, this walks you through the five-step pattern: declare the enum in HotkeyEnum, register it in HOTKEYS_REGISTRATION with combineKeys, add i18n translations, wire up the useHotkeyById hook, and optionally surface it in a tooltip. It covers scoping (chat vs global), cross-platform key mapping with Key.Mod, and conflict checking. The guide is clearly written for a specific codebase structure, so it's most useful if you're working in that architecture or adapting something similar. Nice that it includes troubleshooting for common issues like scope mismatches and registration problems.
npx skills add https://github.com/lobehub/lobehub --skill hotkey