tanstack-hotkeys
Installation
SKILL.md
TanStack Hotkeys (React)
Type-safe keyboard shortcut management for React. Package: @tanstack/react-hotkeys.
All framework packages re-export everything from @tanstack/hotkeys core — no separate install needed.
Quick Start
import { useHotkey } from '@tanstack/react-hotkeys'
function App() {
useHotkey('Mod+S', () => saveDocument())
return <div>Press Cmd+S (Mac) or Ctrl+S (Windows) to save</div>
}
Mod resolves to Meta (Cmd) on macOS, Control on Windows/Linux.
Related skills
More from fellipeutaka/leon
docker
|
85commit-work
Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.
45clean-code
|
40solid
|
33design-patterns
|
33ai-repo-setup
|
31